Skip to content
Permalink
Browse files

[themes] Also provide checkbox styling for list view widgets

(cherry picked from commit 167b718)
  • Loading branch information
nirvn authored and nyalldawson committed Jul 21, 2020
1 parent aca6b99 commit e5f3a5302b8cd5c5b4181d72157976196225afd6
Showing with 15 additions and 0 deletions.
  1. +6 −0 resources/themes/Blend of Gray/style.qss
  2. +9 −0 resources/themes/Night Mapping/style.qss
@@ -758,6 +758,12 @@ QAbstractItemView::selected, QListView::selected {
outline: none;
}

QAbstractItemView::indicator:checked, QListView::indicator:checked {
image: url(@theme_path/icons/qcheckbox-checked.svg) !important;
}
QAbstractItemView::indicator:unchecked, QListView::indicator:unchecked {
image: url(@theme_path/icons/qcheckbox-unchecked.svg);
}

/* ==================================================================================== */
/* TREE VIEW */
@@ -762,6 +762,15 @@ QAbstractItemView::selected, QListView::selected {
outline: none;
}

QAbstractItemView::indicator:checked, QListView::indicator:checked {
border: 1px solid @background;
image: url(@theme_path/icons/qcheckbox-checked.svg) !important;
}
QAbstractItemView::indicator:unchecked, QListView::indicator:unchecked {
border: 1px solid @background;
image: url(@theme_path/icons/qcheckbox-unchecked.svg);
}

/* ==================================================================================== */
/* TREE VIEW */
/* ==================================================================================== */

0 comments on commit e5f3a53

Please sign in to comment.
You can’t perform that action at this time.