1
0
mirror of https://git.lyx.org/repos/lyx.git synced 2025-01-14 04:21:56 +00:00

* src/frontends/qt4/ui/QPrefConvertersUI.ui: lay out in a grid (fixes bug 3476)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17862 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jürgen Spitzmüller 2007-04-19 16:37:39 +00:00
parent 73e3e258ca
commit f16d156a63

@ -12,162 +12,96 @@
<property name="windowTitle" > <property name="windowTitle" >
<string/> <string/>
</property> </property>
<widget class="QGroupBox" name="cacheGB" > <layout class="QGridLayout" >
<property name="geometry" > <property name="margin" >
<rect> <number>9</number>
<x>0</x>
<y>330</y>
<width>421</width>
<height>61</height>
</rect>
</property> </property>
<property name="title" > <property name="spacing" >
<string>Converter File Cache</string> <number>6</number>
</property> </property>
<layout class="QGridLayout" > <item row="1" column="0" >
<property name="margin" > <widget class="QGroupBox" name="cacheGB" >
<number>9</number> <property name="title" >
</property> <string>Converter File Cache</string>
<property name="spacing" > </property>
<number>6</number> <layout class="QGridLayout" >
</property>
<item row="0" column="0" >
<layout class="QHBoxLayout" >
<property name="margin" > <property name="margin" >
<number>0</number> <number>9</number>
</property> </property>
<property name="spacing" > <property name="spacing" >
<number>6</number> <number>6</number>
</property> </property>
<item> <item row="0" column="0" >
<widget class="QCheckBox" name="cacheCB" > <layout class="QHBoxLayout" >
<property name="text" > <property name="margin" >
<string>&amp;Enabled</string> <number>0</number>
</property> </property>
</widget> <property name="spacing" >
</item> <number>6</number>
<item>
<spacer>
<property name="orientation" >
<enum>Qt::Horizontal</enum>
</property> </property>
<property name="sizeHint" > <item>
<size> <widget class="QCheckBox" name="cacheCB" >
<width>40</width> <property name="text" >
<height>20</height> <string>&amp;Enabled</string>
</size> </property>
</property> </widget>
</spacer> </item>
</item> <item>
<item> <spacer>
<widget class="QLabel" name="maxAgeLA" > <property name="orientation" >
<property name="text" > <enum>Qt::Horizontal</enum>
<string>&amp;Maximum Age (in days):</string> </property>
</property> <property name="sizeHint" >
<property name="buddy" > <size>
<cstring>maxAgeLE</cstring> <width>40</width>
</property> <height>20</height>
</widget> </size>
</item> </property>
<item> </spacer>
<widget class="QLineEdit" name="maxAgeLE" /> </item>
<item>
<widget class="QLabel" name="maxAgeLA" >
<property name="text" >
<string>&amp;Maximum Age (in days):</string>
</property>
<property name="buddy" >
<cstring>maxAgeLE</cstring>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="maxAgeLE" />
</item>
</layout>
</item> </item>
</layout> </layout>
</item> </widget>
</layout> </item>
</widget> <item row="0" column="0" >
<widget class="QGroupBox" name="groupBox" > <widget class="QGroupBox" name="groupBox" >
<property name="geometry" > <property name="title" >
<rect> <string>Converter &amp;Definitions</string>
<x>0</x> </property>
<y>0</y> <layout class="QGridLayout" >
<width>421</width>
<height>331</height>
</rect>
</property>
<property name="title" >
<string>Converter &amp;Definitions</string>
</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="QListWidget" name="convertersLW" >
<property name="sizePolicy" >
<sizepolicy>
<hsizetype>7</hsizetype>
<vsizetype>7</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
</widget>
</item>
<item row="0" column="1" >
<layout class="QVBoxLayout" >
<property name="margin" > <property name="margin" >
<number>0</number> <number>9</number>
</property> </property>
<property name="spacing" > <property name="spacing" >
<number>6</number> <number>6</number>
</property> </property>
<item> <item row="0" column="0" >
<widget class="QPushButton" name="converterNewPB" > <widget class="QListWidget" name="convertersLW" >
<property name="text" >
<string>A&amp;dd</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="converterModifyPB" >
<property name="text" >
<string>&amp;Modify</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="converterRemovePB" >
<property name="sizePolicy" > <property name="sizePolicy" >
<sizepolicy> <sizepolicy>
<hsizetype>1</hsizetype> <hsizetype>7</hsizetype>
<vsizetype>0</vsizetype> <vsizetype>7</vsizetype>
<horstretch>0</horstretch> <horstretch>0</horstretch>
<verstretch>0</verstretch> <verstretch>0</verstretch>
</sizepolicy> </sizepolicy>
</property> </property>
<property name="text" >
<string>&amp;Remove</string>
</property>
</widget> </widget>
</item> </item>
<item> <item row="0" column="1" >
<spacer>
<property name="orientation" >
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" >
<size>
<width>75</width>
<height>16</height>
</size>
</property>
</spacer>
</item>
</layout>
</item>
<item row="1" column="0" colspan="2" >
<layout class="QHBoxLayout" >
<property name="margin" >
<number>0</number>
</property>
<property name="spacing" >
<number>6</number>
</property>
<item>
<layout class="QVBoxLayout" > <layout class="QVBoxLayout" >
<property name="margin" > <property name="margin" >
<number>0</number> <number>0</number>
@ -176,31 +110,51 @@
<number>6</number> <number>6</number>
</property> </property>
<item> <item>
<widget class="QLabel" name="converterFromLA" > <widget class="QPushButton" name="converterNewPB" >
<property name="text" > <property name="text" >
<string>&amp;From format:</string> <string>A&amp;dd</string>
</property>
<property name="buddy" >
<cstring>converterFromCO</cstring>
</property> </property>
</widget> </widget>
</item> </item>
<item> <item>
<widget class="QComboBox" name="converterFromCO" > <widget class="QPushButton" name="converterModifyPB" >
<property name="text" >
<string>&amp;Modify</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="converterRemovePB" >
<property name="sizePolicy" > <property name="sizePolicy" >
<sizepolicy> <sizepolicy>
<hsizetype>3</hsizetype> <hsizetype>1</hsizetype>
<vsizetype>0</vsizetype> <vsizetype>0</vsizetype>
<horstretch>0</horstretch> <horstretch>0</horstretch>
<verstretch>0</verstretch> <verstretch>0</verstretch>
</sizepolicy> </sizepolicy>
</property> </property>
<property name="text" >
<string>&amp;Remove</string>
</property>
</widget> </widget>
</item> </item>
<item>
<spacer>
<property name="orientation" >
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" >
<size>
<width>75</width>
<height>16</height>
</size>
</property>
</spacer>
</item>
</layout> </layout>
</item> </item>
<item> <item row="1" column="0" colspan="2" >
<layout class="QVBoxLayout" > <layout class="QHBoxLayout" >
<property name="margin" > <property name="margin" >
<number>0</number> <number>0</number>
</property> </property>
@ -208,79 +162,121 @@
<number>6</number> <number>6</number>
</property> </property>
<item> <item>
<widget class="QLabel" name="converterFromLA_2" > <layout class="QVBoxLayout" >
<property name="margin" >
<number>0</number>
</property>
<property name="spacing" >
<number>6</number>
</property>
<item>
<widget class="QLabel" name="converterFromLA" >
<property name="text" >
<string>&amp;From format:</string>
</property>
<property name="buddy" >
<cstring>converterFromCO</cstring>
</property>
</widget>
</item>
<item>
<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>
</layout>
</item>
<item>
<layout class="QVBoxLayout" >
<property name="margin" >
<number>0</number>
</property>
<property name="spacing" >
<number>6</number>
</property>
<item>
<widget class="QLabel" name="converterFromLA_2" >
<property name="text" >
<string>&amp;To format:</string>
</property>
<property name="buddy" >
<cstring>converterFromCO</cstring>
</property>
</widget>
</item>
<item>
<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>
</layout>
</item>
</layout>
</item>
<item row="3" column="0" colspan="2" >
<layout class="QHBoxLayout" >
<property name="margin" >
<number>0</number>
</property>
<property name="spacing" >
<number>6</number>
</property>
<item>
<widget class="QLabel" name="converterFlagLA" >
<property name="text" > <property name="text" >
<string>&amp;To format:</string> <string>E&amp;xtra flag:</string>
</property> </property>
<property name="buddy" > <property name="buddy" >
<cstring>converterFromCO</cstring> <cstring>converterFlagED</cstring>
</property> </property>
</widget> </widget>
</item> </item>
<item> <item>
<widget class="QComboBox" name="converterToCO" > <widget class="QLineEdit" name="converterFlagED" />
<property name="sizePolicy" > </item>
<sizepolicy> </layout>
<hsizetype>3</hsizetype> </item>
<vsizetype>0</vsizetype> <item row="2" column="0" colspan="2" >
<horstretch>0</horstretch> <layout class="QHBoxLayout" >
<verstretch>0</verstretch> <property name="margin" >
</sizepolicy> <number>0</number>
</property>
<property name="spacing" >
<number>6</number>
</property>
<item>
<widget class="QLabel" name="converterLA" >
<property name="text" >
<string>C&amp;onverter:</string>
</property>
<property name="buddy" >
<cstring>converterED</cstring>
</property> </property>
</widget> </widget>
</item> </item>
<item>
<widget class="QLineEdit" name="converterED" />
</item>
</layout> </layout>
</item> </item>
</layout> </layout>
</item> </widget>
<item row="3" column="0" colspan="2" > </item>
<layout class="QHBoxLayout" > </layout>
<property name="margin" >
<number>0</number>
</property>
<property name="spacing" >
<number>6</number>
</property>
<item>
<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>
<widget class="QLineEdit" name="converterFlagED" />
</item>
</layout>
</item>
<item row="2" column="0" colspan="2" >
<layout class="QHBoxLayout" >
<property name="margin" >
<number>0</number>
</property>
<property name="spacing" >
<number>6</number>
</property>
<item>
<widget class="QLabel" name="converterLA" >
<property name="text" >
<string>C&amp;onverter:</string>
</property>
<property name="buddy" >
<cstring>converterED</cstring>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="converterED" />
</item>
</layout>
</item>
</layout>
</widget>
</widget> </widget>
<tabstops> <tabstops>
<tabstop>convertersLW</tabstop> <tabstop>convertersLW</tabstop>