Added scale mode combo to UI (does nothing)

This commit is contained in:
Roberto Alsina 2020-02-01 13:06:28 -03:00
parent f3b9be0d9c
commit 3eced60f7b

34
main.ui
View File

@ -109,14 +109,14 @@
</property> </property>
</widget> </widget>
</item> </item>
<item row="6" column="0"> <item row="7" column="0">
<widget class="QLabel" name="label_6"> <widget class="QLabel" name="label_6">
<property name="text"> <property name="text">
<string>Horizontal Scale:</string> <string>Horizontal Scale:</string>
</property> </property>
</widget> </widget>
</item> </item>
<item row="6" column="1"> <item row="7" column="1">
<layout class="QHBoxLayout" name="horizontalLayout_3"> <layout class="QHBoxLayout" name="horizontalLayout_3">
<item> <item>
<widget class="QSlider" name="horizontalScale"> <widget class="QSlider" name="horizontalScale">
@ -146,14 +146,14 @@
</item> </item>
</layout> </layout>
</item> </item>
<item row="7" column="0"> <item row="8" column="0">
<widget class="QLabel" name="label_7"> <widget class="QLabel" name="label_7">
<property name="text"> <property name="text">
<string>Vertical Scale:</string> <string>Vertical Scale:</string>
</property> </property>
</widget> </widget>
</item> </item>
<item row="7" column="1"> <item row="8" column="1">
<layout class="QHBoxLayout" name="horizontalLayout_2"> <layout class="QHBoxLayout" name="horizontalLayout_2">
<item> <item>
<widget class="QSlider" name="verticalScale"> <widget class="QSlider" name="verticalScale">
@ -183,6 +183,32 @@
</item> </item>
</layout> </layout>
</item> </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>Automatic: physical dimensions</string>
</property>
</item>
<item>
<property name="text">
<string>Manual, same in both dimensions</string>
</property>
</item>
</widget>
</item>
</layout> </layout>
</item> </item>
<item> <item>