mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2025-05-28 20:32:28 -04:00
Merge pull request #16 from blurstudio/Checkable
Adding various checkable options
This commit is contained in:
commit
712e4d8e7b
BIN
qdarkstyle/rc/checkbox_indeterminate.png
Normal file
BIN
qdarkstyle/rc/checkbox_indeterminate.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.9 KiB |
@ -20,6 +20,7 @@
|
|||||||
<file>rc/left_arrow_disabled.png</file>
|
<file>rc/left_arrow_disabled.png</file>
|
||||||
<file>rc/Hsepartoolbar.png</file>
|
<file>rc/Hsepartoolbar.png</file>
|
||||||
<file>rc/checkbox.png</file>
|
<file>rc/checkbox.png</file>
|
||||||
|
<file>rc/checkbox_indeterminate.png</file>
|
||||||
<file>rc/branch_open.png</file>
|
<file>rc/branch_open.png</file>
|
||||||
<file>rc/Vsepartoolbar.png</file>
|
<file>rc/Vsepartoolbar.png</file>
|
||||||
<file>rc/down_arrow_disabled.png</file>
|
<file>rc/down_arrow_disabled.png</file>
|
||||||
|
@ -397,10 +397,13 @@ QCheckBox, QRadioButton
|
|||||||
outline: none;
|
outline: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
QCheckBox::indicator{
|
QCheckBox::indicator, QGroupBox::indicator, QMenu::indicator:non-exclusive{
|
||||||
color: #b1b1b1;
|
color: #b1b1b1;
|
||||||
background-color: #302F2F;
|
background-color: #302F2F;
|
||||||
border: 1px solid silver;
|
border: 1px solid silver;
|
||||||
|
}
|
||||||
|
|
||||||
|
QCheckBox::indicator, QMenu::indicator:non-exclusive{
|
||||||
width: 9px;
|
width: 9px;
|
||||||
height: 9px;
|
height: 9px;
|
||||||
}
|
}
|
||||||
@ -422,7 +425,7 @@ QRadioButton::indicator:hover, QCheckBox::indicator:hover
|
|||||||
border: 1px solid #78879b;
|
border: 1px solid #78879b;
|
||||||
}
|
}
|
||||||
|
|
||||||
QCheckBox::indicator:checked
|
QCheckBox::indicator:checked, QGroupBox::indicator:checked, QMenu::indicator:non-exclusive:checked
|
||||||
{
|
{
|
||||||
image:url(:/qss_icons/rc/checkbox.png);
|
image:url(:/qss_icons/rc/checkbox.png);
|
||||||
}
|
}
|
||||||
@ -432,6 +435,10 @@ QCheckBox::indicator:disabled, QRadioButton::indicator:disabled
|
|||||||
border: 1px solid #444;
|
border: 1px solid #444;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
QCheckBox::indicator:indeterminate {
|
||||||
|
image: url(:/qss_icons/rc/checkbox_indeterminate.png);
|
||||||
|
}
|
||||||
|
|
||||||
QFrame
|
QFrame
|
||||||
{
|
{
|
||||||
border-radius: 3px;
|
border-radius: 3px;
|
||||||
@ -896,7 +903,7 @@ QToolButton {
|
|||||||
margin: 3px;
|
margin: 3px;
|
||||||
}
|
}
|
||||||
|
|
||||||
QToolButton:pressed, QToolButton::menu-button:pressed {
|
QToolButton:pressed, QToolButton::menu-button:pressed, QToolButton:checked, QToolButton::menu-button:checked {
|
||||||
background-color: #4A4949;
|
background-color: #4A4949;
|
||||||
border: 1px solid silver;
|
border: 1px solid silver;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user