|
1 <?xml version="1.0" encoding="UTF-8"?> |
|
2 <ui version="4.0" stdsetdef="1"> |
|
3 <author></author> |
|
4 <comment></comment> |
|
5 <exportmacro></exportmacro> |
|
6 <class>OptionsDialog</class> |
|
7 <widget class="QDialog" name="OptionsDialog"> |
|
8 <property name="geometry"> |
|
9 <rect> |
|
10 <x>0</x> |
|
11 <y>0</y> |
|
12 <width>371</width> |
|
13 <height>482</height> |
|
14 </rect> |
|
15 </property> |
|
16 <property name="windowTitle"> |
|
17 <string>Select Options</string> |
|
18 </property> |
|
19 <layout class="QVBoxLayout"> |
|
20 <item> |
|
21 <layout class="QHBoxLayout"> |
|
22 <item> |
|
23 <layout class="QVBoxLayout"> |
|
24 <item> |
|
25 <widget class="Q3ButtonGroup" name="bgBorder"> |
|
26 <property name="title"> |
|
27 <string>&Border</string> |
|
28 </property> |
|
29 <property name="flat"> |
|
30 <bool>true</bool> |
|
31 </property> |
|
32 <property name="checkable"> |
|
33 <bool>true</bool> |
|
34 </property> |
|
35 <property name="whatsThis" stdset="0"> |
|
36 <string>Select different types of borders, or turn the border off. Windows without a border are ignored by the window manager.</string> |
|
37 </property> |
|
38 <layout class="QVBoxLayout"> |
|
39 <item> |
|
40 <widget class="QRadioButton" name="rbBorderNormal"> |
|
41 <property name="text"> |
|
42 <string>&Normal</string> |
|
43 </property> |
|
44 <property name="shortcut"> |
|
45 <string>Alt+N</string> |
|
46 </property> |
|
47 <property name="checked"> |
|
48 <bool>true</bool> |
|
49 </property> |
|
50 <property name="toolTip" stdset="0"> |
|
51 <string>A normal border</string> |
|
52 </property> |
|
53 <property name="whatsThis" stdset="0"> |
|
54 <string>Gives the window a normal, resizable border. The window should have a layout installed to handle the resizing gracefully.</string> |
|
55 </property> |
|
56 </widget> |
|
57 </item> |
|
58 <item> |
|
59 <widget class="QRadioButton" name="rbBorderDialog"> |
|
60 <property name="text"> |
|
61 <string>&Dialog</string> |
|
62 </property> |
|
63 <property name="shortcut"> |
|
64 <string>Alt+D</string> |
|
65 </property> |
|
66 <property name="toolTip" stdset="0"> |
|
67 <string>A thin dialog border</string> |
|
68 </property> |
|
69 <property name="whatsThis" stdset="0"> |
|
70 <string>Gives the window a thin dialog border. Depending on the window manager the window will not be resizable. Use QWidget::setFixedSize() in addition to enforce a static size on all systems.</string> |
|
71 </property> |
|
72 </widget> |
|
73 </item> |
|
74 </layout> |
|
75 </widget> |
|
76 </item> |
|
77 <item> |
|
78 <widget class="Q3ButtonGroup" name="bgTitle"> |
|
79 <property name="title"> |
|
80 <string>&Titlebar</string> |
|
81 </property> |
|
82 <property name="flat"> |
|
83 <bool>true</bool> |
|
84 </property> |
|
85 <property name="checkable"> |
|
86 <bool>true</bool> |
|
87 </property> |
|
88 <property name="whatsThis" stdset="0"> |
|
89 <string>Select different controls you want to see in the titlebar, or turn the titlebar off. Popup windows should not have a titlebar.</string> |
|
90 </property> |
|
91 <layout class="QVBoxLayout"> |
|
92 <item> |
|
93 <widget class="QCheckBox" name="cbTitleSystem"> |
|
94 <property name="text"> |
|
95 <string>S&ystem Menu</string> |
|
96 </property> |
|
97 <property name="shortcut"> |
|
98 <string>Alt+Y</string> |
|
99 </property> |
|
100 <property name="checked"> |
|
101 <bool>true</bool> |
|
102 </property> |
|
103 <property name="toolTip" stdset="0"> |
|
104 <string>A window system menu.</string> |
|
105 </property> |
|
106 <property name="whatsThis" stdset="0"> |
|
107 <string>Adds a window system menu. Many window managers require a system menu to be able to provide minimize or maximize controls. A system menu implies a close button.</string> |
|
108 </property> |
|
109 </widget> |
|
110 </item> |
|
111 <item> |
|
112 <widget class="QCheckBox" name="cbTitleMinimize"> |
|
113 <property name="text"> |
|
114 <string>Minimi&ze</string> |
|
115 </property> |
|
116 <property name="shortcut"> |
|
117 <string>Alt+Z</string> |
|
118 </property> |
|
119 <property name="toolTip" stdset="0"> |
|
120 <string>A minimize button</string> |
|
121 </property> |
|
122 <property name="whatsThis" stdset="0"> |
|
123 <string>Adds a minimze button. This option requires a system menu on many window managers.</string> |
|
124 </property> |
|
125 </widget> |
|
126 </item> |
|
127 <item> |
|
128 <widget class="QCheckBox" name="cbTitleMaximize"> |
|
129 <property name="text"> |
|
130 <string>Ma&ximize</string> |
|
131 </property> |
|
132 <property name="shortcut"> |
|
133 <string>Alt+X</string> |
|
134 </property> |
|
135 <property name="toolTip" stdset="0"> |
|
136 <string>A maximize button</string> |
|
137 </property> |
|
138 <property name="whatsThis" stdset="0"> |
|
139 <string>Adds a maximze button. This option requires a system menu on many window managers.</string> |
|
140 </property> |
|
141 </widget> |
|
142 </item> |
|
143 <item> |
|
144 <widget class="QCheckBox" name="cbTitleContext"> |
|
145 <property name="text"> |
|
146 <string>&What's This</string> |
|
147 </property> |
|
148 <property name="shortcut"> |
|
149 <string>Alt+W</string> |
|
150 </property> |
|
151 <property name="toolTip" stdset="0"> |
|
152 <string>A context help button</string> |
|
153 </property> |
|
154 <property name="whatsThis" stdset="0"> |
|
155 <string>Adds a context help button. This option requires a system menu on many window managers, and often doesn't work together with minimize and maximize buttons.</string> |
|
156 </property> |
|
157 </widget> |
|
158 </item> |
|
159 </layout> |
|
160 </widget> |
|
161 </item> |
|
162 </layout> |
|
163 </item> |
|
164 <item> |
|
165 <layout class="QVBoxLayout"> |
|
166 <item> |
|
167 <widget class="Q3ButtonGroup" name="bgBehavior"> |
|
168 <property name="title"> |
|
169 <string>Behavior</string> |
|
170 </property> |
|
171 <property name="flat"> |
|
172 <bool>true</bool> |
|
173 </property> |
|
174 <property name="whatsThis" stdset="0"> |
|
175 <string>Select different behaviors of the window in runtime.</string> |
|
176 </property> |
|
177 <layout class="QVBoxLayout"> |
|
178 <item> |
|
179 <widget class="QCheckBox" name="cbBehaviorTaskbar"> |
|
180 <property name="text"> |
|
181 <string>Taskbar &Entry</string> |
|
182 </property> |
|
183 <property name="shortcut"> |
|
184 <string>Alt+E</string> |
|
185 </property> |
|
186 <property name="toolTip" stdset="0"> |
|
187 <string>Entry in the taskbar</string> |
|
188 </property> |
|
189 <property name="whatsThis" stdset="0"> |
|
190 <string>Gives the window a separate task bar entry.</string> |
|
191 </property> |
|
192 </widget> |
|
193 </item> |
|
194 <item> |
|
195 <widget class="QCheckBox" name="cbBehaviorStays"> |
|
196 <property name="text"> |
|
197 <string>Stays on T&op</string> |
|
198 </property> |
|
199 <property name="shortcut"> |
|
200 <string>Alt+O</string> |
|
201 </property> |
|
202 <property name="toolTip" stdset="0"> |
|
203 <string>Stay on top of the desktop</string> |
|
204 </property> |
|
205 <property name="whatsThis" stdset="0"> |
|
206 <string>Informs the window system that the window should stay on top of all other windows, including windows from other applications. This is not supported on all X11 window managers.</string> |
|
207 </property> |
|
208 </widget> |
|
209 </item> |
|
210 <item> |
|
211 <widget class="QCheckBox" name="cbBehaviorPopup"> |
|
212 <property name="enabled"> |
|
213 <bool>false</bool> |
|
214 </property> |
|
215 <property name="text"> |
|
216 <string>&Popup</string> |
|
217 </property> |
|
218 <property name="shortcut"> |
|
219 <string>Alt+P</string> |
|
220 </property> |
|
221 <property name="toolTip" stdset="0"> |
|
222 <string>A popup window</string> |
|
223 </property> |
|
224 <property name="whatsThis" stdset="0"> |
|
225 <string>Indicates that this widget is a popup window. Popup windows are modal, but close automatically when the mouse is clicked.</string> |
|
226 </property> |
|
227 </widget> |
|
228 </item> |
|
229 <item> |
|
230 <widget class="QCheckBox" name="cbBehaviorTool"> |
|
231 <property name="text"> |
|
232 <string>Too&l</string> |
|
233 </property> |
|
234 <property name="shortcut"> |
|
235 <string>Alt+L</string> |
|
236 </property> |
|
237 <property name="toolTip" stdset="0"> |
|
238 <string>A tool window</string> |
|
239 </property> |
|
240 <property name="whatsThis" stdset="0"> |
|
241 <string>Makes the window a tool window. Tool windows often have a smaller titlebar and decoration, and don't activate automtically when displayed. Tool windows often cannot have their own taskbar entry.</string> |
|
242 </property> |
|
243 </widget> |
|
244 </item> |
|
245 <item> |
|
246 <widget class="QCheckBox" name="cbBehaviorModal"> |
|
247 <property name="text"> |
|
248 <string>&Modal</string> |
|
249 </property> |
|
250 <property name="shortcut"> |
|
251 <string>Alt+M</string> |
|
252 </property> |
|
253 <property name="toolTip" stdset="0"> |
|
254 <string>Show modal</string> |
|
255 </property> |
|
256 <property name="whatsThis" stdset="0"> |
|
257 <string>The window is modal for the application, e.g. input for other windows are blocked by this window.</string> |
|
258 </property> |
|
259 </widget> |
|
260 </item> |
|
261 </layout> |
|
262 </widget> |
|
263 </item> |
|
264 <item> |
|
265 <spacer name="spacer2"> |
|
266 <property name="sizeHint"> |
|
267 <size> |
|
268 <width>20</width> |
|
269 <height>31</height> |
|
270 </size> |
|
271 </property> |
|
272 <property name="sizeType"> |
|
273 <enum>QSizePolicy::Expanding</enum> |
|
274 </property> |
|
275 <property name="orientation"> |
|
276 <enum>Qt::Vertical</enum> |
|
277 </property> |
|
278 </spacer> |
|
279 </item> |
|
280 </layout> |
|
281 </item> |
|
282 </layout> |
|
283 </item> |
|
284 <item> |
|
285 <widget class="Q3GroupBox" name="gbProperties"> |
|
286 <property name="title"> |
|
287 <string>Properties</string> |
|
288 </property> |
|
289 <property name="flat"> |
|
290 <bool>true</bool> |
|
291 </property> |
|
292 <property name="whatsThis" stdset="0"> |
|
293 <string>Set other properties of the window.</string> |
|
294 </property> |
|
295 <layout class="QGridLayout"> |
|
296 <item row="0" column="1"> |
|
297 <widget class="QLineEdit" name="leCaption"> |
|
298 <property name="text"> |
|
299 <string>Caption</string> |
|
300 </property> |
|
301 <property name="toolTip" stdset="0"> |
|
302 <string>Window caption</string> |
|
303 </property> |
|
304 <property name="whatsThis" stdset="0"> |
|
305 <string>The caption of the window.</string> |
|
306 </property> |
|
307 </widget> |
|
308 </item> |
|
309 <item row="1" column="1"> |
|
310 <layout class="QHBoxLayout"> |
|
311 <item> |
|
312 <widget class="QLineEdit" name="leIcon"> |
|
313 <property name="toolTip" stdset="0"> |
|
314 <string>Icon file</string> |
|
315 </property> |
|
316 <property name="whatsThis" stdset="0"> |
|
317 <string>Provide an image file.</string> |
|
318 </property> |
|
319 </widget> |
|
320 </item> |
|
321 <item> |
|
322 <widget class="QToolButton" name="tbPick"> |
|
323 <property name="text"> |
|
324 <string>...</string> |
|
325 </property> |
|
326 <property name="toolTip" stdset="0"> |
|
327 <string>Pick an icon</string> |
|
328 </property> |
|
329 <property name="whatsThis" stdset="0"> |
|
330 <string>Select an image file.</string> |
|
331 </property> |
|
332 </widget> |
|
333 </item> |
|
334 </layout> |
|
335 </item> |
|
336 <item row="2" column="1"> |
|
337 <widget class="QSlider" name="slTransparency"> |
|
338 <property name="maximum"> |
|
339 <number>100</number> |
|
340 </property> |
|
341 <property name="pageStep"> |
|
342 <number>10</number> |
|
343 </property> |
|
344 <property name="orientation"> |
|
345 <enum>Qt::Horizontal</enum> |
|
346 </property> |
|
347 <property name="tickPosition"> |
|
348 <enum>QSlider::TicksBelow</enum> |
|
349 </property> |
|
350 <property name="tickInterval"> |
|
351 <number>10</number> |
|
352 </property> |
|
353 <property name="toolTip" stdset="0"> |
|
354 <string>Window transparency</string> |
|
355 </property> |
|
356 <property name="whatsThis" stdset="0"> |
|
357 <string>Set the transparency of the window. |
|
358 A high value gives a high window transparency, e.g. it is less visible. |
|
359 |
|
360 Note that this attribute is not supported on many windowing systems and will have no effect.</string> |
|
361 </property> |
|
362 </widget> |
|
363 </item> |
|
364 <item row="2" column="0"> |
|
365 <widget class="QLabel" name="textLabel3"> |
|
366 <property name="text"> |
|
367 <string>Transp&arency:</string> |
|
368 </property> |
|
369 <property name="buddy" stdset="0"> |
|
370 <cstring>slTransparency</cstring> |
|
371 </property> |
|
372 <property name="wordWrap"> |
|
373 <bool>false</bool> |
|
374 </property> |
|
375 </widget> |
|
376 </item> |
|
377 <item row="1" column="0"> |
|
378 <widget class="QLabel" name="textLabel2"> |
|
379 <property name="text"> |
|
380 <string>&Icon:</string> |
|
381 </property> |
|
382 <property name="buddy" stdset="0"> |
|
383 <cstring>leIcon</cstring> |
|
384 </property> |
|
385 <property name="wordWrap"> |
|
386 <bool>false</bool> |
|
387 </property> |
|
388 </widget> |
|
389 </item> |
|
390 <item row="0" column="0"> |
|
391 <widget class="QLabel" name="textLabel1"> |
|
392 <property name="text"> |
|
393 <string>&Caption:</string> |
|
394 </property> |
|
395 <property name="buddy" stdset="0"> |
|
396 <cstring>leCaption</cstring> |
|
397 </property> |
|
398 <property name="wordWrap"> |
|
399 <bool>false</bool> |
|
400 </property> |
|
401 </widget> |
|
402 </item> |
|
403 </layout> |
|
404 </widget> |
|
405 </item> |
|
406 <item> |
|
407 <layout class="QHBoxLayout"> |
|
408 <item> |
|
409 <spacer name="spacer1"> |
|
410 <property name="sizeHint"> |
|
411 <size> |
|
412 <width>70</width> |
|
413 <height>21</height> |
|
414 </size> |
|
415 </property> |
|
416 <property name="sizeType"> |
|
417 <enum>QSizePolicy::Expanding</enum> |
|
418 </property> |
|
419 <property name="orientation"> |
|
420 <enum>Qt::Horizontal</enum> |
|
421 </property> |
|
422 </spacer> |
|
423 </item> |
|
424 <item> |
|
425 <widget class="QPushButton" name="pbApply"> |
|
426 <property name="text"> |
|
427 <string>Apply</string> |
|
428 </property> |
|
429 <property name="shortcut"> |
|
430 <string/> |
|
431 </property> |
|
432 <property name="default"> |
|
433 <bool>true</bool> |
|
434 </property> |
|
435 <property name="whatsThis" stdset="0"> |
|
436 <string>Creates a new window with the selected flags, or modifies the visible window.</string> |
|
437 </property> |
|
438 </widget> |
|
439 </item> |
|
440 <item> |
|
441 <widget class="QPushButton" name="pbClose"> |
|
442 <property name="text"> |
|
443 <string>Close</string> |
|
444 </property> |
|
445 <property name="shortcut"> |
|
446 <string/> |
|
447 </property> |
|
448 <property name="whatsThis" stdset="0"> |
|
449 <string>Closes this dialog and exits the application.</string> |
|
450 </property> |
|
451 </widget> |
|
452 </item> |
|
453 </layout> |
|
454 </item> |
|
455 </layout> |
|
456 </widget> |
|
457 <layoutdefault spacing="6" margin="11"/> |
|
458 <pixmapfunction>qPixmapFromMimeSource</pixmapfunction> |
|
459 <includes> |
|
460 <include location="global">qpointer.h</include> |
|
461 <include location="global">q3vbox.h</include> |
|
462 </includes> |
|
463 <connections> |
|
464 <connection> |
|
465 <sender>pbClose</sender> |
|
466 <signal>clicked()</signal> |
|
467 <receiver>OptionsDialog</receiver> |
|
468 <slot>close()</slot> |
|
469 </connection> |
|
470 <connection> |
|
471 <sender>pbApply</sender> |
|
472 <signal>clicked()</signal> |
|
473 <receiver>OptionsDialog</receiver> |
|
474 <slot>apply()</slot> |
|
475 </connection> |
|
476 <connection> |
|
477 <sender>bgBorder</sender> |
|
478 <signal>toggled(bool)</signal> |
|
479 <receiver>bgTitle</receiver> |
|
480 <slot>setEnabled(bool)</slot> |
|
481 </connection> |
|
482 <connection> |
|
483 <sender>cbTitleSystem</sender> |
|
484 <signal>toggled(bool)</signal> |
|
485 <receiver>cbTitleMinimize</receiver> |
|
486 <slot>setEnabled(bool)</slot> |
|
487 </connection> |
|
488 <connection> |
|
489 <sender>cbTitleSystem</sender> |
|
490 <signal>toggled(bool)</signal> |
|
491 <receiver>cbTitleMaximize</receiver> |
|
492 <slot>setEnabled(bool)</slot> |
|
493 </connection> |
|
494 <connection> |
|
495 <sender>cbTitleSystem</sender> |
|
496 <signal>toggled(bool)</signal> |
|
497 <receiver>cbTitleContext</receiver> |
|
498 <slot>setEnabled(bool)</slot> |
|
499 </connection> |
|
500 <connection> |
|
501 <sender>bgTitle</sender> |
|
502 <signal>toggled(bool)</signal> |
|
503 <receiver>cbBehaviorPopup</receiver> |
|
504 <slot>setDisabled(bool)</slot> |
|
505 </connection> |
|
506 <connection> |
|
507 <sender>cbBehaviorPopup</sender> |
|
508 <signal>toggled(bool)</signal> |
|
509 <receiver>bgTitle</receiver> |
|
510 <slot>setDisabled(bool)</slot> |
|
511 </connection> |
|
512 <connection> |
|
513 <sender>tbPick</sender> |
|
514 <signal>clicked()</signal> |
|
515 <receiver>OptionsDialog</receiver> |
|
516 <slot>pickIcon()</slot> |
|
517 </connection> |
|
518 </connections> |
|
519 </ui> |