mirror of https://github.com/saitohirga/WSJT-X.git
Dark theme for checkboxes in QListView and QTreeView (#65)
Dark theme now applies to the checkboxes in QListView and QTreeView
This commit is contained in:
parent
dfba95f89b
commit
497522cca7
|
@ -799,7 +799,7 @@ QTabBar::tab:top:!selected
|
|||
border: 1px solid #76797C;
|
||||
border-bottom: 1px transparent black;
|
||||
border-top-left-radius: 2px;
|
||||
border-top-right-radius: 2px;
|
||||
border-top-right-radius: 2px;
|
||||
}
|
||||
|
||||
QTabBar::tab:top:!selected:hover {
|
||||
|
@ -978,6 +978,36 @@ QListView::item:selected:hover, QTreeView::item:selected:hover {
|
|||
color: #eff0f1;
|
||||
}
|
||||
|
||||
QTreeView::indicator:checked, QListView::indicator:checked
|
||||
{
|
||||
image: url(:/qss_icons/rc/checkbox_checked.png);
|
||||
}
|
||||
|
||||
QTreeView::indicator:checked, QListView::indicator:checked
|
||||
{
|
||||
image: url(:/qss_icons/rc/checkbox_unchecked.png);
|
||||
}
|
||||
|
||||
QTreeView::indicator:checked:hover,
|
||||
QTreeView::indicator:checked:focus,
|
||||
QTreeView::indicator:checked:pressed,
|
||||
QListView::indicator:checked:hover,
|
||||
QListView::indicator:checked:focus,
|
||||
QListView::indicator:checked:pressed
|
||||
{
|
||||
image: url(:/qss_icons/rc/checkbox_checked_focus.png);
|
||||
}
|
||||
|
||||
QTreeView::indicator:unchecked:hover,
|
||||
QTreeView::indicator:unchecked:focus,
|
||||
QTreeView::indicator:unchecked:pressed,
|
||||
QListView::indicator:unchecked:hover,
|
||||
QListView::indicator:unchecked:focus,
|
||||
QListView::indicator:unchecked:pressed
|
||||
{
|
||||
image: url(:/qss_icons/rc/checkbox_unchecked_focus.png);
|
||||
}
|
||||
|
||||
QSlider::groove:horizontal {
|
||||
border: 1px solid #565a5e;
|
||||
height: 4px;
|
||||
|
|
Loading…
Reference in New Issue