Fix Ui layouts.

This commit is contained in:
Juergen Spitzmueller 2020-05-01 10:10:27 +02:00
parent a08621ebce
commit a05b3228bc

View File

@ -6,72 +6,126 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>290</width> <width>289</width>
<height>197</height> <height>235</height>
</rect> </rect>
</property> </property>
<property name="windowTitle"> <property name="windowTitle">
<string/> <string/>
</property> </property>
<layout class="QGridLayout" name="gridLayout_2">
<item row="0" column="0">
<layout class="QGridLayout" name="gridLayout"> <layout class="QGridLayout" name="gridLayout">
<item row="3" column="0">
<widget class="QLabel" name="vtypeLA">
<property name="text">
<string>Value Type</string>
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="QLabel" name="valueLA">
<property name="text">
<string>Value</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QComboBox" name="actionCB"/>
</item>
<item row="0" column="0"> <item row="0" column="0">
<widget class="QLabel" name="counterLA"> <widget class="QLabel" name="counterLA">
<property name="text"> <property name="text">
<string>Counter</string> <string>C&amp;ounter:</string>
</property>
<property name="buddy">
<cstring>counterCB</cstring>
</property> </property>
</widget> </widget>
</item> </item>
<item row="0" column="1"> <item row="0" column="1">
<widget class="QComboBox" name="counterCB"/> <widget class="QComboBox" name="counterCB">
</item> <property name="sizePolicy">
<item row="2" column="1"> <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
<widget class="QSpinBox" name="valueSB"> <horstretch>0</horstretch>
<property name="maximum"> <verstretch>0</verstretch>
<number>10000</number> </sizepolicy>
</property> </property>
</widget> </widget>
</item> </item>
<item row="1" column="0"> <item row="1" column="0">
<widget class="QLabel" name="actionLA"> <widget class="QLabel" name="actionLA">
<property name="text"> <property name="text">
<string>Action</string> <string>&amp;Action:</string>
</property>
<property name="buddy">
<cstring>actionCB</cstring>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QComboBox" name="actionCB">
<property name="sizePolicy">
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="QLabel" name="valueLA">
<property name="text">
<string>&amp;Value:</string>
</property>
<property name="buddy">
<cstring>valueSB</cstring>
</property>
</widget>
</item>
<item row="2" column="1">
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
<widget class="QSpinBox" name="valueSB">
<property name="maximum">
<number>10000</number>
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>13</width>
<height>39</height>
</size>
</property>
</spacer>
</item>
</layout>
</item>
<item row="3" column="0">
<widget class="QLabel" name="vtypeLA">
<property name="text">
<string>Value &amp;Type:</string>
</property>
<property name="buddy">
<cstring>vtypeCB</cstring>
</property> </property>
</widget> </widget>
</item> </item>
<item row="3" column="1"> <item row="3" column="1">
<widget class="QComboBox" name="vtypeCB"/> <widget class="QComboBox" name="vtypeCB">
<property name="sizePolicy">
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
</widget>
</item> </item>
<item row="4" column="0" colspan="2"> <item row="4" column="1">
<widget class="QCheckBox" name="lyxonlyXB"> <widget class="QCheckBox" name="lyxonlyXB">
<property name="toolTip"> <property name="toolTip">
<string>Affect counters only in LyX, not in output</string> <string>Affect counters only in LyX, not in output</string>
</property> </property>
<property name="layoutDirection"> <property name="layoutDirection">
<enum>Qt::RightToLeft</enum> <enum>Qt::LeftToRight</enum>
</property> </property>
<property name="text"> <property name="text">
<string>LyX Only</string> <string>&amp;LyX Only</string>
</property> </property>
</widget> </widget>
</item> </item>
</layout> </layout>
</item>
</layout>
</widget> </widget>
<includes> <includes>
<include location="local">qt_i18n.h</include> <include location="local">qt_i18n.h</include>