@@ -900,9 +900,18 @@ QAbstractItemView::indicator:checked, QListView::indicator:checked {
900
900
border: 1px solid @background;
901
901
image: url(@theme_path/icons/qcheckbox-checked.svg) !important;
902
902
}
903
+ QAbstractItemView::indicator:checked:disabled, QListView::indicator:checked:disabled {
904
+ image: url(@theme_path/icons/qcheckbox-checked.svg);
905
+ border-color: @itemdarkbackground;
906
+ background-color: rgba(0, 0, 0, 0);
907
+ }
903
908
QAbstractItemView::indicator:unchecked, QListView::indicator:unchecked {
904
909
border: 1px solid @background;
905
- image: url(@theme_path/icons/qcheckbox-unchecked.svg);
910
+ }
911
+ QAbstractItemView::indicator:unchecked:disabled, QListView::indicator:unchecked:disabled {
912
+ border-color: @itemdarkbackground;
913
+ background-color: rgba(0, 0, 0, 0);
914
+ background-color: rgba(0, 0, 0, 0);
906
915
}
907
916
908
917
/* ==================================================================================== */
@@ -946,6 +955,10 @@ QTreeView::indicator {
946
955
width:0.8em;
947
956
height:0.8em;
948
957
}
958
+ QTreeView::indicator:disabled {
959
+ border-color: @itemdarkbackground;
960
+ background-color: rgba(0, 0, 0, 0);
961
+ }
949
962
QTreeView::indicator:intermediary {
950
963
background-color: @toggleoff;
951
964
image: url(@theme_path/icons/qcheckbox-intermediary.svg);
@@ -954,10 +967,21 @@ QTreeView::indicator:checked {
954
967
background-color: @toggleon;
955
968
image: url(@theme_path/icons/qcheckbox-checked.svg) !important;
956
969
}
970
+ QTreeView::indicator:checked:disabled {
971
+ image: url(@theme_path/icons/qcheckbox-checked.svg);
972
+ border-color: @itemdarkbackground;
973
+ background-color: rgba(0, 0, 0, 0);
974
+ }
957
975
QTreeView::indicator:unchecked {
958
976
background-color: @toggleoff;
959
- image: url(@theme_path/icons/qcheckbox-unchecked.svg) ;
977
+ image: none ;
960
978
}
979
+ QTreeView::indicator:unchecked:disabled {
980
+ border-color: @itemdarkbackground;
981
+ background-color: rgba(0, 0, 0, 0);
982
+ image: none;
983
+ }
984
+
961
985
962
986
QgsLayerTreeView::item,
963
987
QTreeView#viewGraduated::item,
@@ -1029,6 +1053,10 @@ QTableView::indicator {
1029
1053
width:0.8em;
1030
1054
height:0.8em;
1031
1055
}
1056
+ QTableView::indicator:disabled {
1057
+ border-color: @itemdarkbackground;
1058
+ background-color: rgba(0, 0, 0, 0);
1059
+ }
1032
1060
QTableView::indicator:intermediary {
1033
1061
background-color: @toggleoff;
1034
1062
image: url(@theme_path/icons/qcheckbox-intermediary.svg);
@@ -1037,9 +1065,19 @@ QTableView::indicator:checked {
1037
1065
background-color: @toggleon;
1038
1066
image: url(@theme_path/icons/qcheckbox-checked.svg) !important;
1039
1067
}
1068
+ QTableView::indicator:checked:disabled {
1069
+ image: url(@theme_path/icons/qcheckbox-checked.svg);
1070
+ border-color: @itemdarkbackground;
1071
+ background-color: rgba(0, 0, 0, 0);
1072
+ }
1040
1073
QTableView::indicator:unchecked {
1041
1074
background-color: @toggleoff;
1042
- image: url(@theme_path/icons/qcheckbox-unchecked.svg);
1075
+ image: none;
1076
+ }
1077
+ QTableView::indicator:unchecked:disabled {
1078
+ border-color: @itemdarkbackground;
1079
+ background-color: rgba(0, 0, 0, 0);
1080
+ image: none;
1043
1081
}
1044
1082
1045
1083
QTableView QTableCornerButton::section {
0 commit comments