]> git.lyx.org Git - features.git/commitdiff
Reorganize dialogs along lines suggested by Abdel to give more room to line edit...
authorRichard Heck <rgheck@comcast.net>
Wed, 11 Apr 2007 13:45:44 +0000 (13:45 +0000)
committerRichard Heck <rgheck@comcast.net>
Wed, 11 Apr 2007 13:45:44 +0000 (13:45 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17775 a592a061-630c-0410-9148-cb99ea01b6c8

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

index 48f71d219702aa041d863188bb2e99b3914ef083..3f3a8da9d901cf823ba20006dbbc5fb3819aec98 100644 (file)
 <ui version="4.0" >
- <author></author>
- <comment></comment>
- <exportmacro></exportmacro>
  <class>QPrefCopiersUi</class>
  <widget class="QWidget" name="QPrefCopiersUi" >
   <property name="geometry" >
    <rect>
     <x>0</x>
     <y>0</y>
-    <width>297</width>
-    <height>215</height>
+    <width>396</width>
+    <height>320</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 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>20</width>
-       <height>40</height>
-      </size>
-     </property>
-    </spacer>
-   </item>
-   <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>
-     <property name="spacing" >
-      <number>6</number>
-     </property>
-     <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="copierRemovePB" >
-       <property name="text" >
-        <string>&amp;Remove</string>
-       </property>
-      </widget>
-     </item>
-    </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;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="2" column="1" colspan="2" >
-    <layout class="QHBoxLayout" >
-     <property name="margin" >
-      <number>0</number>
-     </property>
-     <property name="spacing" >
-      <number>6</number>
-     </property>
-     <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="copierNewPB" >
-       <property name="text" >
-        <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>
-  </layout>
+   <layout class="QVBoxLayout" >
+    <property name="margin" >
+     <number>0</number>
+    </property>
+    <property name="spacing" >
+     <number>6</number>
+    </property>
+    <item>
+     <widget class="QLabel" name="AllCopiersLA" >
+      <property name="text" >
+       <string>C&amp;opiers</string>
+      </property>
+      <property name="buddy" >
+       <cstring>AllCopiersLW</cstring>
+      </property>
+     </widget>
+    </item>
+    <item>
+     <layout class="QHBoxLayout" >
+      <property name="margin" >
+       <number>0</number>
+      </property>
+      <property name="spacing" >
+       <number>6</number>
+      </property>
+      <item>
+       <widget class="QListWidget" name="AllCopiersLW" />
+      </item>
+      <item>
+       <layout class="QVBoxLayout" >
+        <property name="margin" >
+         <number>0</number>
+        </property>
+        <property name="spacing" >
+         <number>6</number>
+        </property>
+        <item>
+         <widget class="QPushButton" name="copierNewPB" >
+          <property name="text" >
+           <string>&amp;Add</string>
+          </property>
+         </widget>
+        </item>
+        <item>
+         <widget class="QPushButton" name="copierModifyPB" >
+          <property name="text" >
+           <string>&amp;Modify</string>
+          </property>
+         </widget>
+        </item>
+        <item>
+         <widget class="QPushButton" name="copierRemovePB" >
+          <property name="text" >
+           <string>&amp;Remove</string>
+          </property>
+         </widget>
+        </item>
+        <item>
+         <spacer>
+          <property name="orientation" >
+           <enum>Qt::Vertical</enum>
+          </property>
+          <property name="sizeHint" >
+           <size>
+            <width>20</width>
+            <height>40</height>
+           </size>
+          </property>
+         </spacer>
+        </item>
+       </layout>
+      </item>
+     </layout>
+    </item>
+    <item>
+     <layout class="QHBoxLayout" >
+      <property name="margin" >
+       <number>0</number>
+      </property>
+      <property name="spacing" >
+       <number>6</number>
+      </property>
+      <item>
+       <widget class="QLabel" name="copierFormatLA" >
+        <property name="text" >
+         <string>&amp;Format:</string>
+        </property>
+        <property name="buddy" >
+         <cstring>copierFormatCO</cstring>
+        </property>
+       </widget>
+      </item>
+      <item>
+       <widget class="QLineEdit" name="copierED" />
+      </item>
+      <item>
+       <widget class="QLabel" name="copierLA" >
+        <property name="text" >
+         <string>&amp;Copier:</string>
+        </property>
+        <property name="buddy" >
+         <cstring>copierED</cstring>
+        </property>
+       </widget>
+      </item>
+      <item>
+       <widget class="QComboBox" name="copierFormatCO" />
+      </item>
+      <item>
+       <spacer>
+        <property name="orientation" >
+         <enum>Qt::Horizontal</enum>
+        </property>
+        <property name="sizeHint" >
+         <size>
+          <width>40</width>
+          <height>20</height>
+         </size>
+        </property>
+       </spacer>
+      </item>
+     </layout>
+    </item>
+   </layout>
  </widget>
- <pixmapfunction></pixmapfunction>
- <includes>
-  <include location="local" >qt_helpers.h</include>
- </includes>
  <tabstops>
   <tabstop>AllCopiersLW</tabstop>
   <tabstop>copierFormatCO</tabstop>
   <tabstop>copierModifyPB</tabstop>
   <tabstop>copierRemovePB</tabstop>
  </tabstops>
+ <includes>
+  <include location="local" >qt_helpers.h</include>
+ </includes>
  <resources/>
  <connections/>
 </ui>
index 6247eb421521dc520c880feaefc0b625cc8096f4..2ca137b381c965b5561a365562592895a9e0d733 100644 (file)
@@ -1,31 +1,35 @@
 <ui version="4.0" >
- <author></author>
- <comment></comment>
- <exportmacro></exportmacro>
  <class>QPrefFileformatsUi</class>
  <widget class="QWidget" name="QPrefFileformatsUi" >
   <property name="geometry" >
    <rect>
     <x>0</x>
     <y>0</y>
-    <width>317</width>
-    <height>357</height>
+    <width>459</width>
+    <height>410</height>
    </rect>
   </property>
   <property name="windowTitle" >
    <string/>
   </property>
-  <layout class="QGridLayout" >
+  <layout class="QVBoxLayout" >
    <property name="margin" >
-    <number>9</number>
+    <number>0</number>
    </property>
    <property name="spacing" >
     <number>6</number>
    </property>
-   <item rowspan="5" row="1" column="0" >
-    <widget class="QListWidget" name="formatsLW" />
+   <item>
+    <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="6" column="0" >
+   <item>
     <layout class="QHBoxLayout" >
      <property name="margin" >
       <number>0</number>
       <number>6</number>
      </property>
      <item>
-      <spacer>
-       <property name="orientation" >
-        <enum>Qt::Horizontal</enum>
-       </property>
-       <property name="sizeHint" >
-        <size>
-         <width>40</width>
-         <height>20</height>
-        </size>
-       </property>
-      </spacer>
+      <widget class="QListWidget" name="formatsLW" />
      </item>
      <item>
-      <widget class="QPushButton" name="formatRemovePB" >
-       <property name="text" >
-        <string>&amp;Remove</string>
+      <layout class="QVBoxLayout" >
+       <property name="margin" >
+        <number>0</number>
        </property>
-      </widget>
+       <property name="spacing" >
+        <number>6</number>
+       </property>
+       <item>
+        <widget class="QPushButton" name="formatNewPB" >
+         <property name="text" >
+          <string>&amp;Add</string>
+         </property>
+        </widget>
+       </item>
+       <item>
+        <widget class="QPushButton" name="formatModifyPB" >
+         <property name="text" >
+          <string>&amp;Modify</string>
+         </property>
+        </widget>
+       </item>
+       <item>
+        <widget class="QPushButton" name="formatRemovePB" >
+         <property name="text" >
+          <string>&amp;Remove</string>
+         </property>
+        </widget>
+       </item>
+       <item>
+        <spacer>
+         <property name="orientation" >
+          <enum>Qt::Vertical</enum>
+         </property>
+         <property name="sizeHint" >
+          <size>
+           <width>20</width>
+           <height>40</height>
+          </size>
+         </property>
+        </spacer>
+       </item>
+      </layout>
      </item>
     </layout>
    </item>
-   <item row="1" column="1" >
-    <layout class="QGridLayout" >
+   <item>
+    <layout class="QHBoxLayout" >
      <property name="margin" >
       <number>0</number>
      </property>
      <property name="spacing" >
       <number>6</number>
      </property>
-     <item row="4" column="1" >
-      <widget class="QLineEdit" name="viewerED" />
-     </item>
-     <item row="5" column="0" >
-      <widget class="QLabel" name="editorLA" >
-       <property name="text" >
-        <string>Ed&amp;itor:</string>
-       </property>
-       <property name="buddy" >
-        <cstring>editorED</cstring>
-       </property>
-      </widget>
-     </item>
-     <item row="1" column="0" >
-      <widget class="QLabel" name="guiNameLA" >
-       <property name="text" >
-        <string>&amp;GUI name:</string>
-       </property>
-       <property name="buddy" >
-        <cstring>guiNameED</cstring>
-       </property>
-      </widget>
-     </item>
-     <item row="0" column="1" >
-      <widget class="QLineEdit" name="formatED" />
-     </item>
-     <item row="2" column="1" >
-      <widget class="QLineEdit" name="shortcutED" />
-     </item>
-     <item row="3" column="0" >
-      <widget class="QLabel" name="extensionLA" >
-       <property name="text" >
-        <string>E&amp;xtension:</string>
-       </property>
-       <property name="buddy" >
-        <cstring>extensionED</cstring>
-       </property>
-      </widget>
-     </item>
-     <item row="2" column="0" >
-      <widget class="QLabel" name="shortcutLA" >
-       <property name="text" >
-        <string>S&amp;hortcut:</string>
-       </property>
-       <property name="buddy" >
-        <cstring>shortcutED</cstring>
-       </property>
-      </widget>
-     </item>
-     <item row="0" column="0" >
-      <widget class="QLabel" name="formatLA" >
+     <item>
+      <widget class="QCheckBox" name="documentCB" >
        <property name="text" >
-        <string>F&amp;ormat:</string>
-       </property>
-       <property name="buddy" >
-        <cstring>formatED</cstring>
+        <string>&amp;Document format</string>
        </property>
       </widget>
      </item>
-     <item row="3" column="1" >
-      <widget class="QLineEdit" name="extensionED" />
-     </item>
-     <item row="1" column="1" >
-      <widget class="QLineEdit" name="guiNameED" />
-     </item>
-     <item row="4" column="0" >
-      <widget class="QLabel" name="viewerLA" >
+     <item>
+      <widget class="QCheckBox" name="vectorCB" >
        <property name="text" >
-        <string>&amp;Viewer:</string>
-       </property>
-       <property name="buddy" >
-        <cstring>viewerED</cstring>
+        <string>Vector graphi&amp;cs format</string>
        </property>
       </widget>
      </item>
-     <item row="5" column="1" >
-      <widget class="QLineEdit" name="editorED" />
-     </item>
     </layout>
    </item>
-   <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 cannot 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" >
+   <item>
     <layout class="QHBoxLayout" >
      <property name="margin" >
       <number>0</number>
       <number>6</number>
      </property>
      <item>
-      <spacer>
-       <property name="orientation" >
-        <enum>Qt::Horizontal</enum>
+      <layout class="QVBoxLayout" >
+       <property name="margin" >
+        <number>0</number>
        </property>
-       <property name="sizeType" >
-        <enum>QSizePolicy::MinimumExpanding</enum>
+       <property name="spacing" >
+        <number>6</number>
        </property>
-       <property name="sizeHint" >
-        <size>
-         <width>20</width>
-         <height>31</height>
-        </size>
+       <item>
+        <widget class="QLabel" name="formatLA" >
+         <property name="text" >
+          <string>F&amp;ormat:</string>
+         </property>
+         <property name="buddy" >
+          <cstring>formatED</cstring>
+         </property>
+        </widget>
+       </item>
+       <item>
+        <widget class="QLabel" name="shortcutLA" >
+         <property name="text" >
+          <string>S&amp;hortcut:</string>
+         </property>
+         <property name="buddy" >
+          <cstring>shortcutED</cstring>
+         </property>
+        </widget>
+       </item>
+       <item>
+        <widget class="QLabel" name="viewerLA" >
+         <property name="text" >
+          <string>&amp;Viewer:</string>
+         </property>
+         <property name="buddy" >
+          <cstring>viewerED</cstring>
+         </property>
+        </widget>
+       </item>
+      </layout>
+     </item>
+     <item>
+      <layout class="QVBoxLayout" >
+       <property name="margin" >
+        <number>0</number>
+       </property>
+       <property name="spacing" >
+        <number>6</number>
        </property>
-      </spacer>
+       <item>
+        <widget class="QLineEdit" name="formatED" />
+       </item>
+       <item>
+        <widget class="QLineEdit" name="shortcutED" />
+       </item>
+       <item>
+        <widget class="QLineEdit" name="viewerED" />
+       </item>
+      </layout>
      </item>
      <item>
-      <widget class="QPushButton" name="formatNewPB" >
-       <property name="text" >
-        <string>&amp;Add</string>
+      <layout class="QVBoxLayout" >
+       <property name="margin" >
+        <number>0</number>
        </property>
-      </widget>
+       <property name="spacing" >
+        <number>6</number>
+       </property>
+       <item>
+        <widget class="QLabel" name="guiNameLA" >
+         <property name="text" >
+          <string>&amp;GUI name:</string>
+         </property>
+         <property name="buddy" >
+          <cstring>guiNameED</cstring>
+         </property>
+        </widget>
+       </item>
+       <item>
+        <widget class="QLabel" name="extensionLA" >
+         <property name="text" >
+          <string>E&amp;xtension:</string>
+         </property>
+         <property name="buddy" >
+          <cstring>extensionED</cstring>
+         </property>
+        </widget>
+       </item>
+       <item>
+        <widget class="QLabel" name="editorLA" >
+         <property name="text" >
+          <string>Ed&amp;itor:</string>
+         </property>
+         <property name="buddy" >
+          <cstring>editorED</cstring>
+         </property>
+        </widget>
+       </item>
+      </layout>
      </item>
      <item>
-      <widget class="QPushButton" name="formatModifyPB" >
-       <property name="text" >
-        <string>&amp;Modify</string>
+      <layout class="QVBoxLayout" >
+       <property name="margin" >
+        <number>0</number>
        </property>
-      </widget>
+       <property name="spacing" >
+        <number>6</number>
+       </property>
+       <item>
+        <widget class="QLineEdit" name="guiNameED" />
+       </item>
+       <item>
+        <widget class="QLineEdit" name="extensionED" />
+       </item>
+       <item>
+        <widget class="QLineEdit" name="editorED" />
+       </item>
+      </layout>
      </item>
     </layout>
    </item>
-   <item row="1" column="2" >
-    <spacer>
-     <property name="orientation" >
-      <enum>Qt::Horizontal</enum>
-     </property>
-     <property name="sizeHint" >
-      <size>
-       <width>40</width>
-       <height>20</height>
-      </size>
-     </property>
-    </spacer>
-   </item>
   </layout>
  </widget>
- <pixmapfunction></pixmapfunction>
- <includes>
-  <include location="local" >qt_helpers.h</include>
- </includes>
  <tabstops>
   <tabstop>formatsLW</tabstop>
+  <tabstop>documentCB</tabstop>
+  <tabstop>vectorCB</tabstop>
   <tabstop>formatED</tabstop>
   <tabstop>guiNameED</tabstop>
   <tabstop>shortcutED</tabstop>
   <tabstop>extensionED</tabstop>
   <tabstop>viewerED</tabstop>
   <tabstop>editorED</tabstop>
-  <tabstop>documentCB</tabstop>
-  <tabstop>vectorCB</tabstop>
   <tabstop>formatNewPB</tabstop>
   <tabstop>formatModifyPB</tabstop>
-  <tabstop>formatRemovePB</tabstop>
  </tabstops>
+ <includes>
+  <include location="local" >qt_helpers.h</include>
+ </includes>
  <resources/>
  <connections/>
 </ui>