#6611 Fix check box in table views

This commit is contained in:
Gaute Lindkvist 2020-09-28 11:18:32 +02:00
parent c1c4c31871
commit 0b4864849e

View File

@ -24,36 +24,36 @@ $plotGridColor: #394046; // Plot grid color
$auxiliaryCurveColor: #000000; // Auxiliary curve color $auxiliaryCurveColor: #000000; // Auxiliary curve color
$externalInputColor: #e82257; // External input background color $externalInputColor: #e82257; // External input background color
QCheckBox::indicator:unchecked QCheckBox::indicator:unchecked, QTreeView::indicator:unchecked, QTableView::indicator:unchecked
{ {
background-color: $backgroundColor1; background-color: $backgroundColor1;
image: url(:/themes/dark/checkbox-unchecked-20x20.png); image: url(:/themes/dark/checkbox-unchecked-20x20.png);
} }
QCheckBox::indicator:checked QCheckBox::indicator:checked, QTreeView::indicator:checked, QTableView::indicator:checked
{ {
background-color: $backgroundColor1; background-color: $backgroundColor1;
image: url(:/themes/dark/checkbox-checked-20x20.png); image: url(:/themes/dark/checkbox-checked-20x20.png);
} }
QCheckBox::indicator:indeterminate QCheckBox::indicator:indeterminate, QTreeView::indicator:indeterminate, QTableView::indicator:indeterminate
{ {
background-color: $backgroundColor1; background-color: $backgroundColor1;
image: url(:/themes/dark/checkbox-indeterminate-20x20.png); image: url(:/themes/dark/checkbox-indeterminate-20x20.png);
} }
QCheckBox::indicator:unchecked:disabled QCheckBox::indicator:unchecked:disabled, QTreeView::indicator:unchecked:disabled, QTableView::indicator:unchecked:disabled
{ {
background-color: $backgroundColor1; background-color: $backgroundColor1;
image: url(:/themes/dark/checkbox-unchecked-disabled-20x20.png); image: url(:/themes/dark/checkbox-unchecked-disabled-20x20.png);
} }
QCheckBox::indicator:checked:disabled QCheckBox::indicator:checked:disabled, QTreeView::indicator:checked:disabled, QTableView::indicator:checked:disabled
{ {
background-color: $backgroundColor1; background-color: $backgroundColor1;
image: url(:/themes/dark/checkbox-checked-disabled-20x20.png); image: url(:/themes/dark/checkbox-checked-disabled-20x20.png);
} }
QCheckBox::indicator:indeterminate:disabled QCheckBox::indicator:indeterminate:disabled, QTreeView::indicator:indeterminate:disabled, QTableView::indicator:indeterminate:disabled
{ {
background-color: $backgroundColor1; background-color: $backgroundColor1;
image: url(:/themes/dark/checkbox-indeterminate-disabled-20x20.png); image: url(:/themes/dark/checkbox-indeterminate-disabled-20x20.png);
@ -186,42 +186,6 @@ QTreeView::branch:open:has-children:has-siblings {
icon-size: 12px; icon-size: 12px;
} }
QTreeView::indicator:unchecked
{
background-color: $backgroundColor1;
image: url(:/themes/dark/checkbox-unchecked-20x20.png);
}
QTreeView::indicator:checked
{
background-color: $backgroundColor1;
image: url(:/themes/dark/checkbox-checked-20x20.png);
}
QTreeView::indicator:indeterminate
{
background-color: $backgroundColor1;
image: url(:/themes/dark/checkbox-indeterminate-20x20.png);
}
QTreeView::indicator:unchecked:disabled
{
background-color: $backgroundColor1;
image: url(:/themes/dark/checkbox-unchecked-disabled-20x20.png);
}
QTreeView::indicator:checked:disabled
{
background-color: $backgroundColor1;
image: url(:/themes/dark/checkbox-checked-disabled-20x20.png);
}
QTreeView::indicator:indeterminate:disabled
{
background-color: $backgroundColor1;
image: url(:/themes/dark/checkbox-indeterminate-disabled-20x20.png);
}
QDockWidget { QDockWidget {
background-color: $mainBackgroundColor; background-color: $mainBackgroundColor;
titlebar-close-icon: url(:/themes/dark/blank.svg); titlebar-close-icon: url(:/themes/dark/blank.svg);