update Random Tab UI

This commit is contained in:
WarmUpTill
2020-10-14 21:46:35 +02:00
parent 8ecc197805
commit abab9f70b5
6 changed files with 131 additions and 205 deletions

View File

@@ -2546,81 +2546,14 @@
</attribute>
<layout class="QVBoxLayout" name="verticalLayout_8">
<item>
<layout class="QHBoxLayout" name="horizontalLayout_2">
<item>
<widget class="QLabel" name="label_42">
<property name="text">
<string>If no switch condition is met switch to </string>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="randomScenes">
<property name="sizePolicy">
<sizepolicy hsizetype="Maximum" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>100</width>
<height>0</height>
</size>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="label_43">
<property name="text">
<string>using the</string>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="randomTransitions"/>
</item>
<item>
<widget class="QLabel" name="label_41">
<property name="text">
<string>transition for a duration of</string>
</property>
</widget>
</item>
<item>
<widget class="QDoubleSpinBox" name="randomSpinBox">
<property name="suffix">
<string>s</string>
</property>
<property name="maximum">
<double>999999999.990000009536743</double>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="label_14">
<property name="text">
<string>or any of the options below:</string>
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer_36">
<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 class="QLabel" name="randomDisabledWarning">
<property name="text">
<string>Functionality disabled - To activate select &quot;If no switch condition is met switch to any scene in Random tab&quot; on General tab</string>
</property>
</widget>
</item>
<item>
<widget class="QListWidget" name="randomScenesList">
<widget class="QListWidget" name="randomSwitches">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
<horstretch>0</horstretch>
@@ -2628,7 +2561,7 @@
</sizepolicy>
</property>
<property name="sortingEnabled">
<bool>true</bool>
<bool>false</bool>
</property>
</widget>
</item>