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