lyx_mirror/src/frontends/qt2/ui/QParagraphDialog.ui
Edwin Leuven 9a4842fc84 Add paragraph dialog to qt2 frontend. First commit, I am sure it can be done better but it works.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4683 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-17 15:51:23 +00:00

882 lines
35 KiB
XML

<!DOCTYPE UI><UI>
<class>QParagraphDialogBase</class>
<include location="global">config.h</include>
<include location="local">gettext.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>403</width>
<height>292</height>
</rect>
</property>
<property stdset="1">
<name>caption</name>
<string>Form1</string>
</property>
<vbox>
<property stdset="1">
<name>margin</name>
<number>11</number>
</property>
<property stdset="1">
<name>spacing</name>
<number>6</number>
</property>
<widget>
<class>QTabWidget</class>
<property stdset="1">
<name>name</name>
<cstring>paragraphTab</cstring>
</property>
<property>
<name>toolTip</name>
<string></string>
</property>
<widget>
<class>QWidget</class>
<property stdset="1">
<name>name</name>
<cstring>tab</cstring>
</property>
<attribute>
<name>title</name>
<string>&amp;General</string>
</attribute>
<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>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="1" column="2" >
<class>QLineEdit</class>
<property stdset="1">
<name>name</name>
<cstring>linespacingValue</cstring>
</property>
<property stdset="1">
<name>enabled</name>
<bool>false</bool>
</property>
</widget>
<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="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="2" column="0" rowspan="1" colspan="2" >
<class>QCheckBox</class>
<property stdset="1">
<name>name</name>
<cstring>noindent</cstring>
</property>
<property stdset="1">
<name>text</name>
<string>No &amp;indent</string>
</property>
</widget>
</grid>
</widget>
<widget>
<class>QWidget</class>
<property stdset="1">
<name>name</name>
<cstring>tab</cstring>
</property>
<attribute>
<name>title</name>
<string>&amp;Spacing</string>
</attribute>
<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>QLabel</class>
<property stdset="1">
<name>name</name>
<cstring>aboveL</cstring>
</property>
<property stdset="1">
<name>text</name>
<string>Above paragraph</string>
</property>
<property stdset="1">
<name>alignment</name>
<set>AlignCenter</set>
</property>
<property>
<name>hAlign</name>
</property>
</widget>
<widget row="1" column="0" >
<class>QLabel</class>
<property stdset="1">
<name>name</name>
<cstring>spacingL</cstring>
</property>
<property stdset="1">
<name>text</name>
<string>S&amp;pacing:</string>
</property>
<property>
<name>buddy</name>
<cstring>spacingAbove</cstring>
</property>
</widget>
<widget row="4" column="0" >
<class>QLabel</class>
<property stdset="1">
<name>name</name>
<cstring>keepL</cstring>
</property>
<property stdset="1">
<name>text</name>
<string>&amp;Keep space:</string>
</property>
<property>
<name>buddy</name>
<cstring>keepAbove</cstring>
</property>
</widget>
<widget row="3" column="0" >
<class>QLabel</class>
<property stdset="1">
<name>name</name>
<cstring>unitL</cstring>
</property>
<property stdset="1">
<name>text</name>
<string>&amp;Unit:</string>
</property>
<property>
<name>buddy</name>
<cstring>unitAbove</cstring>
</property>
</widget>
<widget row="2" column="0" >
<class>QLabel</class>
<property stdset="1">
<name>name</name>
<cstring>valueL</cstring>
</property>
<property stdset="1">
<name>text</name>
<string>&amp;Value:</string>
</property>
<property>
<name>buddy</name>
<cstring>valueAbove</cstring>
</property>
</widget>
<widget row="1" column="1" >
<class>QComboBox</class>
<item>
<property>
<name>text</name>
<string>None</string>
</property>
</item>
<item>
<property>
<name>text</name>
<string>DefSkip</string>
</property>
</item>
<item>
<property>
<name>text</name>
<string>SmallSkip</string>
</property>
</item>
<item>
<property>
<name>text</name>
<string>MedSkip</string>
</property>
</item>
<item>
<property>
<name>text</name>
<string>BigSkip</string>
</property>
</item>
<item>
<property>
<name>text</name>
<string>VFill</string>
</property>
</item>
<item>
<property>
<name>text</name>
<string>Custom</string>
</property>
</item>
<property stdset="1">
<name>name</name>
<cstring>spacingAbove</cstring>
</property>
</widget>
<widget row="1" column="2" >
<class>QComboBox</class>
<item>
<property>
<name>text</name>
<string>None</string>
</property>
</item>
<item>
<property>
<name>text</name>
<string>DefSkip</string>
</property>
</item>
<item>
<property>
<name>text</name>
<string>SmallSkip</string>
</property>
</item>
<item>
<property>
<name>text</name>
<string>MedSkip</string>
</property>
</item>
<item>
<property>
<name>text</name>
<string>BigSkip</string>
</property>
</item>
<item>
<property>
<name>text</name>
<string>VFill</string>
</property>
</item>
<item>
<property>
<name>text</name>
<string>Custom</string>
</property>
</item>
<property stdset="1">
<name>name</name>
<cstring>spacingBelow</cstring>
</property>
</widget>
<widget row="2" column="1" >
<class>QLineEdit</class>
<property stdset="1">
<name>name</name>
<cstring>valueAbove</cstring>
</property>
<property stdset="1">
<name>enabled</name>
<bool>false</bool>
</property>
</widget>
<widget row="2" column="2" >
<class>QLineEdit</class>
<property stdset="1">
<name>name</name>
<cstring>valueBelow</cstring>
</property>
<property stdset="1">
<name>enabled</name>
<bool>false</bool>
</property>
</widget>
<widget row="3" column="1" >
<class>QComboBox</class>
<property stdset="1">
<name>name</name>
<cstring>unitAbove</cstring>
</property>
<property stdset="1">
<name>enabled</name>
<bool>false</bool>
</property>
</widget>
<widget row="3" column="2" >
<class>QComboBox</class>
<property stdset="1">
<name>name</name>
<cstring>unitBelow</cstring>
</property>
<property stdset="1">
<name>enabled</name>
<bool>false</bool>
</property>
</widget>
<widget row="4" column="1" >
<class>QCheckBox</class>
<property stdset="1">
<name>name</name>
<cstring>keepAbove</cstring>
</property>
<property stdset="1">
<name>text</name>
<string></string>
</property>
</widget>
<widget row="4" column="2" >
<class>QCheckBox</class>
<property stdset="1">
<name>name</name>
<cstring>keepBelow</cstring>
</property>
<property stdset="1">
<name>text</name>
<string></string>
</property>
</widget>
<widget row="0" column="2" >
<class>QLabel</class>
<property stdset="1">
<name>name</name>
<cstring>belowL</cstring>
</property>
<property stdset="1">
<name>text</name>
<string>Below paragraph</string>
</property>
<property stdset="1">
<name>alignment</name>
<set>AlignCenter</set>
</property>
<property>
<name>hAlign</name>
</property>
</widget>
<spacer row="5" column="0" rowspan="1" colspan="3" >
<property>
<name>name</name>
<cstring>Spacer7</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>
</grid>
</widget>
<widget>
<class>QWidget</class>
<property stdset="1">
<name>name</name>
<cstring>tab</cstring>
</property>
<attribute>
<name>title</name>
<string>&amp;Lines &amp;&amp; Pagebreaks</string>
</attribute>
<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="0" rowspan="1" colspan="2" >
<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>
<hbox>
<property stdset="1">
<name>margin</name>
<number>11</number>
</property>
<property stdset="1">
<name>spacing</name>
<number>6</number>
</property>
<widget>
<class>QLabel</class>
<property stdset="1">
<name>name</name>
<cstring>TextLabel2</cstring>
</property>
<property stdset="1">
<name>text</name>
<string>Lon&amp;gest label</string>
</property>
<property>
<name>buddy</name>
<cstring>labelWidth</cstring>
</property>
</widget>
<widget>
<class>QLineEdit</class>
<property stdset="1">
<name>name</name>
<cstring>labelWidth</cstring>
</property>
</widget>
</hbox>
</widget>
<widget row="0" column="0" >
<class>QGroupBox</class>
<property stdset="1">
<name>name</name>
<cstring>linesGB</cstring>
</property>
<property stdset="1">
<name>title</name>
<string>L&amp;ines</string>
</property>
<vbox>
<property stdset="1">
<name>margin</name>
<number>11</number>
</property>
<property stdset="1">
<name>spacing</name>
<number>6</number>
</property>
<widget>
<class>QCheckBox</class>
<property stdset="1">
<name>name</name>
<cstring>lineAbove</cstring>
</property>
<property stdset="1">
<name>text</name>
<string>A&amp;bove</string>
</property>
</widget>
<widget>
<class>QCheckBox</class>
<property stdset="1">
<name>name</name>
<cstring>lineBelow</cstring>
</property>
<property stdset="1">
<name>text</name>
<string>B&amp;elow</string>
</property>
</widget>
</vbox>
</widget>
<widget row="0" column="1" >
<class>QGroupBox</class>
<property stdset="1">
<name>name</name>
<cstring>pagebreakGB</cstring>
</property>
<property stdset="1">
<name>title</name>
<string>&amp;Page breaks</string>
</property>
<vbox>
<property stdset="1">
<name>margin</name>
<number>11</number>
</property>
<property stdset="1">
<name>spacing</name>
<number>6</number>
</property>
<widget>
<class>QCheckBox</class>
<property stdset="1">
<name>name</name>
<cstring>pagebreakAbove</cstring>
</property>
<property stdset="1">
<name>text</name>
<string>Abo&amp;ve</string>
</property>
</widget>
<widget>
<class>QCheckBox</class>
<property stdset="1">
<name>name</name>
<cstring>pagebreakBelow</cstring>
</property>
<property stdset="1">
<name>text</name>
<string>Belo&amp;w</string>
</property>
</widget>
</vbox>
</widget>
</grid>
</widget>
</widget>
<widget>
<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>
</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>
</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>
</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>
</widget>
</hbox>
</widget>
</vbox>
</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>noindent</sender>
<signal>toggled(bool)</signal>
<receiver>QParagraphDialogBase</receiver>
<slot>change_adaptor()</slot>
</connection>
<connection>
<sender>spacingAbove</sender>
<signal>activated(int)</signal>
<receiver>QParagraphDialogBase</receiver>
<slot>change_adaptor()</slot>
</connection>
<connection>
<sender>spacingAbove</sender>
<signal>activated(int)</signal>
<receiver>QParagraphDialogBase</receiver>
<slot>enableAbove(int)</slot>
</connection>
<connection>
<sender>valueAbove</sender>
<signal>textChanged(const QString&amp;)</signal>
<receiver>QParagraphDialogBase</receiver>
<slot>change_adaptor()</slot>
</connection>
<connection>
<sender>unitAbove</sender>
<signal>activated(int)</signal>
<receiver>QParagraphDialogBase</receiver>
<slot>change_adaptor()</slot>
</connection>
<connection>
<sender>keepAbove</sender>
<signal>toggled(bool)</signal>
<receiver>QParagraphDialogBase</receiver>
<slot>change_adaptor()</slot>
</connection>
<connection>
<sender>spacingBelow</sender>
<signal>activated(int)</signal>
<receiver>QParagraphDialogBase</receiver>
<slot>enableBelow(int)</slot>
</connection>
<connection>
<sender>spacingBelow</sender>
<signal>activated(int)</signal>
<receiver>QParagraphDialogBase</receiver>
<slot>change_adaptor()</slot>
</connection>
<connection>
<sender>valueBelow</sender>
<signal>textChanged(const QString&amp;)</signal>
<receiver>QParagraphDialogBase</receiver>
<slot>change_adaptor()</slot>
</connection>
<connection>
<sender>valueBelow</sender>
<signal>textChanged(const QString&amp;)</signal>
<receiver>QParagraphDialogBase</receiver>
<slot>change_adaptor()</slot>
</connection>
<connection>
<sender>unitBelow</sender>
<signal>activated(int)</signal>
<receiver>QParagraphDialogBase</receiver>
<slot>change_adaptor()</slot>
</connection>
<connection>
<sender>keepBelow</sender>
<signal>toggled(bool)</signal>
<receiver>QParagraphDialogBase</receiver>
<slot>change_adaptor()</slot>
</connection>
<connection>
<sender>lineAbove</sender>
<signal>toggled(bool)</signal>
<receiver>QParagraphDialogBase</receiver>
<slot>change_adaptor()</slot>
</connection>
<connection>
<sender>lineBelow</sender>
<signal>toggled(bool)</signal>
<receiver>QParagraphDialogBase</receiver>
<slot>change_adaptor()</slot>
</connection>
<connection>
<sender>pagebreakAbove</sender>
<signal>toggled(bool)</signal>
<receiver>QParagraphDialogBase</receiver>
<slot>change_adaptor()</slot>
</connection>
<connection>
<sender>pagebreakBelow</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>
<slot access="protected">enableAbove(int)</slot>
<slot access="protected">enableBelow(int)</slot>
</connections>
<tabstops>
<tabstop>paragraphTab</tabstop>
<tabstop>align</tabstop>
<tabstop>linespacing</tabstop>
<tabstop>linespacingValue</tabstop>
<tabstop>noindent</tabstop>
<tabstop>spacingAbove</tabstop>
<tabstop>valueAbove</tabstop>
<tabstop>unitAbove</tabstop>
<tabstop>keepAbove</tabstop>
<tabstop>spacingBelow</tabstop>
<tabstop>valueBelow</tabstop>
<tabstop>unitBelow</tabstop>
<tabstop>keepBelow</tabstop>
<tabstop>lineAbove</tabstop>
<tabstop>lineBelow</tabstop>
<tabstop>pagebreakAbove</tabstop>
<tabstop>pagebreakBelow</tabstop>
<tabstop>labelWidth</tabstop>
<tabstop>restorePB</tabstop>
<tabstop>okPB</tabstop>
<tabstop>applyPB</tabstop>
<tabstop>closePB</tabstop>
</tabstops>
</UI>