Commit b6fbd644 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Interface for pixel cropping. Ref #1400

parent 3337f1c2
...@@ -327,6 +327,95 @@ ...@@ -327,6 +327,95 @@
</item> </item>
</layout> </layout>
</widget> </widget>
<widget class="QWidget" name="tab_3" >
<attribute name="title" >
<string>_("Crop")</string>
</attribute>
<layout class="QGridLayout" >
<item row="0" column="2" >
<widget class="QLabel" name="label_10" >
<property name="text" >
<string>_("top")</string>
</property>
</widget>
</item>
<item row="0" column="3" >
<widget class="QSpinBox" name="cropTopPx" >
<property name="suffix" >
<string> px</string>
</property>
<property name="maximum" >
<number>4095</number>
</property>
</widget>
</item>
<item row="1" column="0" >
<widget class="QLabel" name="label_11" >
<property name="text" >
<string>_("left")</string>
</property>
</widget>
</item>
<item row="1" column="1" >
<widget class="QSpinBox" name="cropLeftPx" >
<property name="suffix" >
<string> px</string>
</property>
<property name="maximum" >
<number>4095</number>
</property>
</widget>
</item>
<item row="1" column="4" >
<widget class="QLabel" name="label_12" >
<property name="text" >
<string>_("right")</string>
</property>
</widget>
</item>
<item row="1" column="5" >
<widget class="QSpinBox" name="cropRightPx" >
<property name="suffix" >
<string> px</string>
</property>
<property name="maximum" >
<number>4095</number>
</property>
</widget>
</item>
<item row="2" column="2" >
<widget class="QLabel" name="label_7" >
<property name="text" >
<string>_("bottom")</string>
</property>
</widget>
</item>
<item row="2" column="3" >
<widget class="QSpinBox" name="cropBotPx" >
<property name="suffix" >
<string> px</string>
</property>
<property name="maximum" >
<number>4095</number>
</property>
</widget>
</item>
<item row="3" column="0" colspan="6" >
<widget class="QCheckBox" name="topBotCropSync" >
<property name="text" >
<string>_("Synchronize top and bottom")</string>
</property>
</widget>
</item>
<item row="4" column="0" colspan="6" >
<widget class="QCheckBox" name="leftRightCropSync" >
<property name="text" >
<string>_("Synchronize left and right")</string>
</property>
</widget>
</item>
</layout>
</widget>
<widget class="QWidget" name="tab_5" > <widget class="QWidget" name="tab_5" >
<attribute name="title" > <attribute name="title" >
<string>_("Geometry")</string> <string>_("Geometry")</string>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment