* layout tweak

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18332 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Edwin Leuven 2007-05-15 07:22:55 +00:00
parent 33b2331867
commit ccc639d842

View File

@ -5,8 +5,8 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>315</width> <width>371</width>
<height>379</height> <height>374</height>
</rect> </rect>
</property> </property>
<property name="windowTitle" > <property name="windowTitle" >
@ -15,154 +15,143 @@
<property name="sizeGripEnabled" > <property name="sizeGripEnabled" >
<bool>true</bool> <bool>true</bool>
</property> </property>
<layout class="QVBoxLayout" > <layout class="QGridLayout" >
<property name="margin" > <property name="margin" >
<number>9</number> <number>9</number>
</property> </property>
<property name="spacing" > <property name="spacing" >
<number>6</number> <number>6</number>
</property> </property>
<item> <item row="3" column="0" colspan="5" >
<layout class="QHBoxLayout" > <widget class="QGroupBox" name="listingsGB" >
<property name="margin" > <property name="sizePolicy" >
<number>0</number> <sizepolicy>
<hsizetype>7</hsizetype>
<vsizetype>7</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property> </property>
<property name="spacing" > <property name="title" >
<number>6</number> <string>Listing Params</string>
</property> </property>
<item> <layout class="QGridLayout" >
<layout class="QVBoxLayout" > <property name="margin" >
<property name="margin" > <number>9</number>
<number>0</number> </property>
</property> <property name="spacing" >
<property name="spacing" > <number>6</number>
<number>6</number> </property>
</property> <item row="3" column="1" >
<item> <widget class="QTextEdit" name="listingsED" >
<layout class="QHBoxLayout" > <property name="sizePolicy" >
<property name="margin" > <sizepolicy>
<number>0</number> <hsizetype>5</hsizetype>
</property> <vsizetype>7</vsizetype>
<property name="spacing" > <horstretch>0</horstretch>
<number>6</number> <verstretch>0</verstretch>
</property> </sizepolicy>
<item> </property>
<widget class="QLabel" name="filenameLA" > <property name="minimumSize" >
<property name="toolTip" > <size>
<string/> <width>0</width>
</property> <height>0</height>
<property name="text" > </size>
<string>&amp;File:</string> </property>
</property> </widget>
<property name="buddy" > </item>
<cstring>filenameED</cstring> <item row="0" column="1" >
</property> <widget class="QLineEdit" name="captionLE" >
</widget> <property name="minimumSize" >
</item> <size>
<item> <width>150</width>
<widget class="QLineEdit" name="filenameED" > <height>0</height>
<property name="toolTip" > </size>
<string>File name to include</string> </property>
</property> </widget>
</widget> </item>
</item> <item row="0" column="0" >
</layout> <widget class="QLabel" name="captionLabel" >
</item> <property name="text" >
<item> <string>C&amp;aption:</string>
<layout class="QHBoxLayout" > </property>
<property name="margin" > <property name="buddy" >
<number>0</number> <cstring>captionLE</cstring>
</property> </property>
<property name="spacing" > </widget>
<number>6</number> </item>
</property> <item row="1" column="1" >
<item> <widget class="QLineEdit" name="labelLE" />
<widget class="QLabel" name="TextLabel1" > </item>
<property name="text" > <item row="1" column="0" >
<string>&amp;Include Type:</string> <widget class="QLabel" name="labelLabel" >
</property> <property name="text" >
<property name="buddy" > <string>La&amp;bel:</string>
<cstring>typeCO</cstring> </property>
</property> <property name="buddy" >
</widget> <cstring>labelLE</cstring>
</item> </property>
<item> </widget>
<widget class="QComboBox" name="typeCO" > </item>
<item> <item row="2" column="0" colspan="2" >
<property name="text" > <widget class="QLabel" name="label_3" >
<string>Include</string> <property name="text" >
</property> <string>Mo&amp;re parameters</string>
</item> </property>
<item> <property name="buddy" >
<property name="text" > <cstring>listingsED</cstring>
<string>Input</string> </property>
</property> </widget>
</item> </item>
<item> <item row="3" column="0" >
<property name="text" > <widget class="QTextBrowser" name="listingsTB" >
<string>Verbatim</string> <property name="sizePolicy" >
</property> <sizepolicy>
</item> <hsizetype>0</hsizetype>
<item> <vsizetype>7</vsizetype>
<property name="text" > <horstretch>0</horstretch>
<string>Listings</string> <verstretch>0</verstretch>
</property> </sizepolicy>
</item> </property>
</widget> <property name="minimumSize" >
</item> <size>
<item> <width>0</width>
<spacer> <height>0</height>
<property name="orientation" > </size>
<enum>Qt::Horizontal</enum> </property>
</property> <property name="maximumSize" >
<property name="sizeType" > <size>
<enum>QSizePolicy::Expanding</enum> <width>120</width>
</property> <height>16777215</height>
<property name="sizeHint" > </size>
<size> </property>
<width>28</width> <property name="cursor" >
<height>28</height> <cursor>0</cursor>
</size> </property>
</property> <property name="focusPolicy" >
</spacer> <enum>Qt::NoFocus</enum>
</item> </property>
</layout> <property name="acceptDrops" >
</item> <bool>true</bool>
</layout> </property>
</item> <property name="frameShape" >
<item> <enum>QFrame::NoFrame</enum>
<layout class="QVBoxLayout" > </property>
<property name="margin" > <property name="frameShadow" >
<number>0</number> <enum>QFrame::Plain</enum>
</property> </property>
<property name="spacing" > <property name="lineWidth" >
<number>6</number> <number>0</number>
</property> </property>
<item> <property name="acceptRichText" >
<widget class="QPushButton" name="browsePB" > <bool>false</bool>
<property name="toolTip" > </property>
<string>Select a file</string> </widget>
</property> </item>
<property name="text" > </layout>
<string>&amp;Browse...</string> </widget>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="loadPB" >
<property name="toolTip" >
<string>Load the file</string>
</property>
<property name="text" >
<string>&amp;Load</string>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</item> </item>
<item> <item row="2" column="0" colspan="5" >
<layout class="QHBoxLayout" > <layout class="QHBoxLayout" >
<property name="margin" > <property name="margin" >
<number>0</number> <number>0</number>
@ -208,144 +197,7 @@
</item> </item>
</layout> </layout>
</item> </item>
<item> <item row="4" column="0" colspan="5" >
<widget class="QGroupBox" name="listingsGB" >
<property name="sizePolicy" >
<sizepolicy>
<hsizetype>7</hsizetype>
<vsizetype>7</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="title" >
<string>Listing Params</string>
</property>
<layout class="QVBoxLayout" >
<property name="margin" >
<number>9</number>
</property>
<property name="spacing" >
<number>6</number>
</property>
<item>
<layout class="QHBoxLayout" >
<property name="margin" >
<number>0</number>
</property>
<property name="spacing" >
<number>6</number>
</property>
<item>
<layout class="QGridLayout" >
<property name="margin" >
<number>0</number>
</property>
<property name="spacing" >
<number>6</number>
</property>
<item row="1" column="0" >
<widget class="QLabel" name="labelLabel" >
<property name="text" >
<string>Label</string>
</property>
</widget>
</item>
<item row="0" column="1" >
<widget class="QLineEdit" name="captionLE" >
<property name="minimumSize" >
<size>
<width>150</width>
<height>0</height>
</size>
</property>
</widget>
</item>
<item row="0" column="0" >
<widget class="QLabel" name="captionLabel" >
<property name="text" >
<string>Caption</string>
</property>
</widget>
</item>
<item row="1" column="1" >
<widget class="QLineEdit" name="labelLE" />
</item>
</layout>
</item>
<item>
<spacer>
<property name="orientation" >
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" >
<size>
<width>20</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout>
</item>
<item>
<widget class="QLabel" name="label_3" >
<property name="text" >
<string>More parameters</string>
</property>
</widget>
</item>
<item>
<widget class="QSplitter" name="splitter" >
<property name="orientation" >
<enum>Qt::Horizontal</enum>
</property>
<widget class="QTextBrowser" name="listingsTB" >
<property name="minimumSize" >
<size>
<width>0</width>
<height>0</height>
</size>
</property>
<property name="maximumSize" >
<size>
<width>200</width>
<height>16777215</height>
</size>
</property>
<property name="cursor" >
<cursor>0</cursor>
</property>
<property name="acceptDrops" >
<bool>false</bool>
</property>
<property name="frameShape" >
<enum>QFrame::NoFrame</enum>
</property>
<property name="frameShadow" >
<enum>QFrame::Plain</enum>
</property>
<property name="lineWidth" >
<number>0</number>
</property>
<property name="acceptRichText" >
<bool>false</bool>
</property>
</widget>
<widget class="QTextEdit" name="listingsED" >
<property name="minimumSize" >
<size>
<width>0</width>
<height>0</height>
</size>
</property>
</widget>
</widget>
</item>
</layout>
</widget>
</item>
<item>
<layout class="QHBoxLayout" > <layout class="QHBoxLayout" >
<property name="margin" > <property name="margin" >
<number>0</number> <number>0</number>
@ -388,11 +240,99 @@
</item> </item>
</layout> </layout>
</item> </item>
<item row="0" column="0" >
<widget class="QLabel" name="filenameLA" >
<property name="toolTip" >
<string/>
</property>
<property name="text" >
<string>&amp;File:</string>
</property>
<property name="buddy" >
<cstring>filenameED</cstring>
</property>
</widget>
</item>
<item row="0" column="1" colspan="3" >
<widget class="QLineEdit" name="filenameED" >
<property name="toolTip" >
<string>File name to include</string>
</property>
</widget>
</item>
<item row="1" column="0" colspan="2" >
<widget class="QLabel" name="TextLabel1" >
<property name="text" >
<string>&amp;Include Type:</string>
</property>
<property name="buddy" >
<cstring>typeCO</cstring>
</property>
</widget>
</item>
<item row="1" column="2" >
<widget class="QComboBox" name="typeCO" >
<item>
<property name="text" >
<string>Include</string>
</property>
</item>
<item>
<property name="text" >
<string>Input</string>
</property>
</item>
<item>
<property name="text" >
<string>Verbatim</string>
</property>
</item>
<item>
<property name="text" >
<string>Listings</string>
</property>
</item>
</widget>
</item>
<item row="1" column="3" >
<spacer>
<property name="orientation" >
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeType" >
<enum>QSizePolicy::Expanding</enum>
</property>
<property name="sizeHint" >
<size>
<width>28</width>
<height>28</height>
</size>
</property>
</spacer>
</item>
<item row="0" column="4" >
<widget class="QPushButton" name="browsePB" >
<property name="toolTip" >
<string>Select a file</string>
</property>
<property name="text" >
<string>&amp;Browse...</string>
</property>
</widget>
</item>
<item row="1" column="4" >
<widget class="QPushButton" name="loadPB" >
<property name="toolTip" >
<string>Load the file</string>
</property>
<property name="text" >
<string>&amp;Load</string>
</property>
</widget>
</item>
</layout> </layout>
</widget> </widget>
<tabstops> <tabstops>
<tabstop>okPB</tabstop>
<tabstop>closePB</tabstop>
<tabstop>filenameED</tabstop> <tabstop>filenameED</tabstop>
<tabstop>browsePB</tabstop> <tabstop>browsePB</tabstop>
<tabstop>typeCO</tabstop> <tabstop>typeCO</tabstop>
@ -403,6 +343,8 @@
<tabstop>labelLE</tabstop> <tabstop>labelLE</tabstop>
<tabstop>listingsTB</tabstop> <tabstop>listingsTB</tabstop>
<tabstop>listingsED</tabstop> <tabstop>listingsED</tabstop>
<tabstop>okPB</tabstop>
<tabstop>closePB</tabstop>
</tabstops> </tabstops>
<includes> <includes>
<include location="local" >qt_helpers.h</include> <include location="local" >qt_helpers.h</include>