]> git.lyx.org Git - lyx.git/commitdiff
Layout improvements
authorEdwin Leuven <e.leuven@gmail.com>
Tue, 24 Oct 2006 17:52:37 +0000 (17:52 +0000)
committerEdwin Leuven <e.leuven@gmail.com>
Tue, 24 Oct 2006 17:52:37 +0000 (17:52 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15538 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/qt4/ui/QPrefConvertersUi.ui
src/frontends/qt4/ui/QPrefCopiersUi.ui
src/frontends/qt4/ui/QPrefFileformatsUi.ui

index 7475cc14210b3c2c13ee54f9d0178dc16d562cc1..5e473605fd7aa09f1d7f329cebcfeec87022f7e8 100644 (file)
@@ -8,8 +8,8 @@
    <rect>
     <x>0</x>
     <y>0</y>
-    <width>468</width>
-    <height>335</height>
+    <width>297</width>
+    <height>307</height>
    </rect>
   </property>
   <property name="windowTitle" >
    <property name="spacing" >
     <number>6</number>
    </property>
-   <item rowspan="7" row="1" column="3" >
+   <item rowspan="3" row="1" column="2" >
     <spacer>
      <property name="orientation" >
       <enum>Qt::Horizontal</enum>
      </property>
      <property name="sizeHint" >
       <size>
-       <width>40</width>
-       <height>291</height>
+       <width>20</width>
+       <height>231</height>
       </size>
      </property>
     </spacer>
    </item>
-   <item row="6" column="1" colspan="2" >
-    <spacer>
-     <property name="orientation" >
-      <enum>Qt::Vertical</enum>
-     </property>
-     <property name="sizeType" >
-      <enum>QSizePolicy::Expanding</enum>
-     </property>
-     <property name="sizeHint" >
-      <size>
-       <width>323</width>
-       <height>71</height>
-      </size>
-     </property>
-    </spacer>
-   </item>
-   <item row="5" column="1" colspan="2" >
+   <item row="2" column="1" >
     <layout class="QHBoxLayout" >
      <property name="margin" >
       <number>0</number>
@@ -69,7 +53,7 @@
        </property>
        <property name="sizeHint" >
         <size>
-         <width>111</width>
+         <width>97</width>
          <height>31</height>
         </size>
        </property>
      </item>
     </layout>
    </item>
-   <item row="1" column="2" >
-    <widget class="QComboBox" name="converterFromCO" >
-     <property name="sizePolicy" >
-      <sizepolicy>
-       <hsizetype>3</hsizetype>
-       <vsizetype>0</vsizetype>
-       <horstretch>0</horstretch>
-       <verstretch>0</verstretch>
-      </sizepolicy>
-     </property>
-    </widget>
-   </item>
    <item row="3" column="1" >
-    <widget class="QLabel" name="converterLA" >
-     <property name="text" >
-      <string>C&amp;onverter:</string>
-     </property>
-     <property name="buddy" >
-      <cstring>converterED</cstring>
-     </property>
-    </widget>
-   </item>
-   <item row="2" column="2" >
-    <widget class="QComboBox" name="converterToCO" >
-     <property name="sizePolicy" >
-      <sizepolicy>
-       <hsizetype>3</hsizetype>
-       <vsizetype>0</vsizetype>
-       <horstretch>0</horstretch>
-       <verstretch>0</verstretch>
-      </sizepolicy>
-     </property>
-    </widget>
-   </item>
-   <item row="2" column="1" >
-    <widget class="QLabel" name="converterToLA" >
-     <property name="toolTip" >
-      <string>&lt;html>&lt;head>&lt;meta name="qrichtext" content="1" />&lt;/head>&lt;body style=" white-space: pre-wrap; font-family:Sans Serif; font-size:9pt; font-weight:400; font-style:normal; text-decoration:none;">&lt;p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">[[as in 'From format x to format y']]&lt;/p>&lt;/body>&lt;/html></string>
+    <spacer>
+     <property name="orientation" >
+      <enum>Qt::Vertical</enum>
      </property>
-     <property name="text" >
-      <string>&amp;To:</string>
+     <property name="sizeType" >
+      <enum>QSizePolicy::Expanding</enum>
      </property>
-     <property name="buddy" >
-      <cstring>converterToCO</cstring>
+     <property name="sizeHint" >
+      <size>
+       <width>121</width>
+       <height>112</height>
+      </size>
      </property>
-    </widget>
+    </spacer>
    </item>
    <item row="1" column="1" >
-    <widget class="QLabel" name="converterFromLA" >
-     <property name="text" >
-      <string>&amp;From:</string>
-     </property>
-     <property name="buddy" >
-      <cstring>converterFromCO</cstring>
-     </property>
-    </widget>
-   </item>
-   <item row="3" column="2" >
-    <widget class="QLineEdit" name="converterED" />
-   </item>
-   <item row="4" column="1" >
-    <widget class="QLabel" name="converterFlagLA" >
-     <property name="text" >
-      <string>E&amp;xtra flag:</string>
+    <layout class="QGridLayout" >
+     <property name="margin" >
+      <number>0</number>
      </property>
-     <property name="buddy" >
-      <cstring>converterFlagED</cstring>
+     <property name="spacing" >
+      <number>6</number>
      </property>
-    </widget>
+     <item row="0" column="0" >
+      <widget class="QLabel" name="converterFromLA" >
+       <property name="text" >
+        <string>&amp;From:</string>
+       </property>
+       <property name="buddy" >
+        <cstring>converterFromCO</cstring>
+       </property>
+      </widget>
+     </item>
+     <item row="3" column="1" >
+      <widget class="QLineEdit" name="converterFlagED" />
+     </item>
+     <item row="1" column="1" >
+      <widget class="QComboBox" name="converterToCO" >
+       <property name="sizePolicy" >
+        <sizepolicy>
+         <hsizetype>3</hsizetype>
+         <vsizetype>0</vsizetype>
+         <horstretch>0</horstretch>
+         <verstretch>0</verstretch>
+        </sizepolicy>
+       </property>
+      </widget>
+     </item>
+     <item row="3" column="0" >
+      <widget class="QLabel" name="converterFlagLA" >
+       <property name="text" >
+        <string>E&amp;xtra flag:</string>
+       </property>
+       <property name="buddy" >
+        <cstring>converterFlagED</cstring>
+       </property>
+      </widget>
+     </item>
+     <item row="2" column="0" >
+      <widget class="QLabel" name="converterLA" >
+       <property name="text" >
+        <string>C&amp;onverter:</string>
+       </property>
+       <property name="buddy" >
+        <cstring>converterED</cstring>
+       </property>
+      </widget>
+     </item>
+     <item row="1" column="0" >
+      <widget class="QLabel" name="converterToLA" >
+       <property name="toolTip" >
+        <string>&lt;html>&lt;head>&lt;meta name="qrichtext" content="1" />&lt;/head>&lt;body style=" white-space: pre-wrap; font-family:Sans Serif; font-size:9pt; font-weight:400; font-style:normal; text-decoration:none;">&lt;p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">[[as in 'From format x to format y']]&lt;/p>&lt;/body>&lt;/html></string>
+       </property>
+       <property name="text" >
+        <string>&amp;To:</string>
+       </property>
+       <property name="buddy" >
+        <cstring>converterToCO</cstring>
+       </property>
+      </widget>
+     </item>
+     <item row="0" column="1" >
+      <widget class="QComboBox" name="converterFromCO" />
+     </item>
+     <item row="2" column="1" >
+      <widget class="QLineEdit" name="converterED" />
+     </item>
+    </layout>
    </item>
    <item row="0" column="0" >
     <widget class="QLabel" name="formatsLA_2" >
      </property>
     </widget>
    </item>
-   <item row="7" column="0" >
+   <item row="4" column="0" >
     <layout class="QHBoxLayout" >
      <property name="margin" >
       <number>0</number>
      </item>
     </layout>
    </item>
-   <item rowspan="6" row="1" column="0" >
+   <item rowspan="3" row="1" column="0" >
     <widget class="QListWidget" name="convertersLW" />
    </item>
-   <item row="4" column="2" >
-    <widget class="QLineEdit" name="converterFlagED" />
-   </item>
   </layout>
  </widget>
  <pixmapfunction></pixmapfunction>
index 9dbfe3654d399324ca85371af11418aae2ea166d..9c97b6f1ccc0ec245f217388dd51af8a853a7c42 100644 (file)
@@ -8,8 +8,8 @@
    <rect>
     <x>0</x>
     <y>0</y>
-    <width>423</width>
-    <height>260</height>
+    <width>297</width>
+    <height>215</height>
    </rect>
   </property>
   <property name="windowTitle" >
    <property name="spacing" >
     <number>6</number>
    </property>
-   <item row="2" column="3" >
+   <item rowspan="4" row="1" column="3" >
     <spacer>
      <property name="orientation" >
       <enum>Qt::Horizontal</enum>
      </property>
+    </spacer>
+   </item>
+   <item row="3" column="2" >
+    <spacer>
+     <property name="orientation" >
+      <enum>Qt::Vertical</enum>
+     </property>
      <property name="sizeHint" >
       <size>
-       <width>40</width>
-       <height>20</height>
+       <width>20</width>
+       <height>40</height>
       </size>
      </property>
     </spacer>
    </item>
-   <item row="3" column="1" colspan="2" >
+   <item rowspan="3" row="1" column="0" >
+    <widget class="QListWidget" name="AllCopiersLW" />
+   </item>
+   <item row="0" column="0" colspan="2" >
+    <widget class="QLabel" name="AllCopiersLA" >
+     <property name="text" >
+      <string>C&amp;opiers</string>
+     </property>
+     <property name="buddy" >
+      <cstring>AllCopiersLW</cstring>
+     </property>
+    </widget>
+   </item>
+   <item row="4" column="0" >
     <layout class="QHBoxLayout" >
      <property name="margin" >
       <number>0</number>
        <property name="orientation" >
         <enum>Qt::Horizontal</enum>
        </property>
-       <property name="sizeType" >
-        <enum>QSizePolicy::Expanding</enum>
-       </property>
        <property name="sizeHint" >
         <size>
-         <width>90</width>
-         <height>31</height>
+         <width>40</width>
+         <height>20</height>
         </size>
        </property>
       </spacer>
      </item>
      <item>
-      <widget class="QPushButton" name="copierNewPB" >
+      <widget class="QPushButton" name="copierRemovePB" >
        <property name="text" >
-        <string>&amp;Add</string>
+        <string>&amp;Remove</string>
        </property>
       </widget>
      </item>
-     <item>
-      <widget class="QPushButton" name="copierModifyPB" >
+    </layout>
+   </item>
+   <item row="1" column="1" colspan="2" >
+    <layout class="QGridLayout" >
+     <property name="margin" >
+      <number>0</number>
+     </property>
+     <property name="spacing" >
+      <number>6</number>
+     </property>
+     <item row="0" column="0" >
+      <widget class="QLabel" name="copierFormatLA" >
        <property name="text" >
-        <string>&amp;Modify</string>
+        <string>&amp;Format:</string>
+       </property>
+       <property name="buddy" >
+        <cstring>copierFormatCO</cstring>
        </property>
       </widget>
      </item>
+     <item row="1" column="0" >
+      <widget class="QLabel" name="copierLA" >
+       <property name="text" >
+        <string>&amp;Copier:</string>
+       </property>
+       <property name="buddy" >
+        <cstring>copierED</cstring>
+       </property>
+      </widget>
+     </item>
+     <item row="0" column="1" >
+      <widget class="QComboBox" name="copierFormatCO" />
+     </item>
+     <item row="1" column="1" >
+      <widget class="QLineEdit" name="copierED" />
+     </item>
     </layout>
    </item>
-   <item row="0" column="0" >
-    <widget class="QLabel" name="AllCopiersLA" >
-     <property name="text" >
-      <string>C&amp;opiers</string>
-     </property>
-     <property name="buddy" >
-      <cstring>AllCopiersLW</cstring>
-     </property>
-    </widget>
-   </item>
-   <item row="5" column="0" >
+   <item row="2" column="1" colspan="2" >
     <layout class="QHBoxLayout" >
      <property name="margin" >
       <number>0</number>
        <property name="orientation" >
         <enum>Qt::Horizontal</enum>
        </property>
-       <property name="sizeType" >
-        <enum>QSizePolicy::Preferred</enum>
-       </property>
        <property name="sizeHint" >
         <size>
-         <width>20</width>
+         <width>40</width>
          <height>20</height>
         </size>
        </property>
       </spacer>
      </item>
      <item>
-      <widget class="QPushButton" name="copierRemovePB" >
+      <widget class="QPushButton" name="copierNewPB" >
        <property name="text" >
-        <string>&amp;Remove</string>
+        <string>&amp;Add</string>
+       </property>
+      </widget>
+     </item>
+     <item>
+      <widget class="QPushButton" name="copierModifyPB" >
+       <property name="text" >
+        <string>&amp;Modify</string>
        </property>
       </widget>
      </item>
     </layout>
    </item>
-   <item row="4" column="1" colspan="2" >
-    <spacer>
-     <property name="orientation" >
-      <enum>Qt::Vertical</enum>
-     </property>
-     <property name="sizeType" >
-      <enum>QSizePolicy::Expanding</enum>
-     </property>
-     <property name="sizeHint" >
-      <size>
-       <width>278</width>
-       <height>20</height>
-      </size>
-     </property>
-    </spacer>
-   </item>
-   <item row="2" column="1" >
-    <widget class="QLabel" name="copierLA" >
-     <property name="text" >
-      <string>&amp;Copier:</string>
-     </property>
-     <property name="buddy" >
-      <cstring>copierED</cstring>
-     </property>
-    </widget>
-   </item>
-   <item row="1" column="1" >
-    <widget class="QLabel" name="copierFormatLA" >
-     <property name="text" >
-      <string>&amp;Format:</string>
-     </property>
-     <property name="buddy" >
-      <cstring>copierFormatCO</cstring>
-     </property>
-    </widget>
-   </item>
-   <item row="1" column="2" >
-    <widget class="QComboBox" name="copierFormatCO" >
-     <property name="sizePolicy" >
-      <sizepolicy>
-       <hsizetype>3</hsizetype>
-       <vsizetype>0</vsizetype>
-       <horstretch>0</horstretch>
-       <verstretch>0</verstretch>
-      </sizepolicy>
-     </property>
-    </widget>
-   </item>
-   <item row="2" column="2" >
-    <widget class="QLineEdit" name="copierED" />
-   </item>
-   <item rowspan="4" row="1" column="0" >
-    <widget class="QListWidget" name="AllCopiersLW" />
-   </item>
   </layout>
  </widget>
  <pixmapfunction></pixmapfunction>
index f65386f8cc370512eae39eaa1f4292a3e0f3c038..af366bfc1c50e919db0e1fe09ccb1db124c789ad 100644 (file)
@@ -8,8 +8,8 @@
    <rect>
     <x>0</x>
     <y>0</y>
-    <width>351</width>
-    <height>340</height>
+    <width>317</width>
+    <height>357</height>
    </rect>
   </property>
   <property name="windowTitle" >
    <property name="spacing" >
     <number>6</number>
    </property>
-   <item row="1" column="4" >
-    <spacer>
-     <property name="orientation" >
-      <enum>Qt::Horizontal</enum>
-     </property>
-     <property name="sizeHint" >
-      <size>
-       <width>91</width>
-       <height>20</height>
-      </size>
-     </property>
-    </spacer>
-   </item>
-   <item row="2" column="1" >
-    <spacer>
-     <property name="orientation" >
-      <enum>Qt::Horizontal</enum>
-     </property>
-     <property name="sizeType" >
-      <enum>QSizePolicy::MinimumExpanding</enum>
-     </property>
-     <property name="sizeHint" >
-      <size>
-       <width>20</width>
-       <height>31</height>
-      </size>
-     </property>
-    </spacer>
-   </item>
-   <item row="2" column="2" >
-    <widget class="QPushButton" name="formatNewPB" >
-     <property name="text" >
-      <string>&amp;Add</string>
-     </property>
-    </widget>
-   </item>
-   <item row="2" column="3" >
-    <widget class="QPushButton" name="formatModifyPB" >
-     <property name="text" >
-      <string>&amp;Modify</string>
-     </property>
-    </widget>
+   <item rowspan="5" row="1" column="0" >
+    <widget class="QListWidget" name="formatsLW" />
    </item>
-   <item row="3" column="1" colspan="3" >
-    <spacer>
-     <property name="orientation" >
-      <enum>Qt::Vertical</enum>
-     </property>
-     <property name="sizeType" >
-      <enum>QSizePolicy::Expanding</enum>
+   <item row="6" column="0" >
+    <layout class="QHBoxLayout" >
+     <property name="margin" >
+      <number>0</number>
      </property>
-     <property name="sizeHint" >
-      <size>
-       <width>129</width>
-       <height>31</height>
-      </size>
+     <property name="spacing" >
+      <number>6</number>
      </property>
-    </spacer>
+     <item>
+      <spacer>
+       <property name="orientation" >
+        <enum>Qt::Horizontal</enum>
+       </property>
+       <property name="sizeHint" >
+        <size>
+         <width>40</width>
+         <height>20</height>
+        </size>
+       </property>
+      </spacer>
+     </item>
+     <item>
+      <widget class="QPushButton" name="formatRemovePB" >
+       <property name="text" >
+        <string>&amp;Remove</string>
+       </property>
+      </widget>
+     </item>
+    </layout>
    </item>
-   <item row="1" column="1" colspan="3" >
+   <item row="1" column="1" >
     <layout class="QGridLayout" >
      <property name="margin" >
       <number>0</number>
      <item row="4" column="1" >
       <widget class="QLineEdit" name="viewerED" />
      </item>
-     <item row="5" column="1" >
-      <widget class="QLineEdit" name="editorED" />
-     </item>
-     <item row="2" column="1" >
-      <widget class="QLineEdit" name="shortcutED" />
-     </item>
-     <item row="1" column="0" >
-      <widget class="QLabel" name="guiNameLA" >
+     <item row="5" column="0" >
+      <widget class="QLabel" name="editorLA" >
        <property name="text" >
-        <string>&amp;GUI name:</string>
+        <string>Ed&amp;itor:</string>
        </property>
        <property name="buddy" >
-        <cstring>guiNameED</cstring>
+        <cstring>editorED</cstring>
        </property>
       </widget>
      </item>
-     <item row="0" column="0" >
-      <widget class="QLabel" name="formatLA" >
+     <item row="1" column="0" >
+      <widget class="QLabel" name="guiNameLA" >
        <property name="text" >
-        <string>F&amp;ormat:</string>
+        <string>&amp;GUI name:</string>
        </property>
        <property name="buddy" >
-        <cstring>formatED</cstring>
+        <cstring>guiNameED</cstring>
        </property>
       </widget>
      </item>
-     <item row="1" column="1" >
-      <widget class="QLineEdit" name="guiNameED" />
+     <item row="0" column="1" >
+      <widget class="QLineEdit" name="formatED" />
      </item>
-     <item row="4" column="0" >
-      <widget class="QLabel" name="viewerLA" >
-       <property name="text" >
-        <string>&amp;Viewer:</string>
-       </property>
-       <property name="buddy" >
-        <cstring>viewerED</cstring>
-       </property>
-      </widget>
+     <item row="2" column="1" >
+      <widget class="QLineEdit" name="shortcutED" />
      </item>
-     <item row="5" column="0" >
-      <widget class="QLabel" name="editorLA" >
+     <item row="3" column="0" >
+      <widget class="QLabel" name="extensionLA" >
        <property name="text" >
-        <string>Ed&amp;itor:</string>
+        <string>E&amp;xtension:</string>
        </property>
        <property name="buddy" >
-        <cstring>editorED</cstring>
+        <cstring>extensionED</cstring>
        </property>
       </widget>
      </item>
-     <item row="0" column="1" >
-      <widget class="QLineEdit" name="formatED" />
-     </item>
      <item row="2" column="0" >
       <widget class="QLabel" name="shortcutLA" >
        <property name="text" >
        </property>
       </widget>
      </item>
-     <item row="3" column="0" >
-      <widget class="QLabel" name="extensionLA" >
+     <item row="0" column="0" >
+      <widget class="QLabel" name="formatLA" >
        <property name="text" >
-        <string>E&amp;xtension:</string>
+        <string>F&amp;ormat:</string>
        </property>
        <property name="buddy" >
-        <cstring>extensionED</cstring>
+        <cstring>formatED</cstring>
        </property>
       </widget>
      </item>
      <item row="3" column="1" >
       <widget class="QLineEdit" name="extensionED" />
      </item>
-     <item row="6" column="0" >
-      <widget class="QCheckBox" name="documentCB" >
-       <property name="enabled" >
-        <bool>true</bool>
-       </property>
-       <property name="toolTip" >
-        <string>Tell whether this format is a document format. A document can not be exported to or viewed in a non-document format.</string>
-       </property>
-       <property name="text" >
-        <string>&amp;Document format</string>
-       </property>
-      </widget>
+     <item row="1" column="1" >
+      <widget class="QLineEdit" name="guiNameED" />
      </item>
-     <item row="7" column="0" >
-      <widget class="QCheckBox" name="vectorCB" >
-       <property name="enabled" >
-        <bool>true</bool>
-       </property>
-       <property name="toolTip" >
-        <string>Tell whether this format can contain vector graphics.</string>
-       </property>
+     <item row="4" column="0" >
+      <widget class="QLabel" name="viewerLA" >
        <property name="text" >
-        <string>Vector graphi&amp;cs format</string>
+        <string>&amp;Viewer:</string>
+       </property>
+       <property name="buddy" >
+        <cstring>viewerED</cstring>
        </property>
       </widget>
      </item>
+     <item row="5" column="1" >
+      <widget class="QLineEdit" name="editorED" />
+     </item>
     </layout>
    </item>
-   <item row="4" column="0" >
+   <item row="3" column="1" >
+    <widget class="QCheckBox" name="vectorCB" >
+     <property name="enabled" >
+      <bool>true</bool>
+     </property>
+     <property name="toolTip" >
+      <string>Tell whether this format can contain vector graphics.</string>
+     </property>
+     <property name="text" >
+      <string>Vector graphi&amp;cs format</string>
+     </property>
+    </widget>
+   </item>
+   <item row="2" column="1" >
+    <widget class="QCheckBox" name="documentCB" >
+     <property name="enabled" >
+      <bool>true</bool>
+     </property>
+     <property name="toolTip" >
+      <string>Tell whether this format is a document format. A document can not be exported to or viewed in a non-document format.</string>
+     </property>
+     <property name="text" >
+      <string>&amp;Document format</string>
+     </property>
+    </widget>
+   </item>
+   <item row="0" column="0" >
+    <widget class="QLabel" name="formatsLA" >
+     <property name="text" >
+      <string>&amp;File formats</string>
+     </property>
+     <property name="buddy" >
+      <cstring>formatsLW</cstring>
+     </property>
+    </widget>
+   </item>
+   <item row="5" column="1" >
+    <spacer>
+     <property name="orientation" >
+      <enum>Qt::Vertical</enum>
+     </property>
+     <property name="sizeType" >
+      <enum>QSizePolicy::Expanding</enum>
+     </property>
+     <property name="sizeHint" >
+      <size>
+       <width>129</width>
+       <height>16</height>
+      </size>
+     </property>
+    </spacer>
+   </item>
+   <item row="4" column="1" >
     <layout class="QHBoxLayout" >
      <property name="margin" >
       <number>0</number>
         <enum>Qt::Horizontal</enum>
        </property>
        <property name="sizeType" >
-        <enum>QSizePolicy::Preferred</enum>
+        <enum>QSizePolicy::MinimumExpanding</enum>
        </property>
        <property name="sizeHint" >
         <size>
          <width>20</width>
-         <height>20</height>
+         <height>31</height>
         </size>
        </property>
       </spacer>
      </item>
      <item>
-      <widget class="QPushButton" name="formatRemovePB" >
+      <widget class="QPushButton" name="formatNewPB" >
        <property name="text" >
-        <string>&amp;Remove</string>
+        <string>&amp;Add</string>
+       </property>
+      </widget>
+     </item>
+     <item>
+      <widget class="QPushButton" name="formatModifyPB" >
+       <property name="text" >
+        <string>&amp;Modify</string>
        </property>
       </widget>
      </item>
     </layout>
    </item>
-   <item rowspan="3" row="1" column="0" >
-    <widget class="QListWidget" name="formatsLW" />
-   </item>
-   <item row="0" column="0" >
-    <widget class="QLabel" name="formatsLA" >
-     <property name="text" >
-      <string>&amp;File formats</string>
+   <item row="1" column="2" >
+    <spacer>
+     <property name="orientation" >
+      <enum>Qt::Horizontal</enum>
      </property>
-     <property name="buddy" >
-      <cstring>formatsLW</cstring>
+     <property name="sizeHint" >
+      <size>
+       <width>40</width>
+       <height>20</height>
+      </size>
      </property>
-    </widget>
+    </spacer>
    </item>
   </layout>
  </widget>