]> git.lyx.org Git - lyx.git/commitdiff
Towards horizontal size of document pref dialog -
authorPavel Sanda <sanda@lyx.org>
Sun, 19 Oct 2008 01:43:24 +0000 (01:43 +0000)
committerPavel Sanda <sanda@lyx.org>
Sun, 19 Oct 2008 01:43:24 +0000 (01:43 +0000)
class names make its combo very wide, so reorganize a little bit.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26956 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/qt4/ui/LaTeXUi.ui

index dd73558ad3fa965a03a5e59aa6d993cb050d3d1b..0c12b684adcff937e5f4da5a451a73ead8bcbefe 100644 (file)
    <rect>
     <x>0</x>
     <y>0</y>
-    <width>379</width>
-    <height>255</height>
+    <width>341</width>
+    <height>301</height>
    </rect>
   </property>
   <property name="windowTitle" >
    <string/>
   </property>
-  <layout class="QGridLayout" >
-   <property name="margin" >
-    <number>9</number>
-   </property>
-   <property name="spacing" >
-    <number>6</number>
-   </property>
-   <item row="3" column="0" colspan="4" >
-    <widget class="QGroupBox" name="childDocGB" >
-     <property name="toolTip" >
-      <string>Select if the current document is included to a master file</string>
-     </property>
-     <property name="statusTip" >
-      <string/>
-     </property>
+  <layout class="QGridLayout" name="gridLayout" >
+   <item row="0" column="0" colspan="3" >
+    <widget class="QGroupBox" name="groupBox" >
      <property name="title" >
-      <string>Select de&amp;fault master document</string>
-     </property>
-     <property name="checkable" >
-      <bool>true</bool>
+      <string>Document &amp;class</string>
      </property>
-     <layout class="QGridLayout" >
-      <property name="margin" >
-       <number>9</number>
-      </property>
-      <property name="spacing" >
-       <number>6</number>
-      </property>
+     <layout class="QGridLayout" name="gridLayout_2" >
       <item row="0" column="0" >
-       <widget class="QLabel" name="childDocLA" >
-        <property name="text" >
-         <string>&amp;Master:</string>
-        </property>
-        <property name="buddy" >
-         <cstring>childDocLE</cstring>
-        </property>
-       </widget>
-      </item>
-      <item row="0" column="2" >
-       <widget class="QPushButton" name="childDocPB" >
-        <property name="text" >
-         <string>&amp;Browse...</string>
+       <widget class="QComboBox" name="classCO" >
+        <property name="maxVisibleItems" >
+         <number>20</number>
         </property>
        </widget>
       </item>
       <item row="0" column="1" >
-       <widget class="QLineEdit" name="childDocLE" >
+       <widget class="QPushButton" name="layoutPB" >
+        <property name="sizePolicy" >
+         <sizepolicy vsizetype="Minimum" hsizetype="Fixed" >
+          <horstretch>0</horstretch>
+          <verstretch>0</verstretch>
+         </sizepolicy>
+        </property>
         <property name="toolTip" >
-         <string>Enter the name of the default master document</string>
+         <string>Click to select a local document class definition file</string>
+        </property>
+        <property name="text" >
+         <string>&amp;Local Layout...</string>
         </property>
        </widget>
       </item>
      </layout>
     </widget>
    </item>
-   <item row="2" column="1" >
-    <widget class="QComboBox" name="psdriverCO" >
-     <property name="duplicatesEnabled" >
-      <bool>false</bool>
-     </property>
-    </widget>
-   </item>
-   <item row="2" column="0" >
-    <widget class="QLabel" name="psdriverL" >
-     <property name="text" >
-      <string>&amp;Postscript driver:</string>
-     </property>
-     <property name="buddy" >
-      <cstring>psdriverCO</cstring>
-     </property>
-    </widget>
-   </item>
-   <item row="2" column="2" colspan="2" >
-    <spacer>
-     <property name="orientation" >
-      <enum>Qt::Horizontal</enum>
-     </property>
-     <property name="sizeHint" stdset="0" >
-      <size>
-       <width>261</width>
-       <height>22</height>
-      </size>
-     </property>
-    </spacer>
-   </item>
-   <item row="0" column="1" colspan="2" >
-    <widget class="QComboBox" name="classCO" >
-     <property name="maxVisibleItems" >
-      <number>20</number>
-     </property>
-    </widget>
-   </item>
-   <item row="0" column="3" >
-    <widget class="QPushButton" name="layoutPB" >
-     <property name="sizePolicy" >
-      <sizepolicy vsizetype="Fixed" hsizetype="Minimum" >
-       <horstretch>0</horstretch>
-       <verstretch>0</verstretch>
-      </sizepolicy>
-     </property>
-     <property name="toolTip" >
-      <string>Click to select a local document class definition file</string>
-     </property>
-     <property name="text" >
-      <string>&amp;Local Layout...</string>
-     </property>
-    </widget>
-   </item>
-   <item row="0" column="0" >
-    <widget class="QLabel" name="classL" >
-     <property name="text" >
-      <string>Document &amp;class:</string>
-     </property>
-     <property name="buddy" >
-      <cstring>classCO</cstring>
-     </property>
-    </widget>
-   </item>
-   <item row="1" column="0" colspan="4" >
+   <item row="1" column="0" colspan="3" >
     <widget class="QGroupBox" name="optionsGB" >
      <property name="title" >
       <string>Class options</string>
        </widget>
       </item>
      </layout>
+     <zorder>defaultOptionsCB</zorder>
+     <zorder>optionsL</zorder>
+     <zorder>groupBox</zorder>
     </widget>
    </item>
+   <item row="2" column="0" >
+    <widget class="QLabel" name="psdriverL" >
+     <property name="text" >
+      <string>&amp;Postscript driver:</string>
+     </property>
+     <property name="buddy" >
+      <cstring>psdriverCO</cstring>
+     </property>
+    </widget>
+   </item>
+   <item row="2" column="1" >
+    <widget class="QComboBox" name="psdriverCO" >
+     <property name="duplicatesEnabled" >
+      <bool>false</bool>
+     </property>
+    </widget>
+   </item>
+   <item row="2" column="2" >
+    <spacer>
+     <property name="orientation" >
+      <enum>Qt::Horizontal</enum>
+     </property>
+     <property name="sizeHint" stdset="0" >
+      <size>
+       <width>261</width>
+       <height>22</height>
+      </size>
+     </property>
+    </spacer>
+   </item>
+   <item row="3" column="0" colspan="3" >
+    <widget class="QGroupBox" name="childDocGB" >
+     <property name="toolTip" >
+      <string>Select if the current document is included to a master file</string>
+     </property>
+     <property name="statusTip" >
+      <string/>
+     </property>
+     <property name="title" >
+      <string>Select de&amp;fault master document</string>
+     </property>
+     <property name="checkable" >
+      <bool>true</bool>
+     </property>
+     <layout class="QGridLayout" >
+      <property name="margin" >
+       <number>9</number>
+      </property>
+      <property name="spacing" >
+       <number>6</number>
+      </property>
+      <item row="0" column="0" >
+       <widget class="QLabel" name="childDocLA" >
+        <property name="text" >
+         <string>&amp;Master:</string>
+        </property>
+        <property name="buddy" >
+         <cstring>childDocLE</cstring>
+        </property>
+       </widget>
+      </item>
+      <item row="0" column="2" >
+       <widget class="QPushButton" name="childDocPB" >
+        <property name="text" >
+         <string>&amp;Browse...</string>
+        </property>
+       </widget>
+      </item>
+      <item row="0" column="1" >
+       <widget class="QLineEdit" name="childDocLE" >
+        <property name="toolTip" >
+         <string>Enter the name of the default master document</string>
+        </property>
+       </widget>
+      </item>
+     </layout>
+    </widget>
+   </item>
+   <item row="4" column="0" >
+    <spacer name="verticalSpacer" >
+     <property name="orientation" >
+      <enum>Qt::Vertical</enum>
+     </property>
+     <property name="sizeHint" stdset="0" >
+      <size>
+       <width>20</width>
+       <height>2</height>
+      </size>
+     </property>
+    </spacer>
+   </item>
   </layout>
  </widget>
  <tabstops>