UI tweaks

This commit is contained in:
Roberto Alsina 2020-02-01 16:12:05 -03:00
parent f065c99ff8
commit 24d21e1a18

415
main.ui
View File

@ -18,207 +18,246 @@
<widget class="QGraphicsView" name="sceneView"/> <widget class="QGraphicsView" name="sceneView"/>
</item> </item>
<item> <item>
<layout class="QFormLayout" name="formLayout"> <layout class="QHBoxLayout" name="horizontalLayout_4">
<item row="0" column="0"> <item>
<widget class="QLabel" name="label"> <spacer name="horizontalSpacer_5">
<property name="text"> <property name="orientation">
<string>Monitor:</string> <enum>Qt::Horizontal</enum>
</property> </property>
</widget> <property name="sizeType">
</item> <enum>QSizePolicy::MinimumExpanding</enum>
<item row="0" column="1">
<widget class="QComboBox" name="screenCombo">
<property name="sizeAdjustPolicy">
<enum>QComboBox::AdjustToContents</enum>
</property> </property>
</widget> <property name="sizeHint" stdset="0">
</item> <size>
<item row="1" column="1"> <width>40</width>
<widget class="QCheckBox" name="enabled"> <height>20</height>
<property name="text"> </size>
<string>Enabled</string>
</property> </property>
</widget> </spacer>
</item> </item>
<item row="2" column="1"> <item>
<widget class="QCheckBox" name="primary"> <layout class="QFormLayout" name="formLayout">
<property name="text"> <property name="fieldGrowthPolicy">
<string>Primary</string> <enum>QFormLayout::AllNonFixedFieldsGrow</enum>
</property> </property>
</widget> <item row="0" column="0">
</item> <widget class="QLabel" name="label">
<item row="3" column="0">
<widget class="QLabel" name="label_2">
<property name="text">
<string>Mode:</string>
</property>
</widget>
</item>
<item row="3" column="1">
<widget class="QComboBox" name="modes">
<property name="sizeAdjustPolicy">
<enum>QComboBox::AdjustToContents</enum>
</property>
</widget>
</item>
<item row="4" column="0">
<widget class="QLabel" name="label_3">
<property name="text">
<string>Orientation:</string>
</property>
</widget>
</item>
<item row="4" column="1">
<widget class="QComboBox" name="orientationCombo">
<property name="sizeAdjustPolicy">
<enum>QComboBox::AdjustToContents</enum>
</property>
<item>
<property name="text">
<string>Normal</string>
</property>
</item>
<item>
<property name="text">
<string>Left (90° ccw)</string>
</property>
</item>
<item>
<property name="text">
<string>Inverted (180°)</string>
</property>
</item>
<item>
<property name="text">
<string>Right (90° cw)</string>
</property>
</item>
</widget>
</item>
<item row="5" column="0">
<widget class="QLabel" name="label_4">
<property name="text">
<string>Replica of:</string>
</property>
</widget>
</item>
<item row="5" column="1">
<widget class="QComboBox" name="replicaOf">
<property name="sizeAdjustPolicy">
<enum>QComboBox::AdjustToContents</enum>
</property>
</widget>
</item>
<item row="7" column="0">
<widget class="QLabel" name="label_6">
<property name="text">
<string>Horizontal Scale:</string>
</property>
</widget>
</item>
<item row="7" column="1">
<layout class="QHBoxLayout" name="horizontalLayout_3">
<item>
<widget class="QSlider" name="horizontalScale">
<property name="minimum">
<number>100</number>
</property>
<property name="maximum">
<number>4000</number>
</property>
<property name="singleStep">
<number>5</number>
</property>
<property name="pageStep">
<number>25</number>
</property>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="tickPosition">
<enum>QSlider::TicksBelow</enum>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="horizontalScaleLabel">
<property name="text"> <property name="text">
<string>TextLabel</string> <string>Monitor:</string>
</property> </property>
</widget> </widget>
</item> </item>
<item row="0" column="1">
<widget class="QComboBox" name="screenCombo">
<property name="sizeAdjustPolicy">
<enum>QComboBox::AdjustToContents</enum>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QCheckBox" name="enabled">
<property name="text">
<string>Enabled</string>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QCheckBox" name="primary">
<property name="text">
<string>Primary</string>
</property>
</widget>
</item>
<item row="3" column="0">
<widget class="QLabel" name="label_2">
<property name="text">
<string>Mode:</string>
</property>
</widget>
</item>
<item row="3" column="1">
<widget class="QComboBox" name="modes">
<property name="sizeAdjustPolicy">
<enum>QComboBox::AdjustToContents</enum>
</property>
</widget>
</item>
<item row="4" column="0">
<widget class="QLabel" name="label_3">
<property name="text">
<string>Orientation:</string>
</property>
</widget>
</item>
<item row="4" column="1">
<widget class="QComboBox" name="orientationCombo">
<property name="sizeAdjustPolicy">
<enum>QComboBox::AdjustToContents</enum>
</property>
<item>
<property name="text">
<string>Normal</string>
</property>
</item>
<item>
<property name="text">
<string>Left (90° ccw)</string>
</property>
</item>
<item>
<property name="text">
<string>Inverted (180°)</string>
</property>
</item>
<item>
<property name="text">
<string>Right (90° cw)</string>
</property>
</item>
</widget>
</item>
<item row="5" column="0">
<widget class="QLabel" name="label_4">
<property name="text">
<string>Replica of:</string>
</property>
</widget>
</item>
<item row="5" column="1">
<widget class="QComboBox" name="replicaOf">
<property name="sizeAdjustPolicy">
<enum>QComboBox::AdjustToContents</enum>
</property>
</widget>
</item>
<item row="6" column="0">
<widget class="QLabel" name="label_5">
<property name="text">
<string>Scaling mode:</string>
</property>
</widget>
</item>
<item row="6" column="1">
<widget class="QComboBox" name="scaleModeCombo">
<item>
<property name="text">
<string>Manual</string>
</property>
</item>
<item>
<property name="text">
<string>Disabled (1x1)</string>
</property>
</item>
<item>
<property name="text">
<string>Automatic: physical dimensions</string>
</property>
</item>
<item>
<property name="text">
<string>Manual, same in both dimensions</string>
</property>
</item>
</widget>
</item>
<item row="7" column="0">
<widget class="QLabel" name="label_6">
<property name="text">
<string>Horizontal Scale:</string>
</property>
</widget>
</item>
<item row="7" column="1">
<layout class="QHBoxLayout" name="horizontalLayout_3">
<item>
<widget class="QSlider" name="horizontalScale">
<property name="minimum">
<number>100</number>
</property>
<property name="maximum">
<number>4000</number>
</property>
<property name="singleStep">
<number>5</number>
</property>
<property name="pageStep">
<number>25</number>
</property>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="tickPosition">
<enum>QSlider::TicksBelow</enum>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="horizontalScaleLabel">
<property name="text">
<string>TextLabel</string>
</property>
</widget>
</item>
</layout>
</item>
<item row="8" column="0">
<widget class="QLabel" name="label_7">
<property name="text">
<string>Vertical Scale:</string>
</property>
</widget>
</item>
<item row="8" column="1">
<layout class="QHBoxLayout" name="horizontalLayout_2">
<item>
<widget class="QSlider" name="verticalScale">
<property name="minimum">
<number>100</number>
</property>
<property name="maximum">
<number>4000</number>
</property>
<property name="singleStep">
<number>5</number>
</property>
<property name="pageStep">
<number>25</number>
</property>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="tickPosition">
<enum>QSlider::TicksBelow</enum>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="verticalScaleLabel">
<property name="text">
<string>TextLabel</string>
</property>
</widget>
</item>
</layout>
</item>
</layout> </layout>
</item> </item>
<item row="8" column="0"> <item>
<widget class="QLabel" name="label_7"> <spacer name="horizontalSpacer_4">
<property name="text"> <property name="orientation">
<string>Vertical Scale:</string> <enum>Qt::Horizontal</enum>
</property> </property>
</widget> <property name="sizeType">
</item> <enum>QSizePolicy::MinimumExpanding</enum>
<item row="8" column="1">
<layout class="QHBoxLayout" name="horizontalLayout_2">
<item>
<widget class="QSlider" name="verticalScale">
<property name="minimum">
<number>100</number>
</property>
<property name="maximum">
<number>4000</number>
</property>
<property name="singleStep">
<number>5</number>
</property>
<property name="pageStep">
<number>25</number>
</property>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="tickPosition">
<enum>QSlider::TicksBelow</enum>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="verticalScaleLabel">
<property name="text">
<string>TextLabel</string>
</property>
</widget>
</item>
</layout>
</item>
<item row="6" column="0">
<widget class="QLabel" name="label_5">
<property name="text">
<string>Scaling mode:</string>
</property> </property>
</widget> <property name="sizeHint" stdset="0">
</item> <size>
<item row="6" column="1"> <width>40</width>
<widget class="QComboBox" name="scaleModeCombo"> <height>20</height>
<item> </size>
<property name="text"> </property>
<string>Manual</string> </spacer>
</property>
</item>
<item>
<property name="text">
<string>Disabled (1x1)</string>
</property>
</item>
<item>
<property name="text">
<string>Automatic: physical dimensions</string>
</property>
</item>
<item>
<property name="text">
<string>Manual, same in both dimensions</string>
</property>
</item>
</widget>
</item> </item>
</layout> </layout>
</item> </item>