Skip to content
Permalink
Browse files

[themes] Also provide checkbox styling for list view widgets

  • Loading branch information
nirvn committed Jul 9, 2020
1 parent ba5a857 commit 167b71819da44b3eccb2d39675cdaef7a0875b32
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 167b718

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