2 <class>PageLayoutUi</class>
3 <widget class="QWidget" name="PageLayoutUi" >
4 <property name="geometry" >
12 <property name="windowTitle" >
15 <layout class="QGridLayout" >
16 <property name="margin" >
19 <property name="spacing" >
22 <item row="0" column="1" colspan="13" >
23 <layout class="QHBoxLayout" >
24 <property name="spacing" >
27 <property name="margin" >
31 <widget class="QLabel" name="label_2" >
32 <property name="text" >
33 <string>Paper Format</string>
38 <widget class="QFrame" name="frame_2" >
39 <property name="sizePolicy" >
40 <sizepolicy vsizetype="Fixed" hsizetype="Expanding" >
41 <horstretch>0</horstretch>
42 <verstretch>0</verstretch>
45 <property name="frameShape" >
46 <enum>QFrame::HLine</enum>
48 <property name="frameShadow" >
49 <enum>QFrame::Sunken</enum>
55 <item row="1" column="1" >
56 <widget class="QLabel" name="papersizeL" >
57 <property name="text" >
58 <string>&Format:</string>
60 <property name="buddy" >
61 <cstring>papersizeCO</cstring>
65 <item row="1" column="5" colspan="8" >
66 <widget class="QComboBox" name="papersizeCO" >
67 <property name="sizePolicy" >
68 <sizepolicy vsizetype="Fixed" hsizetype="Expanding" >
69 <horstretch>0</horstretch>
70 <verstretch>0</verstretch>
73 <property name="toolTip" >
74 <string>Choose a particular paper size, or set your own with "Custom"</string>
76 <property name="maxVisibleItems" >
81 <item row="1" column="13" >
83 <property name="orientation" >
84 <enum>Qt::Horizontal</enum>
86 <property name="sizeHint" stdset="0" >
94 <item row="2" column="1" >
95 <widget class="QLabel" name="paperheightL" >
96 <property name="enabled" >
99 <property name="text" >
100 <string>&Height:</string>
102 <property name="buddy" >
103 <cstring>paperheightLE</cstring>
107 <item row="2" column="5" >
108 <widget class="QLineEdit" name="paperheightLE" >
109 <property name="enabled" >
112 <property name="sizePolicy" >
113 <sizepolicy vsizetype="Fixed" hsizetype="Preferred" >
114 <horstretch>0</horstretch>
115 <verstretch>0</verstretch>
120 <item row="2" column="12" >
121 <widget class="LengthCombo" name="paperheightUnitCO" />
123 <item row="3" column="1" >
124 <widget class="QLabel" name="paperwidthL" >
125 <property name="enabled" >
128 <property name="text" >
129 <string>&Width:</string>
131 <property name="buddy" >
132 <cstring>paperwidthLE</cstring>
136 <item row="3" column="5" >
137 <widget class="QLineEdit" name="paperwidthLE" >
138 <property name="enabled" >
141 <property name="sizePolicy" >
142 <sizepolicy vsizetype="Fixed" hsizetype="Preferred" >
143 <horstretch>0</horstretch>
144 <verstretch>0</verstretch>
149 <item row="3" column="12" >
150 <widget class="LengthCombo" name="paperwidthUnitCO" />
152 <item row="4" column="1" >
153 <widget class="QLabel" name="label_3" >
154 <property name="text" >
155 <string>&Orientation:</string>
157 <property name="buddy" >
158 <cstring>portraitRB</cstring>
162 <item row="4" column="5" colspan="8" >
163 <widget class="QRadioButton" name="portraitRB" >
164 <property name="text" >
165 <string>&Portrait</string>
167 <property name="checked" >
172 <item row="5" column="5" colspan="8" >
173 <widget class="QRadioButton" name="landscapeRB" >
174 <property name="text" >
175 <string>&Landscape</string>
179 <item row="6" column="1" colspan="13" >
180 <layout class="QHBoxLayout" >
181 <property name="spacing" >
184 <property name="margin" >
188 <widget class="QLabel" name="label" >
189 <property name="text" >
190 <string>Page Layout</string>
195 <widget class="QFrame" name="frame" >
196 <property name="sizePolicy" >
197 <sizepolicy vsizetype="Fixed" hsizetype="Expanding" >
198 <horstretch>0</horstretch>
199 <verstretch>0</verstretch>
202 <property name="frameShape" >
203 <enum>QFrame::HLine</enum>
205 <property name="frameShadow" >
206 <enum>QFrame::Sunken</enum>
212 <item row="7" column="1" colspan="2" >
213 <widget class="QLabel" name="pagestyleL" >
214 <property name="text" >
215 <string>Headings &style:</string>
217 <property name="buddy" >
218 <cstring>pagestyleCO</cstring>
222 <item row="7" column="5" colspan="8" >
223 <widget class="QComboBox" name="pagestyleCO" >
224 <property name="sizePolicy" >
225 <sizepolicy vsizetype="Fixed" hsizetype="Expanding" >
226 <horstretch>0</horstretch>
227 <verstretch>0</verstretch>
230 <property name="toolTip" >
231 <string>Style used for the page header and footer</string>
235 <item row="7" column="13" >
237 <property name="orientation" >
238 <enum>Qt::Horizontal</enum>
240 <property name="sizeHint" stdset="0" >
248 <item row="8" column="1" colspan="12" >
249 <widget class="QCheckBox" name="facingPagesCB" >
250 <property name="toolTip" >
251 <string>Lay out the page for double-sided printing</string>
253 <property name="text" >
254 <string>&Two-sided document</string>
258 <item row="9" column="1" colspan="3" >
259 <widget class="QLabel" name="label_4" >
260 <property name="text" >
261 <string>&Background Color:</string>
263 <property name="buddy" >
264 <cstring>backgroundPB</cstring>
268 <item row="10" column="5" >
270 <property name="orientation" >
271 <enum>Qt::Vertical</enum>
273 <property name="sizeType" >
274 <enum>QSizePolicy::Expanding</enum>
276 <property name="sizeHint" stdset="0" >
284 <item row="9" column="5" colspan="4" >
285 <layout class="QHBoxLayout" name="horizontalLayout_2" >
287 <widget class="QPushButton" name="backgroundPB" >
288 <property name="maximumSize" >
291 <height>16777215</height>
294 <property name="toolTip" >
295 <string>press to change the color</string>
297 <property name="text" >
303 <spacer name="horizontalSpacer_2" >
304 <property name="orientation" >
305 <enum>Qt::Horizontal</enum>
307 <property name="sizeHint" stdset="0" >
316 <widget class="QToolButton" name="delbackgroundTB" >
317 <property name="minimumSize" >
323 <property name="toolTip" >
324 <string>Revert the color to the default</string>
326 <property name="text" >
327 <string>R&eset</string>
329 <property name="toolButtonStyle" >
330 <enum>Qt::ToolButtonTextOnly</enum>
332 <property name="arrowType" >
333 <enum>Qt::LeftArrow</enum>
338 <spacer name="horizontalSpacer" >
339 <property name="orientation" >
340 <enum>Qt::Horizontal</enum>
342 <property name="sizeHint" stdset="0" >
356 <class>LengthCombo</class>
357 <extends>QComboBox</extends>
358 <header>LengthCombo.h</header>
362 <tabstop>papersizeCO</tabstop>
363 <tabstop>paperheightLE</tabstop>
364 <tabstop>paperheightUnitCO</tabstop>
365 <tabstop>paperwidthLE</tabstop>
366 <tabstop>paperwidthUnitCO</tabstop>
367 <tabstop>portraitRB</tabstop>
368 <tabstop>landscapeRB</tabstop>
369 <tabstop>pagestyleCO</tabstop>
370 <tabstop>facingPagesCB</tabstop>
373 <include location="local" >qt_i18n.h</include>