mirror of https://github.com/saitohirga/WSJT-X.git
Fix item hover state if the parent widget does not
have focus
This commit is contained in:
parent
5b862e6e4c
commit
27b815a767
|
@ -834,19 +834,25 @@ QTreeView::branch:open:has-children:has-siblings:hover {
|
||||||
image: url(:/qss_icons/rc/branch_open-on.png);
|
image: url(:/qss_icons/rc/branch_open-on.png);
|
||||||
}
|
}
|
||||||
|
|
||||||
QListView::item:hover, QTreeView::item:hover {
|
QListView::item:!selected:hover, QListView::item:!selected:hover, QTreeView::item:!selected:hover {
|
||||||
background: none;
|
background: rgba(0, 0, 0, 0);
|
||||||
|
outline: 0;
|
||||||
color: #FFFFFF
|
color: #FFFFFF
|
||||||
}
|
}
|
||||||
|
|
||||||
|
QListView::item:selected:hover, QListView::item:selected:hover, QTreeView::item:selected:hover {
|
||||||
|
background: #78879b;;
|
||||||
|
color: #FFFFFF;
|
||||||
|
}
|
||||||
|
|
||||||
QTableView::item:pressed, QListView::item:pressed, QTreeView::item:pressed {
|
QTableView::item:pressed, QListView::item:pressed, QTreeView::item:pressed {
|
||||||
background: #78879b;;
|
background: #78879b;;
|
||||||
color: #FFFFFF
|
color: #FFFFFF;
|
||||||
}
|
}
|
||||||
|
|
||||||
QTableView::item:selected:active, QTreeView::item:selected:active, QListView::item:selected:active {
|
QTableView::item:selected:active, QTreeView::item:selected:active, QListView::item:selected:active {
|
||||||
background: #78879b;;
|
background: #78879b;;
|
||||||
color: #FFFFFF
|
color: #FFFFFF;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue