mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-22 14:55:36 +08:00
Improved treeview representation
This commit is contained in:
@@ -220,7 +220,11 @@
|
||||
<number>0</number>
|
||||
</property>
|
||||
<item>
|
||||
<widget class="QTreeView" name="tvp_AtcStationsOnlineTree"/>
|
||||
<widget class="QTreeView" name="tvp_AtcStationsOnlineTree">
|
||||
<attribute name="headerVisible">
|
||||
<bool>false</bool>
|
||||
</attribute>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
|
||||
@@ -467,6 +467,28 @@ QTableView, QTreeView, QListView {
|
||||
padding:0px;
|
||||
}
|
||||
|
||||
QTreeView {
|
||||
show-decoration-selected: 1;
|
||||
}
|
||||
|
||||
QTreeView::item {
|
||||
border: 0px;
|
||||
padding: 2px 2px 2px 2px;
|
||||
}
|
||||
|
||||
QTreeView::item:hover {
|
||||
background: blue;
|
||||
border: 1px solid #bfcde4;
|
||||
}
|
||||
|
||||
QTreeView::branch:open:has-children {
|
||||
image: url(:/diagona/icons/diagona/icons/toggle.png);
|
||||
}
|
||||
|
||||
QTreeView::branch:closed:has-children {
|
||||
image: url(:/diagona/icons/diagona/icons/toggle-expand.png);
|
||||
}
|
||||
|
||||
QSlider::groove:horizontal {
|
||||
border: 1px solid gray;
|
||||
height: 4px; /* the groove expands to the size of the slider by default. by giving it a height, it has a fixed size */
|
||||
|
||||
Reference in New Issue
Block a user