]> git.lyx.org Git - features.git/blobdiff - src/frontends/qt2/ui/QMinipageDialog.ui
fix minipage layout
[features.git] / src / frontends / qt2 / ui / QMinipageDialog.ui
index aa45ae13053de167441e06a59bbc0b7e28fd7c99..85eb5e31240b909d10b4cf6fd7b9d29da8dcedd4 100644 (file)
@@ -15,7 +15,7 @@
             <x>0</x>
             <y>0</y>
             <width>369</width>
-            <height>104</height>
+            <height>111</height>
         </rect>
     </property>
     <property stdset="1">
@@ -28,7 +28,7 @@
     <property>
         <name>layoutSpacing</name>
     </property>
-    <grid>
+    <vbox>
         <property stdset="1">
             <name>margin</name>
             <number>11</number>
             <name>spacing</name>
             <number>6</number>
         </property>
-        <widget row="1"  column="0" >
+        <widget>
             <class>QLayoutWidget</class>
             <property stdset="1">
                 <name>name</name>
-                <cstring>Layout17</cstring>
+                <cstring>Layout3</cstring>
             </property>
-            <hbox>
+            <grid>
                 <property stdset="1">
                     <name>margin</name>
                     <number>0</number>
                     <name>spacing</name>
                     <number>6</number>
                 </property>
-                <widget>
-                    <class>QPushButton</class>
+                <widget row="0"  column="0" >
+                    <class>QLabel</class>
                     <property stdset="1">
                         <name>name</name>
-                        <cstring>restorePB</cstring>
+                        <cstring>widthLA</cstring>
                     </property>
                     <property stdset="1">
-                        <name>text</name>
-                        <string>&amp;Restore</string>
+                        <name>frameShape</name>
+                        <enum>MShape</enum>
                     </property>
                     <property stdset="1">
-                        <name>default</name>
-                        <bool>false</bool>
+                        <name>frameShadow</name>
+                        <enum>MShadow</enum>
+                    </property>
+                    <property stdset="1">
+                        <name>text</name>
+                        <string>&amp;Width:</string>
                     </property>
                     <property>
-                        <name>toolTip</name>
-                        <string></string>
+                        <name>buddy</name>
+                        <cstring>widthED</cstring>
                     </property>
                 </widget>
-                <spacer>
-                    <property>
+                <widget row="1"  column="2" >
+                    <class>QComboBox</class>
+                    <item>
+                        <property>
+                            <name>text</name>
+                            <string>Top</string>
+                        </property>
+                    </item>
+                    <item>
+                        <property>
+                            <name>text</name>
+                            <string>Middle</string>
+                        </property>
+                    </item>
+                    <item>
+                        <property>
+                            <name>text</name>
+                            <string>Bottom</string>
+                        </property>
+                    </item>
+                    <property stdset="1">
                         <name>name</name>
-                        <cstring>Spacer1</cstring>
+                        <cstring>valignCO</cstring>
+                    </property>
+                    <property>
+                        <name>toolTip</name>
+                        <string>Vertical alignment</string>
                     </property>
+                </widget>
+                <widget row="0"  column="2" >
+                    <class>QLabel</class>
                     <property stdset="1">
-                        <name>orientation</name>
-                        <enum>Horizontal</enum>
+                        <name>name</name>
+                        <cstring>valignLA</cstring>
                     </property>
                     <property stdset="1">
-                        <name>sizeType</name>
-                        <enum>Expanding</enum>
+                        <name>text</name>
+                        <string>A&amp;lignment:</string>
                     </property>
                     <property>
-                        <name>sizeHint</name>
-                        <size>
-                            <width>20</width>
-                            <height>20</height>
-                        </size>
+                        <name>buddy</name>
+                        <cstring>valignCO</cstring>
                     </property>
-                </spacer>
-                <widget>
-                    <class>QPushButton</class>
+                </widget>
+                <widget row="1"  column="1" >
+                    <class>LengthCombo</class>
                     <property stdset="1">
                         <name>name</name>
-                        <cstring>okPB</cstring>
+                        <cstring>unitsLC</cstring>
                     </property>
                     <property stdset="1">
-                        <name>text</name>
-                        <string>&amp;OK</string>
+                        <name>sizePolicy</name>
+                        <sizepolicy>
+                            <hsizetype>3</hsizetype>
+                            <vsizetype>0</vsizetype>
+                        </sizepolicy>
                     </property>
                     <property stdset="1">
-                        <name>default</name>
-                        <bool>false</bool>
+                        <name>minimumSize</name>
+                        <size>
+                            <width>40</width>
+                            <height>22</height>
+                        </size>
+                    </property>
+                    <property stdset="1">
+                        <name>focusPolicy</name>
+                        <enum>StrongFocus</enum>
                     </property>
                     <property>
                         <name>toolTip</name>
-                        <string></string>
+                        <string>Units of width value</string>
                     </property>
                 </widget>
-                <widget>
-                    <class>QPushButton</class>
+                <widget row="1"  column="0" >
+                    <class>QLineEdit</class>
                     <property stdset="1">
                         <name>name</name>
-                        <cstring>applyPB</cstring>
-                    </property>
-                    <property stdset="1">
-                        <name>text</name>
-                        <string>&amp;Apply</string>
+                        <cstring>widthED</cstring>
                     </property>
                     <property stdset="1">
-                        <name>default</name>
-                        <bool>false</bool>
+                        <name>sizePolicy</name>
+                        <sizepolicy>
+                            <hsizetype>1</hsizetype>
+                            <vsizetype>0</vsizetype>
+                        </sizepolicy>
                     </property>
                     <property>
                         <name>toolTip</name>
-                        <string></string>
+                        <string>Width value</string>
                     </property>
                 </widget>
-                <widget>
-                    <class>QPushButton</class>
+                <widget row="0"  column="1" >
+                    <class>QLabel</class>
                     <property stdset="1">
                         <name>name</name>
-                        <cstring>closePB</cstring>
+                        <cstring>unitsLA</cstring>
                     </property>
                     <property stdset="1">
                         <name>text</name>
-                        <string>&amp;Close</string>
+                        <string>&amp;Units:</string>
                     </property>
-                    <property stdset="1">
-                        <name>default</name>
-                        <bool>true</bool>
+                    <property>
+                        <name>buddy</name>
+                        <cstring>unitsLC</cstring>
                     </property>
                 </widget>
-            </hbox>
+            </grid>
         </widget>
-        <widget row="0"  column="0" >
+        <spacer>
+            <property>
+                <name>name</name>
+                <cstring>Spacer1_2</cstring>
+            </property>
+            <property stdset="1">
+                <name>orientation</name>
+                <enum>Vertical</enum>
+            </property>
+            <property stdset="1">
+                <name>sizeType</name>
+                <enum>Expanding</enum>
+            </property>
+            <property>
+                <name>sizeHint</name>
+                <size>
+                    <width>20</width>
+                    <height>20</height>
+                </size>
+            </property>
+        </spacer>
+        <widget>
             <class>QLayoutWidget</class>
             <property stdset="1">
                 <name>name</name>
-                <cstring>Layout3</cstring>
+                <cstring>Layout17</cstring>
             </property>
-            <grid>
+            <hbox>
                 <property stdset="1">
                     <name>margin</name>
                     <number>0</number>
                     <name>spacing</name>
                     <number>6</number>
                 </property>
-                <widget row="0"  column="2" >
-                    <class>QLabel</class>
+                <widget>
+                    <class>QPushButton</class>
                     <property stdset="1">
                         <name>name</name>
-                        <cstring>unitsLA</cstring>
+                        <cstring>restorePB</cstring>
                     </property>
                     <property stdset="1">
                         <name>text</name>
-                        <string>&amp;Units:</string>
+                        <string>&amp;Restore</string>
+                    </property>
+                    <property stdset="1">
+                        <name>default</name>
+                        <bool>false</bool>
                     </property>
                     <property>
-                        <name>buddy</name>
-                        <cstring>unitsLC</cstring>
+                        <name>toolTip</name>
+                        <string></string>
                     </property>
                 </widget>
-                <widget row="0"  column="0"  rowspan="1"  colspan="2" >
-                    <class>QLabel</class>
-                    <property stdset="1">
+                <spacer>
+                    <property>
                         <name>name</name>
-                        <cstring>widthLA</cstring>
-                    </property>
-                    <property stdset="1">
-                        <name>frameShape</name>
-                        <enum>MShape</enum>
+                        <cstring>Spacer1</cstring>
                     </property>
                     <property stdset="1">
-                        <name>frameShadow</name>
-                        <enum>MShadow</enum>
+                        <name>orientation</name>
+                        <enum>Horizontal</enum>
                     </property>
                     <property stdset="1">
-                        <name>text</name>
-                        <string>&amp;Width:</string>
+                        <name>sizeType</name>
+                        <enum>Expanding</enum>
                     </property>
                     <property>
-                        <name>buddy</name>
-                        <cstring>widthED</cstring>
+                        <name>sizeHint</name>
+                        <size>
+                            <width>20</width>
+                            <height>20</height>
+                        </size>
                     </property>
-                </widget>
-                <widget row="1"  column="1"  rowspan="1"  colspan="2" >
-                    <class>LengthCombo</class>
+                </spacer>
+                <widget>
+                    <class>QPushButton</class>
                     <property stdset="1">
                         <name>name</name>
-                        <cstring>unitsLC</cstring>
-                    </property>
-                    <property stdset="1">
-                        <name>sizePolicy</name>
-                        <sizepolicy>
-                            <hsizetype>3</hsizetype>
-                            <vsizetype>0</vsizetype>
-                        </sizepolicy>
+                        <cstring>okPB</cstring>
                     </property>
                     <property stdset="1">
-                        <name>minimumSize</name>
-                        <size>
-                            <width>40</width>
-                            <height>22</height>
-                        </size>
+                        <name>text</name>
+                        <string>&amp;OK</string>
                     </property>
                     <property stdset="1">
-                        <name>focusPolicy</name>
-                        <enum>StrongFocus</enum>
+                        <name>default</name>
+                        <bool>false</bool>
                     </property>
                     <property>
                         <name>toolTip</name>
-                        <string>Units of width value</string>
+                        <string></string>
                     </property>
                 </widget>
-                <widget row="0"  column="3" >
-                    <class>QLabel</class>
+                <widget>
+                    <class>QPushButton</class>
                     <property stdset="1">
                         <name>name</name>
-                        <cstring>valignLA</cstring>
+                        <cstring>applyPB</cstring>
                     </property>
                     <property stdset="1">
                         <name>text</name>
-                        <string>A&amp;lignment:</string>
-                    </property>
-                    <property>
-                        <name>buddy</name>
-                        <cstring>valignCO</cstring>
-                    </property>
-                </widget>
-                <widget row="1"  column="0" >
-                    <class>QLineEdit</class>
-                    <property stdset="1">
-                        <name>name</name>
-                        <cstring>widthED</cstring>
+                        <string>&amp;Apply</string>
                     </property>
                     <property stdset="1">
-                        <name>sizePolicy</name>
-                        <sizepolicy>
-                            <hsizetype>1</hsizetype>
-                            <vsizetype>0</vsizetype>
-                        </sizepolicy>
+                        <name>default</name>
+                        <bool>false</bool>
                     </property>
                     <property>
                         <name>toolTip</name>
-                        <string>Width value</string>
+                        <string></string>
                     </property>
                 </widget>
-                <widget row="1"  column="3" >
-                    <class>QComboBox</class>
-                    <item>
-                        <property>
-                            <name>text</name>
-                            <string>Top</string>
-                        </property>
-                    </item>
-                    <item>
-                        <property>
-                            <name>text</name>
-                            <string>Middle</string>
-                        </property>
-                    </item>
-                    <item>
-                        <property>
-                            <name>text</name>
-                            <string>Bottom</string>
-                        </property>
-                    </item>
+                <widget>
+                    <class>QPushButton</class>
                     <property stdset="1">
                         <name>name</name>
-                        <cstring>valignCO</cstring>
+                        <cstring>closePB</cstring>
                     </property>
-                    <property>
-                        <name>toolTip</name>
-                        <string>Vertical alignment</string>
+                    <property stdset="1">
+                        <name>text</name>
+                        <string>&amp;Close</string>
+                    </property>
+                    <property stdset="1">
+                        <name>default</name>
+                        <bool>true</bool>
                     </property>
                 </widget>
-            </grid>
+            </hbox>
         </widget>
-    </grid>
+    </vbox>
 </widget>
 <customwidgets>
     <customwidget>
     </image>
 </images>
 <connections>
-    <connection>
-        <sender>applyPB</sender>
-        <signal>clicked()</signal>
-        <receiver>QMinipageDialogBase</receiver>
-        <slot>updateClicked()</slot>
-    </connection>
     <connection>
         <sender>widthED</sender>
         <signal>textChanged(const QString&amp;)</signal>
         <slot>change_adaptor()</slot>
     </connection>
     <slot access="public">change_adaptor()</slot>
-    <slot access="public">updateClicked()</slot>
 </connections>
 <tabstops>
     <tabstop>widthED</tabstop>