3 <widget class="QDialog" name="BoxUi" >
4 <property name="geometry" >
12 <property name="windowTitle" >
15 <property name="sizeGripEnabled" >
18 <layout class="QGridLayout" >
19 <property name="margin" >
22 <property name="spacing" >
25 <item row="4" column="0" colspan="2" >
26 <widget class="QCheckBox" name="pagebreakCB" >
27 <property name="toolTip" >
28 <string>Check this if the box should break across pages</string>
30 <property name="text" >
31 <string>Allow &page breaks</string>
35 <item row="5" column="0" colspan="3" >
36 <widget class="QGroupBox" name="groupBox_2" >
37 <property name="title" >
38 <string>Alignment</string>
40 <property name="flat" >
43 <layout class="QGridLayout" >
44 <property name="margin" >
47 <property name="spacing" >
50 <item row="1" column="2" >
51 <widget class="QComboBox" name="halignCO" >
52 <property name="sizePolicy" >
54 <hsizetype>7</hsizetype>
55 <vsizetype>0</vsizetype>
56 <horstretch>0</horstretch>
57 <verstretch>0</verstretch>
60 <property name="toolTip" >
61 <string>Horizontal alignment of the content inside the box</string>
64 <property name="text" >
69 <property name="text" >
70 <string>Center</string>
74 <property name="text" >
75 <string>Right</string>
79 <property name="text" >
80 <string>Stretch</string>
85 <item row="1" column="1" >
86 <widget class="QComboBox" name="ialignCO" >
87 <property name="sizePolicy" >
89 <hsizetype>7</hsizetype>
90 <vsizetype>0</vsizetype>
91 <horstretch>0</horstretch>
92 <verstretch>0</verstretch>
95 <property name="toolTip" >
96 <string>Vertical alignment of the content inside the box</string>
99 <property name="text" >
104 <property name="text" >
105 <string>Middle</string>
109 <property name="text" >
110 <string>Bottom</string>
114 <property name="text" >
115 <string>Stretch</string>
120 <item row="2" column="1" >
121 <widget class="QComboBox" name="valignCO" >
122 <property name="toolTip" >
123 <string>Vertical alignment of the box (with regard to baseline)</string>
126 <property name="text" >
131 <property name="text" >
132 <string>Middle</string>
136 <property name="text" >
137 <string>Bottom</string>
142 <item row="2" column="0" >
143 <widget class="QLabel" name="valignLA" >
144 <property name="toolTip" >
145 <string>Vertical alignment of the box (with regard to baseline)</string>
147 <property name="text" >
148 <string>&Box:</string>
150 <property name="buddy" >
151 <cstring>valignCO</cstring>
155 <item row="1" column="0" >
156 <widget class="QLabel" name="label" >
157 <property name="text" >
158 <string>Co&ntent:</string>
160 <property name="buddy" >
161 <cstring>ialignCO</cstring>
165 <item row="0" column="1" >
166 <widget class="QLabel" name="ialignLA" >
167 <property name="toolTip" >
168 <string>Vertical alignment of the content inside the box</string>
170 <property name="text" >
171 <string>Vertical</string>
175 <item row="0" column="2" >
176 <widget class="QLabel" name="halignLA" >
177 <property name="toolTip" >
178 <string>Horizontal alignment of the content inside the box</string>
180 <property name="text" >
181 <string>Horizontal</string>
188 <item row="6" column="0" colspan="3" >
189 <layout class="QHBoxLayout" >
190 <property name="margin" >
193 <property name="spacing" >
197 <widget class="QPushButton" name="restorePB" >
198 <property name="toolTip" >
201 <property name="text" >
202 <string>&Restore</string>
204 <property name="autoDefault" >
207 <property name="default" >
214 <property name="orientation" >
215 <enum>Qt::Horizontal</enum>
217 <property name="sizeType" >
218 <enum>QSizePolicy::Expanding</enum>
220 <property name="sizeHint" >
229 <widget class="QPushButton" name="okPB" >
230 <property name="toolTip" >
233 <property name="text" >
234 <string>&OK</string>
236 <property name="default" >
242 <widget class="QPushButton" name="applyPB" >
243 <property name="toolTip" >
246 <property name="text" >
247 <string>&Apply</string>
249 <property name="autoDefault" >
252 <property name="default" >
258 <widget class="QPushButton" name="closePB" >
259 <property name="text" >
260 <string>&Close</string>
262 <property name="autoDefault" >
265 <property name="default" >
272 <item row="3" column="2" >
273 <widget class="LengthCombo" name="heightUnitsLC" >
274 <property name="enabled" >
279 <item row="3" column="0" >
280 <widget class="QCheckBox" name="heightCB" >
281 <property name="toolTip" >
284 <property name="text" >
285 <string>&Height:</string>
287 <property name="checked" >
290 <property name="tristate" >
295 <item row="1" column="0" >
296 <widget class="QLabel" name="innerBoxLA" >
297 <property name="toolTip" >
300 <property name="text" >
301 <string>Inner Bo&x:</string>
303 <property name="buddy" >
304 <cstring>innerBoxCO</cstring>
308 <item row="2" column="2" >
309 <widget class="LengthCombo" name="widthUnitsLC" />
311 <item row="0" column="0" >
312 <widget class="QLabel" name="typeLA" >
313 <property name="toolTip" >
316 <property name="text" >
317 <string>&Decoration:</string>
319 <property name="buddy" >
320 <cstring>typeCO</cstring>
324 <item row="2" column="0" >
325 <widget class="QLabel" name="widthLA" >
326 <property name="toolTip" >
329 <property name="text" >
330 <string>&Width:</string>
332 <property name="buddy" >
333 <cstring>widthED</cstring>
337 <item row="3" column="1" >
338 <widget class="QLineEdit" name="heightED" >
339 <property name="enabled" >
342 <property name="toolTip" >
343 <string>Height value</string>
347 <item row="2" column="1" >
348 <widget class="QLineEdit" name="widthED" >
349 <property name="toolTip" >
350 <string>Width value</string>
354 <item row="1" column="1" colspan="2" >
355 <widget class="QComboBox" name="innerBoxCO" >
356 <property name="toolTip" >
357 <string>Inner box -- needed for fixed width & line breaks</string>
360 <property name="text" >
361 <string>None</string>
365 <property name="text" >
366 <string>Parbox</string>
370 <property name="text" >
371 <string>Minipage</string>
376 <item row="0" column="1" colspan="2" >
377 <widget class="QComboBox" name="typeCO" >
378 <property name="toolTip" >
379 <string>Supported box types</string>
387 <class>LengthCombo</class>
388 <extends>QComboBox</extends>
389 <header>LengthCombo.h</header>
393 <tabstop>typeCO</tabstop>
394 <tabstop>innerBoxCO</tabstop>
395 <tabstop>widthED</tabstop>
396 <tabstop>widthUnitsLC</tabstop>
397 <tabstop>heightCB</tabstop>
398 <tabstop>heightED</tabstop>
399 <tabstop>heightUnitsLC</tabstop>
400 <tabstop>ialignCO</tabstop>
401 <tabstop>halignCO</tabstop>
402 <tabstop>valignCO</tabstop>
403 <tabstop>restorePB</tabstop>
404 <tabstop>okPB</tabstop>
405 <tabstop>closePB</tabstop>
406 <tabstop>applyPB</tabstop>
409 <include location="local" >qt_i18n.h</include>
414 <sender>heightCB</sender>
415 <signal>toggled(bool)</signal>
416 <receiver>heightED</receiver>
417 <slot>setEnabled(bool)</slot>
419 <hint type="sourcelabel" >
423 <hint type="destinationlabel" >
430 <sender>heightCB</sender>
431 <signal>toggled(bool)</signal>
432 <receiver>heightUnitsLC</receiver>
433 <slot>setEnabled(bool)</slot>
435 <hint type="sourcelabel" >
439 <hint type="destinationlabel" >