Layout improvements

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15538 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Edwin Leuven 2006-10-24 17:52:37 +00:00
parent b86a8d09b3
commit d539ab8282
3 changed files with 371 additions and 377 deletions

View 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" >
@ -22,36 +22,20 @@
<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>
@ -91,75 +75,95 @@
</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>
<spacer>
<property name="orientation" >
<enum>Qt::Vertical</enum>
</property>
<property name="buddy" >
<cstring>converterED</cstring>
<property name="sizeType" >
<enum>QSizePolicy::Expanding</enum>
</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 name="sizeHint" >
<size>
<width>121</width>
<height>112</height>
</size>
</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>
</property>
<property name="text" >
<string>&amp;To:</string>
</property>
<property name="buddy" >
<cstring>converterToCO</cstring>
</property>
</widget>
</spacer>
</item>
<item row="1" column="1" >
<widget class="QLabel" name="converterFromLA" >
<property name="text" >
<string>&amp;From:</string>
<layout class="QGridLayout" >
<property name="margin" >
<number>0</number>
</property>
<property name="buddy" >
<cstring>converterFromCO</cstring>
<property name="spacing" >
<number>6</number>
</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>
</property>
<property name="buddy" >
<cstring>converterFlagED</cstring>
</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" >
@ -171,7 +175,7 @@
</property>
</widget>
</item>
<item row="7" column="0" >
<item row="4" column="0" >
<layout class="QHBoxLayout" >
<property name="margin" >
<number>0</number>
@ -204,12 +208,9 @@
</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>

View 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" >
@ -22,20 +22,40 @@
<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>
@ -48,13 +68,76 @@
<property name="orientation" >
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeType" >
<enum>QSizePolicy::Expanding</enum>
<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>90</width>
<height>31</height>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
@ -75,103 +158,6 @@
</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" >
<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="sizeType" >
<enum>QSizePolicy::Preferred</enum>
</property>
<property name="sizeHint" >
<size>
<width>20</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="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>

View 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" >
@ -22,180 +22,10 @@
<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 rowspan="5" row="1" column="0" >
<widget class="QListWidget" name="formatsLW" />
</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>
<item row="3" column="1" colspan="3" >
<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>31</height>
</size>
</property>
</spacer>
</item>
<item row="1" column="1" colspan="3" >
<layout class="QGridLayout" >
<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="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" >
<property name="text" >
<string>&amp;GUI name:</string>
</property>
<property name="buddy" >
<cstring>guiNameED</cstring>
</property>
</widget>
</item>
<item row="0" column="0" >
<widget class="QLabel" name="formatLA" >
<property name="text" >
<string>F&amp;ormat:</string>
</property>
<property name="buddy" >
<cstring>formatED</cstring>
</property>
</widget>
</item>
<item row="1" column="1" >
<widget class="QLineEdit" name="guiNameED" />
</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>
<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="0" column="1" >
<widget class="QLineEdit" name="formatED" />
</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="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="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>
<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>
<property name="text" >
<string>Vector graphi&amp;cs format</string>
</property>
</widget>
</item>
</layout>
</item>
<item row="4" column="0" >
<item row="6" column="0" >
<layout class="QHBoxLayout" >
<property name="margin" >
<number>0</number>
@ -208,12 +38,9 @@
<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>
@ -228,8 +55,119 @@
</item>
</layout>
</item>
<item rowspan="3" row="1" column="0" >
<widget class="QListWidget" name="formatsLW" />
<item row="1" column="1" >
<layout class="QGridLayout" >
<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" >
<property name="text" >
<string>F&amp;ormat:</string>
</property>
<property name="buddy" >
<cstring>formatED</cstring>
</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" >
<property name="text" >
<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="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" >
@ -241,6 +179,75 @@
</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>
</property>
<property name="spacing" >
<number>6</number>
</property>
<item>
<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>
<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>
</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>