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">
53 <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
54 <horstretch>0</horstretch>
55 <verstretch>0</verstretch>
58 <property name="toolTip">
59 <string>Horizontal alignment of the content inside the box</string>
62 <property name="text">
67 <property name="text">
68 <string>Center</string>
72 <property name="text">
73 <string>Right</string>
77 <property name="text">
78 <string>Stretch</string>
83 <item row="1" column="1">
84 <widget class="QComboBox" name="ialignCO">
85 <property name="sizePolicy">
86 <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
87 <horstretch>0</horstretch>
88 <verstretch>0</verstretch>
91 <property name="toolTip">
92 <string>Vertical alignment of the content inside the box</string>
95 <property name="text">
100 <property name="text">
101 <string>Middle</string>
105 <property name="text">
106 <string>Bottom</string>
110 <property name="text">
111 <string>Stretch</string>
116 <item row="2" column="1">
117 <widget class="QComboBox" name="valignCO">
118 <property name="toolTip">
119 <string>Vertical alignment of the box (with regard to baseline)</string>
122 <property name="text">
127 <property name="text">
128 <string>Middle</string>
132 <property name="text">
133 <string>Bottom</string>
138 <item row="2" column="0">
139 <widget class="QLabel" name="valignLA">
140 <property name="toolTip">
141 <string>Vertical alignment of the box (with regard to baseline)</string>
143 <property name="text">
144 <string>&Box:</string>
146 <property name="buddy">
147 <cstring>valignCO</cstring>
151 <item row="1" column="0">
152 <widget class="QLabel" name="label">
153 <property name="text">
154 <string>Co&ntent:</string>
156 <property name="buddy">
157 <cstring>ialignCO</cstring>
161 <item row="0" column="1">
162 <widget class="QLabel" name="ialignLA">
163 <property name="toolTip">
164 <string>Vertical alignment of the content inside the box</string>
166 <property name="text">
167 <string>Vertical</string>
171 <item row="0" column="2">
172 <widget class="QLabel" name="halignLA">
173 <property name="toolTip">
174 <string>Horizontal alignment of the content inside the box</string>
176 <property name="text">
177 <string>Horizontal</string>
184 <item row="6" column="0" colspan="3">
185 <layout class="QHBoxLayout">
186 <property name="spacing">
189 <property name="margin">
194 <property name="orientation">
195 <enum>Qt::Horizontal</enum>
197 <property name="sizeType">
198 <enum>QSizePolicy::Expanding</enum>
200 <property name="sizeHint" stdset="0">
209 <widget class="QPushButton" name="newPB">
210 <property name="toolTip">
213 <property name="text">
214 <string>&New</string>
216 <property name="autoDefault">
219 <property name="default">
225 <widget class="QPushButton" name="closePB">
226 <property name="text">
227 <string>&Close</string>
229 <property name="autoDefault">
232 <property name="default">
239 <item row="3" column="2">
240 <widget class="LengthCombo" name="heightUnitsLC">
241 <property name="enabled">
246 <item row="3" column="0">
247 <widget class="QCheckBox" name="heightCB">
248 <property name="toolTip">
251 <property name="text">
252 <string>&Height:</string>
254 <property name="checked">
257 <property name="tristate">
262 <item row="1" column="0">
263 <widget class="QLabel" name="innerBoxLA">
264 <property name="toolTip">
267 <property name="text">
268 <string>Inner Bo&x:</string>
270 <property name="buddy">
271 <cstring>innerBoxCO</cstring>
275 <item row="2" column="2">
276 <widget class="LengthCombo" name="widthUnitsLC"/>
278 <item row="0" column="0">
279 <widget class="QLabel" name="typeLA">
280 <property name="toolTip">
283 <property name="text">
284 <string>&Decoration:</string>
286 <property name="buddy">
287 <cstring>typeCO</cstring>
291 <item row="2" column="0">
292 <widget class="QLabel" name="widthLA">
293 <property name="toolTip">
296 <property name="text">
297 <string>&Width:</string>
299 <property name="buddy">
300 <cstring>widthED</cstring>
304 <item row="3" column="1">
305 <widget class="QLineEdit" name="heightED">
306 <property name="enabled">
309 <property name="toolTip">
310 <string>Height value</string>
314 <item row="2" column="1">
315 <widget class="QLineEdit" name="widthED">
316 <property name="toolTip">
317 <string>Width value</string>
321 <item row="1" column="1" colspan="2">
322 <widget class="QComboBox" name="innerBoxCO">
323 <property name="toolTip">
324 <string>Inner box -- needed for fixed width & line breaks</string>
327 <property name="text">
328 <string>None</string>
332 <property name="text">
333 <string>Parbox</string>
337 <property name="text">
338 <string>Minipage</string>
343 <item row="0" column="1" colspan="2">
344 <widget class="QComboBox" name="typeCO">
345 <property name="toolTip">
346 <string>Supported box types</string>
354 <class>LengthCombo</class>
355 <extends>QComboBox</extends>
356 <header>LengthCombo.h</header>
360 <tabstop>typeCO</tabstop>
361 <tabstop>innerBoxCO</tabstop>
362 <tabstop>widthED</tabstop>
363 <tabstop>widthUnitsLC</tabstop>
364 <tabstop>heightCB</tabstop>
365 <tabstop>heightED</tabstop>
366 <tabstop>heightUnitsLC</tabstop>
367 <tabstop>ialignCO</tabstop>
368 <tabstop>halignCO</tabstop>
369 <tabstop>valignCO</tabstop>
370 <tabstop>closePB</tabstop>
371 <tabstop>newPB</tabstop>
374 <include location="local">qt_i18n.h</include>
379 <sender>heightCB</sender>
380 <signal>toggled(bool)</signal>
381 <receiver>heightED</receiver>
382 <slot>setEnabled(bool)</slot>
384 <hint type="sourcelabel">
388 <hint type="destinationlabel">
395 <sender>heightCB</sender>
396 <signal>toggled(bool)</signal>
397 <receiver>heightUnitsLC</receiver>
398 <slot>setEnabled(bool)</slot>
400 <hint type="sourcelabel">
404 <hint type="destinationlabel">