next attempt for PageLayoutUi

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29237 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Pavel Sanda 2009-04-13 09:28:34 +00:00
parent d109eb6984
commit a6145ac4cd

View File

@ -1,8 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?> <ui version="4.0" >
<ui version="4.0">
<class>PageLayoutUi</class> <class>PageLayoutUi</class>
<widget class="QWidget" name="PageLayoutUi"> <widget class="QWidget" name="PageLayoutUi" >
<property name="geometry"> <property name="geometry" >
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
@ -10,81 +9,81 @@
<height>377</height> <height>377</height>
</rect> </rect>
</property> </property>
<property name="windowTitle"> <property name="windowTitle" >
<string/> <string/>
</property> </property>
<layout class="QGridLayout"> <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 row="0" column="1" colspan="13"> <item row="0" column="1" colspan="13" >
<layout class="QHBoxLayout"> <layout class="QHBoxLayout" >
<property name="spacing"> <property name="spacing" >
<number>6</number> <number>6</number>
</property> </property>
<property name="margin"> <property name="margin" >
<number>0</number> <number>0</number>
</property> </property>
<item> <item>
<widget class="QLabel" name="label_2"> <widget class="QLabel" name="label_2" >
<property name="text"> <property name="text" >
<string>Paper Format</string> <string>Paper Format</string>
</property> </property>
</widget> </widget>
</item> </item>
<item> <item>
<widget class="QFrame" name="frame_2"> <widget class="QFrame" name="frame_2" >
<property name="sizePolicy"> <property name="sizePolicy" >
<sizepolicy hsizetype="Expanding" vsizetype="Fixed"> <sizepolicy vsizetype="Fixed" hsizetype="Expanding" >
<horstretch>0</horstretch> <horstretch>0</horstretch>
<verstretch>0</verstretch> <verstretch>0</verstretch>
</sizepolicy> </sizepolicy>
</property> </property>
<property name="frameShape"> <property name="frameShape" >
<enum>QFrame::HLine</enum> <enum>QFrame::HLine</enum>
</property> </property>
<property name="frameShadow"> <property name="frameShadow" >
<enum>QFrame::Sunken</enum> <enum>QFrame::Sunken</enum>
</property> </property>
</widget> </widget>
</item> </item>
</layout> </layout>
</item> </item>
<item row="1" column="1"> <item row="1" column="1" >
<widget class="QLabel" name="papersizeL"> <widget class="QLabel" name="papersizeL" >
<property name="text"> <property name="text" >
<string>&amp;Format:</string> <string>&amp;Format:</string>
</property> </property>
<property name="buddy"> <property name="buddy" >
<cstring>papersizeCO</cstring> <cstring>papersizeCO</cstring>
</property> </property>
</widget> </widget>
</item> </item>
<item row="1" column="5" colspan="8"> <item row="1" column="5" colspan="8" >
<widget class="QComboBox" name="papersizeCO"> <widget class="QComboBox" name="papersizeCO" >
<property name="sizePolicy"> <property name="sizePolicy" >
<sizepolicy hsizetype="Expanding" vsizetype="Fixed"> <sizepolicy vsizetype="Fixed" hsizetype="Expanding" >
<horstretch>0</horstretch> <horstretch>0</horstretch>
<verstretch>0</verstretch> <verstretch>0</verstretch>
</sizepolicy> </sizepolicy>
</property> </property>
<property name="toolTip"> <property name="toolTip" >
<string>Choose a particular paper size, or set your own with &quot;Custom&quot;</string> <string>Choose a particular paper size, or set your own with "Custom"</string>
</property> </property>
<property name="maxVisibleItems"> <property name="maxVisibleItems" >
<number>20</number> <number>20</number>
</property> </property>
</widget> </widget>
</item> </item>
<item row="1" column="13"> <item row="1" column="13" >
<spacer> <spacer>
<property name="orientation"> <property name="orientation" >
<enum>Qt::Horizontal</enum> <enum>Qt::Horizontal</enum>
</property> </property>
<property name="sizeHint" stdset="0"> <property name="sizeHint" stdset="0" >
<size> <size>
<width>40</width> <width>40</width>
<height>20</height> <height>20</height>
@ -92,153 +91,153 @@
</property> </property>
</spacer> </spacer>
</item> </item>
<item row="2" column="1"> <item row="2" column="1" >
<widget class="QLabel" name="paperheightL"> <widget class="QLabel" name="paperheightL" >
<property name="enabled"> <property name="enabled" >
<bool>false</bool> <bool>false</bool>
</property> </property>
<property name="text"> <property name="text" >
<string>&amp;Height:</string> <string>&amp;Height:</string>
</property> </property>
<property name="buddy"> <property name="buddy" >
<cstring>paperheightLE</cstring> <cstring>paperheightLE</cstring>
</property> </property>
</widget> </widget>
</item> </item>
<item row="2" column="5"> <item row="2" column="5" >
<widget class="QLineEdit" name="paperheightLE"> <widget class="QLineEdit" name="paperheightLE" >
<property name="enabled"> <property name="enabled" >
<bool>false</bool> <bool>false</bool>
</property> </property>
<property name="sizePolicy"> <property name="sizePolicy" >
<sizepolicy hsizetype="Preferred" vsizetype="Fixed"> <sizepolicy vsizetype="Fixed" hsizetype="Preferred" >
<horstretch>0</horstretch> <horstretch>0</horstretch>
<verstretch>0</verstretch> <verstretch>0</verstretch>
</sizepolicy> </sizepolicy>
</property> </property>
</widget> </widget>
</item> </item>
<item row="2" column="12"> <item row="2" column="12" >
<widget class="LengthCombo" name="paperheightUnitCO"/> <widget class="LengthCombo" name="paperheightUnitCO" />
</item> </item>
<item row="3" column="1"> <item row="3" column="1" >
<widget class="QLabel" name="paperwidthL"> <widget class="QLabel" name="paperwidthL" >
<property name="enabled"> <property name="enabled" >
<bool>false</bool> <bool>false</bool>
</property> </property>
<property name="text"> <property name="text" >
<string>&amp;Width:</string> <string>&amp;Width:</string>
</property> </property>
<property name="buddy"> <property name="buddy" >
<cstring>paperwidthLE</cstring> <cstring>paperwidthLE</cstring>
</property> </property>
</widget> </widget>
</item> </item>
<item row="3" column="5"> <item row="3" column="5" >
<widget class="QLineEdit" name="paperwidthLE"> <widget class="QLineEdit" name="paperwidthLE" >
<property name="enabled"> <property name="enabled" >
<bool>false</bool> <bool>false</bool>
</property> </property>
<property name="sizePolicy"> <property name="sizePolicy" >
<sizepolicy hsizetype="Preferred" vsizetype="Fixed"> <sizepolicy vsizetype="Fixed" hsizetype="Preferred" >
<horstretch>0</horstretch> <horstretch>0</horstretch>
<verstretch>0</verstretch> <verstretch>0</verstretch>
</sizepolicy> </sizepolicy>
</property> </property>
</widget> </widget>
</item> </item>
<item row="3" column="12"> <item row="3" column="12" >
<widget class="LengthCombo" name="paperwidthUnitCO"/> <widget class="LengthCombo" name="paperwidthUnitCO" />
</item> </item>
<item row="4" column="1"> <item row="4" column="1" >
<widget class="QLabel" name="label_3"> <widget class="QLabel" name="label_3" >
<property name="text"> <property name="text" >
<string>&amp;Orientation:</string> <string>&amp;Orientation:</string>
</property> </property>
<property name="buddy"> <property name="buddy" >
<cstring>portraitRB</cstring> <cstring>portraitRB</cstring>
</property> </property>
</widget> </widget>
</item> </item>
<item row="4" column="5" colspan="8"> <item row="4" column="5" colspan="8" >
<widget class="QRadioButton" name="portraitRB"> <widget class="QRadioButton" name="portraitRB" >
<property name="text"> <property name="text" >
<string>&amp;Portrait</string> <string>&amp;Portrait</string>
</property> </property>
<property name="checked"> <property name="checked" >
<bool>true</bool> <bool>true</bool>
</property> </property>
</widget> </widget>
</item> </item>
<item row="5" column="5" colspan="8"> <item row="5" column="5" colspan="8" >
<widget class="QRadioButton" name="landscapeRB"> <widget class="QRadioButton" name="landscapeRB" >
<property name="text"> <property name="text" >
<string>&amp;Landscape</string> <string>&amp;Landscape</string>
</property> </property>
</widget> </widget>
</item> </item>
<item row="6" column="1" colspan="13"> <item row="6" column="1" colspan="13" >
<layout class="QHBoxLayout"> <layout class="QHBoxLayout" >
<property name="spacing"> <property name="spacing" >
<number>6</number> <number>6</number>
</property> </property>
<property name="margin"> <property name="margin" >
<number>0</number> <number>0</number>
</property> </property>
<item> <item>
<widget class="QLabel" name="label"> <widget class="QLabel" name="label" >
<property name="text"> <property name="text" >
<string>Page Layout</string> <string>Page Layout</string>
</property> </property>
</widget> </widget>
</item> </item>
<item> <item>
<widget class="QFrame" name="frame"> <widget class="QFrame" name="frame" >
<property name="sizePolicy"> <property name="sizePolicy" >
<sizepolicy hsizetype="Expanding" vsizetype="Fixed"> <sizepolicy vsizetype="Fixed" hsizetype="Expanding" >
<horstretch>0</horstretch> <horstretch>0</horstretch>
<verstretch>0</verstretch> <verstretch>0</verstretch>
</sizepolicy> </sizepolicy>
</property> </property>
<property name="frameShape"> <property name="frameShape" >
<enum>QFrame::HLine</enum> <enum>QFrame::HLine</enum>
</property> </property>
<property name="frameShadow"> <property name="frameShadow" >
<enum>QFrame::Sunken</enum> <enum>QFrame::Sunken</enum>
</property> </property>
</widget> </widget>
</item> </item>
</layout> </layout>
</item> </item>
<item row="7" column="1" colspan="2"> <item row="7" column="1" colspan="2" >
<widget class="QLabel" name="pagestyleL"> <widget class="QLabel" name="pagestyleL" >
<property name="text"> <property name="text" >
<string>Headings &amp;style:</string> <string>Headings &amp;style:</string>
</property> </property>
<property name="buddy"> <property name="buddy" >
<cstring>pagestyleCO</cstring> <cstring>pagestyleCO</cstring>
</property> </property>
</widget> </widget>
</item> </item>
<item row="7" column="5" colspan="8"> <item row="7" column="5" colspan="8" >
<widget class="QComboBox" name="pagestyleCO"> <widget class="QComboBox" name="pagestyleCO" >
<property name="sizePolicy"> <property name="sizePolicy" >
<sizepolicy hsizetype="Expanding" vsizetype="Fixed"> <sizepolicy vsizetype="Fixed" hsizetype="Expanding" >
<horstretch>0</horstretch> <horstretch>0</horstretch>
<verstretch>0</verstretch> <verstretch>0</verstretch>
</sizepolicy> </sizepolicy>
</property> </property>
<property name="toolTip"> <property name="toolTip" >
<string>Style used for the page header and footer</string> <string>Style used for the page header and footer</string>
</property> </property>
</widget> </widget>
</item> </item>
<item row="7" column="13"> <item row="7" column="13" >
<spacer> <spacer>
<property name="orientation"> <property name="orientation" >
<enum>Qt::Horizontal</enum> <enum>Qt::Horizontal</enum>
</property> </property>
<property name="sizeHint" stdset="0"> <property name="sizeHint" stdset="0" >
<size> <size>
<width>40</width> <width>40</width>
<height>20</height> <height>20</height>
@ -246,35 +245,35 @@
</property> </property>
</spacer> </spacer>
</item> </item>
<item row="8" column="1" colspan="12"> <item row="8" column="1" colspan="12" >
<widget class="QCheckBox" name="facingPagesCB"> <widget class="QCheckBox" name="facingPagesCB" >
<property name="toolTip"> <property name="toolTip" >
<string>Lay out the page for double-sided printing</string> <string>Lay out the page for double-sided printing</string>
</property> </property>
<property name="text"> <property name="text" >
<string>&amp;Two-sided document</string> <string>&amp;Two-sided document</string>
</property> </property>
</widget> </widget>
</item> </item>
<item row="9" column="1" colspan="3"> <item row="9" column="1" colspan="3" >
<widget class="QLabel" name="label_4"> <widget class="QLabel" name="label_4" >
<property name="text"> <property name="text" >
<string>&amp;Background Color:</string> <string>Background Color:</string>
</property> </property>
<property name="buddy"> <property name="buddy" >
<cstring>backgroundPB</cstring> <cstring></cstring>
</property> </property>
</widget> </widget>
</item> </item>
<item row="10" column="5"> <item row="10" column="5" >
<spacer> <spacer>
<property name="orientation"> <property name="orientation" >
<enum>Qt::Vertical</enum> <enum>Qt::Vertical</enum>
</property> </property>
<property name="sizeType"> <property name="sizeType" >
<enum>QSizePolicy::Expanding</enum> <enum>QSizePolicy::Expanding</enum>
</property> </property>
<property name="sizeHint" stdset="0"> <property name="sizeHint" stdset="0" >
<size> <size>
<width>51</width> <width>51</width>
<height>131</height> <height>131</height>
@ -282,52 +281,52 @@
</property> </property>
</spacer> </spacer>
</item> </item>
<item row="9" column="5" colspan="4"> <item row="9" column="5" colspan="4" >
<layout class="QHBoxLayout" name="horizontalLayout_2"> <layout class="QHBoxLayout" name="horizontalLayout_2" >
<item> <item>
<widget class="QPushButton" name="backgroundPB"> <widget class="QPushButton" name="backgroundPB" >
<property name="maximumSize"> <property name="maximumSize" >
<size> <size>
<width>35</width> <width>16777215</width>
<height>16777215</height> <height>16777215</height>
</size> </size>
</property> </property>
<property name="toolTip"> <property name="toolTip" >
<string>press to change the color</string>
</property>
<property name="text">
<string/> <string/>
</property> </property>
<property name="text" >
<string>&amp;Change...</string>
</property>
</widget> </widget>
</item> </item>
<item> <item>
<widget class="QToolButton" name="delbackgroundTB"> <widget class="QToolButton" name="delbackgroundTB" >
<property name="minimumSize"> <property name="minimumSize" >
<size> <size>
<width>23</width> <width>23</width>
<height>23</height> <height>23</height>
</size> </size>
</property> </property>
<property name="toolTip"> <property name="toolTip" >
<string>Revert the color to the default</string> <string>Revert the color to the default</string>
</property> </property>
<property name="text"> <property name="text" >
<string>R&amp;eset</string> <string>R&amp;eset</string>
</property> </property>
<property name="toolButtonStyle"> <property name="toolButtonStyle" >
<enum>Qt::ToolButtonTextOnly</enum> <enum>Qt::ToolButtonTextOnly</enum>
</property> </property>
<property name="arrowType"> <property name="arrowType" >
<enum>Qt::LeftArrow</enum> <enum>Qt::LeftArrow</enum>
</property> </property>
</widget> </widget>
</item> </item>
<item> <item>
<spacer name="horizontalSpacer"> <spacer name="horizontalSpacer" >
<property name="orientation"> <property name="orientation" >
<enum>Qt::Horizontal</enum> <enum>Qt::Horizontal</enum>
</property> </property>
<property name="sizeHint" stdset="0"> <property name="sizeHint" stdset="0" >
<size> <size>
<width>40</width> <width>40</width>
<height>20</height> <height>20</height>
@ -358,7 +357,7 @@
<tabstop>facingPagesCB</tabstop> <tabstop>facingPagesCB</tabstop>
</tabstops> </tabstops>
<includes> <includes>
<include location="local">qt_i18n.h</include> <include location="local" >qt_i18n.h</include>
</includes> </includes>
<resources/> <resources/>
<connections/> <connections/>