Skip to content
Permalink
Browse files
[themes] Fix missing disabled state for {check/radio/group}box
  • Loading branch information
nirvn authored and nyalldawson committed May 9, 2019
1 parent ed49b57 commit b054222
Show file tree
Hide file tree
Showing 5 changed files with 46 additions and 10 deletions.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@@ -534,6 +534,10 @@ QGroupBox::title {
color: @textlight;
}

QGroupBox::title:disabled {
color: @itemdarkbackground;
}

QGroupBox::indicator {
width: 0.9em;
height: 0.9em;
@@ -544,45 +548,73 @@ QGroupBox::indicator:unchecked {
image: url(@theme_path/icons/qcheckbox-unchecked.svg);
}

QGroupBox::indicator:unchecked:disabled {
image: url(@theme_path/icons/qcheckbox-unchecked-disabled.svg);
}

QGroupBox::indicator:checked {
border: 1px solid @background;
image: url(@theme_path/icons/qcheckbox-checked.svg);
}

QGroupBox::indicator:checked:disabled {
image: url(@theme_path/icons/qcheckbox-checked-disabled.svg);
}

/* ==================================================================================== */
/* RADIO BUTTON */
/* ==================================================================================== */

QRadioButton::indicator:unchecked {
QRadioButton::indicator
{
border: 1px solid @background;
image: url(@theme_path/icons/qradiobox-unchecked.svg);
width:0.8em;
height:0.8em;
}

QRadioButton::indicator:unchecked
{
image: url(@theme_path/icons/qradiobox-unchecked.svg);
}

QRadioButton::indicator:unchecked:disabled
{
image: url(@theme_path/icons/qradiobox-unchecked-disabled.svg);
}

QRadioButton::indicator:checked {
border: 1px solid @background;
image: url(@theme_path/icons/qradiobox-checked.svg);
width:0.8em;
height:0.8em;
}

QRadioButton::indicator:checked:disabled {
image: url(@theme_path/icons/qradiobox-checked-disabled.svg);
}

/* ==================================================================================== */
/* CHECKBOX */
/* ==================================================================================== */

QCheckBox::indicator:unchecked {
QCheckBox::indicator
{
border: 1px solid @background;
image: url(@theme_path/icons/qcheckbox-unchecked.svg);
width:0.8em;
height:0.8em;
}

QCheckBox::indicator:unchecked {
image: url(@theme_path/icons/qcheckbox-unchecked.svg);
}

QCheckBox::indicator:unchecked:disabled {
image: url(@theme_path/icons/qcheckbox-unchecked-disabled.svg);
}

QCheckBox::indicator:checked {
border: 1px solid @background;
image: url(@theme_path/icons/qcheckbox-checked.svg);
width:0.8em;
height:0.8em;
}

QCheckBox::indicator:checked:disabled {
image: url(@theme_path/icons/qcheckbox-checked-disabled.svg);
}

/* ==================================================================================== */

0 comments on commit b054222

Please sign in to comment.