lyx_mirror/src/frontends/qt2/ui/QParagraphDialogBase.ui
Jürgen Spitzmüller 98584b07ac Restore lost connections in the Qt paragraph dialog
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8155 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-29 15:49:10 +00:00

460 lines
16 KiB
XML

<!DOCTYPE UI><UI>
<class>QParagraphDialogBase</class>
<include location="global">config.h</include>
<include location="local">qt_helpers.h</include>
<widget>
<class>QDialog</class>
<property stdset="1">
<name>name</name>
<cstring>QParagraphDialogBase</cstring>
</property>
<property stdset="1">
<name>geometry</name>
<rect>
<x>0</x>
<y>0</y>
<width>400</width>
<height>214</height>
</rect>
</property>
<property stdset="1">
<name>caption</name>
<string>Form1</string>
</property>
<property stdset="1">
<name>sizeGripEnabled</name>
<bool>true</bool>
</property>
<grid>
<property stdset="1">
<name>margin</name>
<number>11</number>
</property>
<property stdset="1">
<name>spacing</name>
<number>6</number>
</property>
<widget row="1" column="1" >
<class>QComboBox</class>
<item>
<property>
<name>text</name>
<string>Default</string>
</property>
</item>
<item>
<property>
<name>text</name>
<string>Single</string>
</property>
</item>
<item>
<property>
<name>text</name>
<string>1.5</string>
</property>
</item>
<item>
<property>
<name>text</name>
<string>Double</string>
</property>
</item>
<item>
<property>
<name>text</name>
<string>Custom</string>
</property>
</item>
<property stdset="1">
<name>name</name>
<cstring>linespacing</cstring>
</property>
</widget>
<widget row="1" column="0" >
<class>QLabel</class>
<property stdset="1">
<name>name</name>
<cstring>linespacingL</cstring>
</property>
<property stdset="1">
<name>text</name>
<string>L&amp;ine spacing:</string>
</property>
<property>
<name>buddy</name>
<cstring>linespacing</cstring>
</property>
</widget>
<widget row="0" column="1" >
<class>QComboBox</class>
<item>
<property>
<name>text</name>
<string>Justified</string>
</property>
</item>
<item>
<property>
<name>text</name>
<string>Left</string>
</property>
</item>
<item>
<property>
<name>text</name>
<string>Right</string>
</property>
</item>
<item>
<property>
<name>text</name>
<string>Center</string>
</property>
</item>
<property stdset="1">
<name>name</name>
<cstring>align</cstring>
</property>
</widget>
<widget row="0" column="0" >
<class>QLabel</class>
<property stdset="1">
<name>name</name>
<cstring>alignL</cstring>
</property>
<property stdset="1">
<name>text</name>
<string>Alig&amp;nment:</string>
</property>
<property>
<name>buddy</name>
<cstring>align</cstring>
</property>
</widget>
<widget row="0" column="2" rowspan="2" colspan="1" >
<class>QLayoutWidget</class>
<property stdset="1">
<name>name</name>
<cstring>Layout4</cstring>
</property>
<vbox>
<property stdset="1">
<name>margin</name>
<number>0</number>
</property>
<property stdset="1">
<name>spacing</name>
<number>6</number>
</property>
<spacer>
<property>
<name>name</name>
<cstring>Spacer3</cstring>
</property>
<property stdset="1">
<name>orientation</name>
<enum>Horizontal</enum>
</property>
<property stdset="1">
<name>sizeType</name>
<enum>Expanding</enum>
</property>
<property>
<name>sizeHint</name>
<size>
<width>20</width>
<height>20</height>
</size>
</property>
</spacer>
<widget>
<class>QLineEdit</class>
<property stdset="1">
<name>name</name>
<cstring>linespacingValue</cstring>
</property>
<property stdset="1">
<name>enabled</name>
<bool>false</bool>
</property>
</widget>
</vbox>
</widget>
<widget row="2" column="0" rowspan="1" colspan="3" >
<class>QLayoutWidget</class>
<property stdset="1">
<name>name</name>
<cstring>Layout5</cstring>
</property>
<hbox>
<property stdset="1">
<name>margin</name>
<number>0</number>
</property>
<property stdset="1">
<name>spacing</name>
<number>6</number>
</property>
<widget>
<class>QCheckBox</class>
<property stdset="1">
<name>name</name>
<cstring>indentCB</cstring>
</property>
<property stdset="1">
<name>text</name>
<string>In&amp;dent paragraph</string>
</property>
</widget>
<spacer>
<property>
<name>name</name>
<cstring>Spacer14</cstring>
</property>
<property stdset="1">
<name>orientation</name>
<enum>Horizontal</enum>
</property>
<property stdset="1">
<name>sizeType</name>
<enum>Expanding</enum>
</property>
<property>
<name>sizeHint</name>
<size>
<width>20</width>
<height>20</height>
</size>
</property>
</spacer>
</hbox>
</widget>
<widget row="3" column="0" rowspan="1" colspan="3" >
<class>QButtonGroup</class>
<property stdset="1">
<name>name</name>
<cstring>labelwidthGB</cstring>
</property>
<property stdset="1">
<name>enabled</name>
<bool>false</bool>
</property>
<property stdset="1">
<name>title</name>
<string>Label Width</string>
</property>
<grid>
<property stdset="1">
<name>margin</name>
<number>11</number>
</property>
<property stdset="1">
<name>spacing</name>
<number>6</number>
</property>
<widget row="0" column="1" >
<class>QLineEdit</class>
<property stdset="1">
<name>name</name>
<cstring>labelWidth</cstring>
</property>
<property>
<name>toolTip</name>
<string>This text defines the width of the paragraph label</string>
</property>
</widget>
<widget row="0" column="0" >
<class>QLabel</class>
<property stdset="1">
<name>name</name>
<cstring>TextLabel2</cstring>
</property>
<property stdset="1">
<name>text</name>
<string>Lo&amp;ngest label</string>
</property>
<property>
<name>buddy</name>
<cstring>labelWidth</cstring>
</property>
<property>
<name>toolTip</name>
<string>This text defines the width of the paragraph label</string>
</property>
</widget>
</grid>
</widget>
<spacer row="4" column="2" >
<property>
<name>name</name>
<cstring>Spacer5</cstring>
</property>
<property stdset="1">
<name>orientation</name>
<enum>Vertical</enum>
</property>
<property stdset="1">
<name>sizeType</name>
<enum>Expanding</enum>
</property>
<property>
<name>sizeHint</name>
<size>
<width>20</width>
<height>20</height>
</size>
</property>
</spacer>
<widget row="5" column="0" rowspan="1" colspan="3" >
<class>QLayoutWidget</class>
<property stdset="1">
<name>name</name>
<cstring>Layout1</cstring>
</property>
<hbox>
<property stdset="1">
<name>margin</name>
<number>0</number>
</property>
<property stdset="1">
<name>spacing</name>
<number>6</number>
</property>
<widget>
<class>QPushButton</class>
<property stdset="1">
<name>name</name>
<cstring>restorePB</cstring>
</property>
<property stdset="1">
<name>text</name>
<string>&amp;Restore</string>
</property>
<property stdset="1">
<name>autoDefault</name>
<bool>false</bool>
</property>
</widget>
<spacer>
<property>
<name>name</name>
<cstring>Spacer1</cstring>
</property>
<property stdset="1">
<name>orientation</name>
<enum>Horizontal</enum>
</property>
<property stdset="1">
<name>sizeType</name>
<enum>Expanding</enum>
</property>
<property>
<name>sizeHint</name>
<size>
<width>20</width>
<height>20</height>
</size>
</property>
</spacer>
<widget>
<class>QPushButton</class>
<property stdset="1">
<name>name</name>
<cstring>okPB</cstring>
</property>
<property stdset="1">
<name>text</name>
<string>&amp;OK</string>
</property>
<property stdset="1">
<name>autoDefault</name>
<bool>false</bool>
</property>
<property stdset="1">
<name>default</name>
<bool>true</bool>
</property>
</widget>
<widget>
<class>QPushButton</class>
<property stdset="1">
<name>name</name>
<cstring>applyPB</cstring>
</property>
<property stdset="1">
<name>text</name>
<string>&amp;Apply</string>
</property>
<property stdset="1">
<name>autoDefault</name>
<bool>false</bool>
</property>
</widget>
<widget>
<class>QPushButton</class>
<property stdset="1">
<name>name</name>
<cstring>closePB</cstring>
</property>
<property stdset="1">
<name>text</name>
<string>&amp;Close</string>
</property>
<property stdset="1">
<name>autoDefault</name>
<bool>false</bool>
</property>
</widget>
</hbox>
</widget>
</grid>
</widget>
<connections>
<connection>
<sender>align</sender>
<signal>activated(int)</signal>
<receiver>QParagraphDialogBase</receiver>
<slot>change_adaptor()</slot>
</connection>
<connection>
<sender>linespacing</sender>
<signal>activated(int)</signal>
<receiver>QParagraphDialogBase</receiver>
<slot>change_adaptor()</slot>
</connection>
<connection>
<sender>linespacing</sender>
<signal>activated(int)</signal>
<receiver>QParagraphDialogBase</receiver>
<slot>enableLinespacingValue(int)</slot>
</connection>
<connection>
<sender>linespacingValue</sender>
<signal>textChanged(const QString&amp;)</signal>
<receiver>QParagraphDialogBase</receiver>
<slot>change_adaptor()</slot>
</connection>
<connection>
<sender>indentCB</sender>
<signal>toggled(bool)</signal>
<receiver>QParagraphDialogBase</receiver>
<slot>change_adaptor()</slot>
</connection>
<connection>
<sender>labelWidth</sender>
<signal>textChanged(const QString&amp;)</signal>
<receiver>QParagraphDialogBase</receiver>
<slot>change_adaptor()</slot>
</connection>
<slot access="protected">change_adaptor()</slot>
<slot access="protected">enableLinespacingValue(int)</slot>
</connections>
<tabstops>
<tabstop>restorePB</tabstop>
<tabstop>okPB</tabstop>
<tabstop>applyPB</tabstop>
<tabstop>closePB</tabstop>
</tabstops>
</UI>