lyx_mirror/src/frontends/qt4/ui/PageLayoutUi.ui
Uwe Stöhr 729c0655aa introduce a new color module to GuiDocument as suggested:
- move the background color settings from PageLayoutUi.ui to ColorUi.ui

- move the greyed-out font color from FontUi.ui to ColorUi.ui

- some sorting and whitespace unification

- the group boxes will get the next days each a further entry
 (one for the document-wide text color and one for the shaded box background)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34040 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-02 22:11:50 +00:00

258 lines
7.3 KiB
XML

<ui version="4.0" >
<class>PageLayoutUi</class>
<widget class="QWidget" name="PageLayoutUi">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>362</width>
<height>287</height>
</rect>
</property>
<property name="windowTitle">
<string/>
</property>
<layout class="QGridLayout" name="gridLayout_3">
<item row="0" column="0">
<widget class="QGroupBox" name="paperFormatGB">
<property name="title">
<string>Paper Format</string>
</property>
<property name="flat">
<bool>true</bool>
</property>
<layout class="QGridLayout" name="gridLayout">
<item row="0" column="0">
<widget class="QLabel" name="papersizeL">
<property name="text">
<string>&amp;Format:</string>
</property>
<property name="buddy">
<cstring>papersizeCO</cstring>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QComboBox" name="papersizeCO">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="toolTip">
<string>Choose a particular paper size, or set your own with &quot;Custom&quot;</string>
</property>
<property name="maxVisibleItems">
<number>20</number>
</property>
</widget>
</item>
<item row="0" column="3">
<spacer>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>43</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item row="1" column="0">
<widget class="QLabel" name="paperheightL">
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>&amp;Height:</string>
</property>
<property name="buddy">
<cstring>paperheightLE</cstring>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QLineEdit" name="paperheightLE">
<property name="enabled">
<bool>false</bool>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
</widget>
</item>
<item row="1" column="2">
<widget class="LengthCombo" name="paperheightUnitCO"/>
</item>
<item row="2" column="0">
<widget class="QLabel" name="paperwidthL">
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>&amp;Width:</string>
</property>
<property name="buddy">
<cstring>paperwidthLE</cstring>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QLineEdit" name="paperwidthLE">
<property name="enabled">
<bool>false</bool>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
</widget>
</item>
<item row="2" column="2">
<widget class="LengthCombo" name="paperwidthUnitCO"/>
</item>
<item row="3" column="0">
<widget class="QLabel" name="label_3">
<property name="text">
<string>&amp;Orientation:</string>
</property>
<property name="buddy">
<cstring>portraitRB</cstring>
</property>
</widget>
</item>
<item row="3" column="1">
<widget class="QRadioButton" name="portraitRB">
<property name="text">
<string>&amp;Portrait</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
</item>
<item row="4" column="1">
<widget class="QRadioButton" name="landscapeRB">
<property name="text">
<string>&amp;Landscape</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item row="1" column="0">
<widget class="QGroupBox" name="pageLayoutGB">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="title">
<string>Page Layout</string>
</property>
<property name="flat">
<bool>true</bool>
</property>
<layout class="QGridLayout" name="gridLayout_2">
<item row="0" column="0">
<widget class="QLabel" name="pagestyleL">
<property name="text">
<string>Headings &amp;style:</string>
</property>
<property name="buddy">
<cstring>pagestyleCO</cstring>
</property>
</widget>
</item>
<item row="0" column="1" colspan="2">
<widget class="QComboBox" name="pagestyleCO">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="toolTip">
<string>Style used for the page header and footer</string>
</property>
</widget>
</item>
<item row="0" column="3">
<spacer>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>168</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item row="1" column="0" colspan="3">
<widget class="QCheckBox" name="facingPagesCB">
<property name="toolTip">
<string>Lay out the page for double-sided printing</string>
</property>
<property name="text">
<string>&amp;Two-sided document</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item row="2" column="0">
<spacer>
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::Expanding</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>51</width>
<height>131</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
<customwidgets>
<customwidget>
<class>LengthCombo</class>
<extends>QComboBox</extends>
<header>LengthCombo.h</header>
</customwidget>
</customwidgets>
<tabstops>
<tabstop>papersizeCO</tabstop>
<tabstop>paperheightLE</tabstop>
<tabstop>paperheightUnitCO</tabstop>
<tabstop>paperwidthLE</tabstop>
<tabstop>paperwidthUnitCO</tabstop>
<tabstop>portraitRB</tabstop>
<tabstop>landscapeRB</tabstop>
<tabstop>pagestyleCO</tabstop>
<tabstop>facingPagesCB</tabstop>
</tabstops>
<includes>
<include location="local">qt_i18n.h</include>
</includes>
<resources/>
<connections/>
</ui>