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="3" >
26 <widget class="QGroupBox" name="groupBox_2" >
27 <property name="title" >
28 <string>Alignment</string>
30 <property name="flat" >
33 <layout class="QGridLayout" >
34 <property name="margin" >
37 <property name="spacing" >
40 <item row="1" column="2" >
41 <widget class="QComboBox" name="halignCO" >
42 <property name="sizePolicy" >
44 <hsizetype>7</hsizetype>
45 <vsizetype>0</vsizetype>
46 <horstretch>0</horstretch>
47 <verstretch>0</verstretch>
50 <property name="toolTip" >
51 <string>Horizontal alignment of the content inside the box</string>
54 <property name="text" >
59 <property name="text" >
60 <string>Center</string>
64 <property name="text" >
65 <string>Right</string>
69 <property name="text" >
70 <string>Stretch</string>
75 <item row="1" column="1" >
76 <widget class="QComboBox" name="ialignCO" >
77 <property name="sizePolicy" >
79 <hsizetype>7</hsizetype>
80 <vsizetype>0</vsizetype>
81 <horstretch>0</horstretch>
82 <verstretch>0</verstretch>
85 <property name="toolTip" >
86 <string>Vertical alignment of the content inside the box</string>
89 <property name="text" >
94 <property name="text" >
95 <string>Middle</string>
99 <property name="text" >
100 <string>Bottom</string>
104 <property name="text" >
105 <string>Stretch</string>
110 <item row="2" column="1" >
111 <widget class="QComboBox" name="valignCO" >
112 <property name="toolTip" >
113 <string>Vertical alignment of the box (with regard to baseline)</string>
116 <property name="text" >
121 <property name="text" >
122 <string>Middle</string>
126 <property name="text" >
127 <string>Bottom</string>
132 <item row="2" column="0" >
133 <widget class="QLabel" name="valignLA" >
134 <property name="toolTip" >
135 <string>Vertical alignment of the box (with regard to baseline)</string>
137 <property name="text" >
138 <string>&Box:</string>
140 <property name="buddy" >
141 <cstring>valignCO</cstring>
145 <item row="1" column="0" >
146 <widget class="QLabel" name="label" >
147 <property name="text" >
148 <string>Co&ntent:</string>
150 <property name="buddy" >
151 <cstring>ialignCO</cstring>
155 <item row="0" column="1" >
156 <widget class="QLabel" name="ialignLA" >
157 <property name="toolTip" >
158 <string>Vertical alignment of the content inside the box</string>
160 <property name="text" >
161 <string>Vertical</string>
165 <item row="0" column="2" >
166 <widget class="QLabel" name="halignLA" >
167 <property name="toolTip" >
168 <string>Horizontal alignment of the content inside the box</string>
170 <property name="text" >
171 <string>Horizontal</string>
178 <item row="0" column="1" colspan="2" >
179 <widget class="QComboBox" name="typeCO" >
180 <property name="toolTip" >
181 <string>Supported box types</string>
185 <item row="1" column="1" colspan="2" >
186 <widget class="QComboBox" name="innerBoxCO" >
187 <property name="toolTip" >
188 <string>Inner box -- needed for fixed width & line breaks</string>
191 <property name="text" >
192 <string>None</string>
196 <property name="text" >
197 <string>Parbox</string>
201 <property name="text" >
202 <string>Minipage</string>
207 <item row="2" column="1" >
208 <widget class="QLineEdit" name="widthED" >
209 <property name="toolTip" >
210 <string>Width value</string>
214 <item row="3" column="1" >
215 <widget class="QLineEdit" name="heightED" >
216 <property name="enabled" >
219 <property name="toolTip" >
220 <string>Height value</string>
224 <item row="2" column="0" >
225 <widget class="QLabel" name="widthLA" >
226 <property name="toolTip" >
229 <property name="text" >
230 <string>&Width:</string>
232 <property name="buddy" >
233 <cstring>widthED</cstring>
237 <item row="0" column="0" >
238 <widget class="QLabel" name="typeLA" >
239 <property name="toolTip" >
242 <property name="text" >
243 <string>&Decoration:</string>
245 <property name="buddy" >
246 <cstring>typeCO</cstring>
250 <item row="2" column="2" >
251 <widget class="LengthCombo" name="widthUnitsLC" />
253 <item row="1" column="0" >
254 <widget class="QLabel" name="innerBoxLA" >
255 <property name="toolTip" >
258 <property name="text" >
259 <string>Inner Bo&x:</string>
261 <property name="buddy" >
262 <cstring>innerBoxCO</cstring>
266 <item row="5" column="0" colspan="3" >
267 <layout class="QHBoxLayout" >
268 <property name="margin" >
271 <property name="spacing" >
275 <widget class="QPushButton" name="restorePB" >
276 <property name="toolTip" >
279 <property name="text" >
280 <string>&Restore</string>
282 <property name="autoDefault" >
285 <property name="default" >
292 <property name="orientation" >
293 <enum>Qt::Horizontal</enum>
295 <property name="sizeType" >
296 <enum>QSizePolicy::Expanding</enum>
298 <property name="sizeHint" >
307 <widget class="QPushButton" name="okPB" >
308 <property name="toolTip" >
311 <property name="text" >
312 <string>&OK</string>
314 <property name="default" >
320 <widget class="QPushButton" name="applyPB" >
321 <property name="toolTip" >
324 <property name="text" >
325 <string>&Apply</string>
327 <property name="autoDefault" >
330 <property name="default" >
336 <widget class="QPushButton" name="closePB" >
337 <property name="text" >
338 <string>&Close</string>
340 <property name="autoDefault" >
343 <property name="default" >
350 <item row="3" column="0" >
351 <widget class="QCheckBox" name="heightCB" >
352 <property name="toolTip" >
355 <property name="text" >
356 <string>&Height:</string>
358 <property name="checked" >
361 <property name="tristate" >
366 <item row="3" column="2" >
367 <widget class="LengthCombo" name="heightUnitsLC" >
368 <property name="enabled" >
377 <class>LengthCombo</class>
378 <extends>QComboBox</extends>
379 <header>LengthCombo.h</header>
383 <tabstop>typeCO</tabstop>
384 <tabstop>innerBoxCO</tabstop>
385 <tabstop>widthED</tabstop>
386 <tabstop>widthUnitsLC</tabstop>
387 <tabstop>heightCB</tabstop>
388 <tabstop>heightED</tabstop>
389 <tabstop>heightUnitsLC</tabstop>
390 <tabstop>ialignCO</tabstop>
391 <tabstop>halignCO</tabstop>
392 <tabstop>valignCO</tabstop>
393 <tabstop>restorePB</tabstop>
394 <tabstop>okPB</tabstop>
395 <tabstop>closePB</tabstop>
396 <tabstop>applyPB</tabstop>
399 <include location="local" >qt_helpers.h</include>
404 <sender>heightCB</sender>
405 <signal>toggled(bool)</signal>
406 <receiver>heightED</receiver>
407 <slot>setEnabled(bool)</slot>
409 <hint type="sourcelabel" >
413 <hint type="destinationlabel" >
420 <sender>heightCB</sender>
421 <signal>toggled(bool)</signal>
422 <receiver>heightUnitsLC</receiver>
423 <slot>setEnabled(bool)</slot>
425 <hint type="sourcelabel" >
429 <hint type="destinationlabel" >