diff options
author | Aqua-sama <aqua@iserlohn-fortress.net> | 2020-11-01 21:48:01 +0200 |
---|---|---|
committer | Aqua-sama <aqua@iserlohn-fortress.net> | 2020-11-01 21:48:01 +0200 |
commit | 49bc0a1d3e8c4a2e208ce6a7614bc34adb6f8a7a (patch) | |
tree | 494b73f6012c8d84de748c2023e33af6ee163cf9 /src/mainwindow.ui | |
parent | Add original size and fit buttons (diff) | |
download | qimv-49bc0a1d3e8c4a2e208ce6a7614bc34adb6f8a7a.tar.xz |
Scale bar now rescales image
Diffstat (limited to 'src/mainwindow.ui')
-rw-r--r-- | src/mainwindow.ui | 21 |
1 files changed, 17 insertions, 4 deletions
diff --git a/src/mainwindow.ui b/src/mainwindow.ui index 733b06e..2676638 100644 --- a/src/mainwindow.ui +++ b/src/mainwindow.ui @@ -15,6 +15,9 @@ </property> <widget class="QWidget" name="centralwidget"> <layout class="QVBoxLayout" name="verticalLayout_2"> + <property name="spacing"> + <number>2</number> + </property> <property name="leftMargin"> <number>0</number> </property> @@ -38,7 +41,7 @@ <x>0</x> <y>0</y> <width>798</width> - <height>548</height> + <height>552</height> </rect> </property> <layout class="QVBoxLayout" name="verticalLayout"> @@ -87,9 +90,9 @@ </spacer> </item> <item> - <widget class="QToolButton" name="original_toolButton"> + <widget class="QToolButton" name="ori_toolButton"> <property name="text"> - <string>orig</string> + <string>original</string> </property> </widget> </item> @@ -101,12 +104,22 @@ </widget> </item> <item> - <widget class="QSlider" name="horizontalSlider"> + <widget class="QSlider" name="scale_slider"> + <property name="maximum"> + <number>100</number> + </property> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> </widget> </item> + <item> + <widget class="QLabel" name="scale_label"> + <property name="text"> + <string>0%</string> + </property> + </widget> + </item> </layout> </item> </layout> |