3 <widget class="QDialog" name="BoxUi" >
4 <property name="geometry" >
12 <property name="windowTitle" >
15 <property name="sizeGripEnabled" >
18 <widget class="QWidget" name="layoutWidget_1" >
19 <property name="geometry" >
27 <layout class="QHBoxLayout" >
28 <property name="margin" >
31 <property name="spacing" >
35 <widget class="QPushButton" name="restorePB" >
36 <property name="toolTip" >
39 <property name="text" >
40 <string>&Restore</string>
42 <property name="autoDefault" >
45 <property name="default" >
52 <property name="orientation" >
53 <enum>Qt::Horizontal</enum>
55 <property name="sizeType" >
56 <enum>QSizePolicy::Expanding</enum>
58 <property name="sizeHint" >
67 <widget class="QPushButton" name="okPB" >
68 <property name="toolTip" >
71 <property name="text" >
72 <string>&OK</string>
74 <property name="default" >
80 <widget class="QPushButton" name="applyPB" >
81 <property name="toolTip" >
84 <property name="text" >
85 <string>&Apply</string>
87 <property name="autoDefault" >
90 <property name="default" >
96 <widget class="QPushButton" name="closePB" >
97 <property name="text" >
98 <string>&Close</string>
100 <property name="autoDefault" >
103 <property name="default" >
110 <widget class="QWidget" name="layoutWidget_2" >
111 <property name="geometry" >
119 <layout class="QHBoxLayout" >
120 <property name="margin" >
123 <property name="spacing" >
127 <widget class="QCheckBox" name="heightCB" >
128 <property name="toolTip" >
131 <property name="text" >
132 <string>&Height (optional):</string>
134 <property name="checked" >
137 <property name="tristate" >
143 <widget class="QLineEdit" name="heightED" >
144 <property name="enabled" >
147 <property name="sizePolicy" >
149 <hsizetype>1</hsizetype>
150 <vsizetype>0</vsizetype>
151 <horstretch>0</horstretch>
152 <verstretch>0</verstretch>
155 <property name="toolTip" >
156 <string>Height value</string>
161 <widget class="LengthCombo" name="heightUnitsLC" >
162 <property name="enabled" >
169 <widget class="QWidget" name="layoutWidget_3" >
170 <property name="geometry" >
178 <layout class="QGridLayout" >
179 <property name="margin" >
182 <property name="spacing" >
185 <item row="2" column="1" >
186 <widget class="QLineEdit" name="widthED" >
187 <property name="sizePolicy" >
189 <hsizetype>1</hsizetype>
190 <vsizetype>0</vsizetype>
191 <horstretch>0</horstretch>
192 <verstretch>0</verstretch>
195 <property name="toolTip" >
196 <string>Width value</string>
200 <item row="0" column="1" colspan="2" >
201 <widget class="QComboBox" name="typeCO" >
202 <property name="toolTip" >
203 <string>Supported box types</string>
207 <item row="1" column="0" >
208 <widget class="QLabel" name="innerBoxLA" >
209 <property name="toolTip" >
212 <property name="text" >
213 <string>Inner Bo&x:</string>
215 <property name="buddy" >
216 <cstring>innerBoxCO</cstring>
220 <item row="2" column="2" >
221 <widget class="LengthCombo" name="widthUnitsLC" />
223 <item row="0" column="0" >
224 <widget class="QLabel" name="typeLA" >
225 <property name="toolTip" >
228 <property name="text" >
229 <string>&Decoration:</string>
231 <property name="buddy" >
232 <cstring>typeCO</cstring>
236 <item row="2" column="0" >
237 <widget class="QLabel" name="widthLA" >
238 <property name="toolTip" >
241 <property name="text" >
242 <string>&Width:</string>
244 <property name="buddy" >
245 <cstring>widthED</cstring>
249 <item row="1" column="1" colspan="2" >
250 <widget class="QComboBox" name="innerBoxCO" >
251 <property name="toolTip" >
252 <string>Inner box -- needed for fixed width & line breaks</string>
255 <property name="text" >
256 <string>None</string>
260 <property name="text" >
261 <string>Parbox</string>
265 <property name="text" >
266 <string>Minipage</string>
273 <widget class="QGroupBox" name="groupBox_2" >
274 <property name="geometry" >
282 <property name="title" >
283 <string>Alignment</string>
285 <layout class="QGridLayout" >
286 <property name="margin" >
289 <property name="spacing" >
292 <item row="1" column="2" >
293 <widget class="QComboBox" name="halignCO" >
294 <property name="toolTip" >
295 <string>Horizontal alignment of the content inside the box</string>
298 <property name="text" >
299 <string>Left</string>
303 <property name="text" >
304 <string>Center</string>
308 <property name="text" >
309 <string>Right</string>
313 <property name="text" >
314 <string>Stretch</string>
319 <item row="0" column="2" >
320 <widget class="QLabel" name="halignLA" >
321 <property name="toolTip" >
322 <string>Horizontal alignment of the content inside the box</string>
324 <property name="text" >
325 <string>Horizontal</string>
329 <item row="2" column="1" >
330 <widget class="QComboBox" name="valignCO" >
331 <property name="toolTip" >
332 <string>Vertical alignment of the box (with regard to baseline)</string>
335 <property name="text" >
340 <property name="text" >
341 <string>Middle</string>
345 <property name="text" >
346 <string>Bottom</string>
351 <item row="2" column="0" >
352 <widget class="QLabel" name="valignLA" >
353 <property name="toolTip" >
354 <string>Vertical alignment of the box (with regard to baseline)</string>
356 <property name="text" >
357 <string>&Box:</string>
359 <property name="buddy" >
360 <cstring>valignCO</cstring>
364 <item row="1" column="0" >
365 <widget class="QLabel" name="label" >
366 <property name="text" >
367 <string>Co&ntent:</string>
369 <property name="buddy" >
370 <cstring>ialignCO</cstring>
374 <item row="1" column="1" >
375 <widget class="QComboBox" name="ialignCO" >
376 <property name="toolTip" >
377 <string>Vertical alignment of the content inside the box</string>
380 <property name="text" >
385 <property name="text" >
386 <string>Middle</string>
390 <property name="text" >
391 <string>Bottom</string>
395 <property name="text" >
396 <string>Stretch</string>
401 <item row="0" column="1" >
402 <widget class="QLabel" name="ialignLA" >
403 <property name="toolTip" >
404 <string>Vertical alignment of the content inside the box</string>
406 <property name="text" >
407 <string>Vertical</string>
416 <class>LengthCombo</class>
417 <extends>QComboBox</extends>
418 <header>LengthCombo.h</header>
422 <tabstop>typeCO</tabstop>
423 <tabstop>innerBoxCO</tabstop>
424 <tabstop>widthED</tabstop>
425 <tabstop>widthUnitsLC</tabstop>
426 <tabstop>heightCB</tabstop>
427 <tabstop>heightED</tabstop>
428 <tabstop>heightUnitsLC</tabstop>
429 <tabstop>ialignCO</tabstop>
430 <tabstop>halignCO</tabstop>
431 <tabstop>valignCO</tabstop>
432 <tabstop>restorePB</tabstop>
433 <tabstop>okPB</tabstop>
434 <tabstop>closePB</tabstop>
435 <tabstop>applyPB</tabstop>
438 <include location="local" >qt_helpers.h</include>
443 <sender>heightCB</sender>
444 <signal>toggled(bool)</signal>
445 <receiver>heightED</receiver>
446 <slot>setEnabled(bool)</slot>
448 <hint type="sourcelabel" >
452 <hint type="destinationlabel" >
459 <sender>heightCB</sender>
460 <signal>toggled(bool)</signal>
461 <receiver>heightUnitsLC</receiver>
462 <slot>setEnabled(bool)</slot>
464 <hint type="sourcelabel" >
468 <hint type="destinationlabel" >