refs #617, QTreeView style (sheet) adjustments

This commit is contained in:
Klaus Basan
2017-02-04 00:53:02 +01:00
committed by Mathew Sutcliffe
parent 74d608b5df
commit 6ba1586a7d
4 changed files with 18 additions and 11 deletions

View File

@@ -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>

View File

@@ -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>

View File

@@ -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 {

View File

@@ -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);
}