Ref T573, allow different color in XPDR mode component from stylesheet

* changed signal to trigger reload of stylesheet (only way to update dynamic properties)
* made infobar left aligned (and not spacer aligned), better scaling
* adjusted qss
This commit is contained in:
Klaus Basan
2019-03-19 19:03:21 +01:00
committed by Mat Sutcliffe
parent 22d67d31a4
commit e463689490
9 changed files with 44 additions and 17 deletions

View File

@@ -2,6 +2,14 @@
<ui version="4.0">
<class>CInfoBarStatusComponent</class>
<widget class="QFrame" name="CInfoBarStatusComponent">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>201</width>
<height>20</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>0</width>
@@ -153,19 +161,6 @@
<item alignment="Qt::AlignLeft">
<widget class="BlackGui::CLedWidget" name="led_Audio" native="true"/>
</item>
<item>
<spacer name="hs_StatusComponent">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
<customwidgets>