mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-30 11:55:35 +08:00
refs #617, QTreeView style (sheet) adjustments
This commit is contained in:
committed by
Mathew Sutcliffe
parent
74d608b5df
commit
6ba1586a7d
@@ -14,7 +14,7 @@
|
||||
<string>ATC stations</string>
|
||||
</property>
|
||||
<property name="currentIndex">
|
||||
<number>0</number>
|
||||
<number>1</number>
|
||||
</property>
|
||||
<widget class="QWidget" name="tb_AtcStationsOnline">
|
||||
<attribute name="title">
|
||||
@@ -231,6 +231,12 @@
|
||||
</property>
|
||||
<item>
|
||||
<widget class="QTreeView" name="tvp_AtcStationsOnlineTree">
|
||||
<property name="selectionMode">
|
||||
<enum>QAbstractItemView::NoSelection</enum>
|
||||
</property>
|
||||
<property name="animated">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<attribute name="headerVisible">
|
||||
<bool>false</bool>
|
||||
</attribute>
|
||||
|
||||
@@ -125,6 +125,9 @@
|
||||
<layout class="QGridLayout" name="gridLayout_3">
|
||||
<item row="0" column="0">
|
||||
<widget class="QTreeView" name="tv_Actions">
|
||||
<property name="animated">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<attribute name="headerVisible">
|
||||
<bool>false</bool>
|
||||
</attribute>
|
||||
|
||||
@@ -164,6 +164,7 @@ QPushButton::disabled {
|
||||
color: white;
|
||||
padding: 0px;
|
||||
margin-right: 5px;
|
||||
qproperty-textElideMode: ElideMiddle;
|
||||
}
|
||||
|
||||
QProgressBar {
|
||||
@@ -271,6 +272,8 @@ QGroupBox {
|
||||
border: 1px solid green;
|
||||
margin-top: 2.5ex; /* leave space at the top for the title */
|
||||
border-radius: 5px;
|
||||
background: black; /* background is background color here */
|
||||
background-image: url(:/textures/icons/textures/texture-inner.jpg);
|
||||
}
|
||||
|
||||
QGroupBox::title {
|
||||
@@ -530,8 +533,11 @@ QTreeView::item {
|
||||
}
|
||||
|
||||
QTreeView::item:hover {
|
||||
background: green;
|
||||
}
|
||||
|
||||
QTreeView::item:selected {
|
||||
background: blue;
|
||||
border: 1px solid #bfcde4;
|
||||
}
|
||||
|
||||
QTreeView::branch:open:has-children {
|
||||
|
||||
@@ -132,14 +132,6 @@ QAbstractScrollArea #pg_StatusPageCons ole { background-color: black; }
|
||||
border-radius: 5px;
|
||||
}
|
||||
|
||||
#gb_hotkey {
|
||||
background-image: url(:/textures/icons/textures/texture-inner.jpg);
|
||||
}
|
||||
|
||||
#gb_action {
|
||||
background-image: url(:/textures/icons/textures/texture-inner.jpg);
|
||||
}
|
||||
|
||||
#gb_machine {
|
||||
#gb_hotkey #gb_action #gb_machine {
|
||||
background-image: url(:/textures/icons/textures/texture-inner.jpg);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user