mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-23 22:15:37 +08:00
Improved treeview representation
This commit is contained in:
@@ -220,7 +220,11 @@
|
|||||||
<number>0</number>
|
<number>0</number>
|
||||||
</property>
|
</property>
|
||||||
<item>
|
<item>
|
||||||
<widget class="QTreeView" name="tvp_AtcStationsOnlineTree"/>
|
<widget class="QTreeView" name="tvp_AtcStationsOnlineTree">
|
||||||
|
<attribute name="headerVisible">
|
||||||
|
<bool>false</bool>
|
||||||
|
</attribute>
|
||||||
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
</layout>
|
</layout>
|
||||||
</widget>
|
</widget>
|
||||||
|
|||||||
@@ -467,6 +467,28 @@ QTableView, QTreeView, QListView {
|
|||||||
padding:0px;
|
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 {
|
QSlider::groove:horizontal {
|
||||||
border: 1px solid gray;
|
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 */
|
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