eric7/Plugins/WizardPlugins/E5MessageBoxWizard/E5MessageBoxWizardDialog.ui

branch
eric7
changeset 8312
800c432b34c8
parent 6942
2602857055c5
child 8356
68ec9c3d4de5
equal deleted inserted replaced
8311:4e8b98454baa 8312:800c432b34c8
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3 <class>E5MessageBoxWizardDialog</class>
4 <widget class="QDialog" name="E5MessageBoxWizardDialog">
5 <property name="geometry">
6 <rect>
7 <x>0</x>
8 <y>0</y>
9 <width>535</width>
10 <height>681</height>
11 </rect>
12 </property>
13 <property name="windowTitle">
14 <string>E5MessageBox Wizard</string>
15 </property>
16 <property name="sizeGripEnabled">
17 <bool>true</bool>
18 </property>
19 <layout class="QVBoxLayout" name="verticalLayout_2">
20 <item>
21 <widget class="QGroupBox" name="typeBox">
22 <property name="title">
23 <string>Type</string>
24 </property>
25 <layout class="QGridLayout" name="gridLayout">
26 <item row="0" column="0">
27 <widget class="QRadioButton" name="rInformation">
28 <property name="toolTip">
29 <string>Generate an Information message box</string>
30 </property>
31 <property name="text">
32 <string>Information</string>
33 </property>
34 <property name="checked">
35 <bool>true</bool>
36 </property>
37 </widget>
38 </item>
39 <item row="0" column="1">
40 <widget class="QRadioButton" name="rQuestion">
41 <property name="focusPolicy">
42 <enum>Qt::TabFocus</enum>
43 </property>
44 <property name="toolTip">
45 <string>Generate a Question message box</string>
46 </property>
47 <property name="text">
48 <string>Question</string>
49 </property>
50 </widget>
51 </item>
52 <item row="0" column="2">
53 <widget class="QRadioButton" name="rWarning">
54 <property name="focusPolicy">
55 <enum>Qt::TabFocus</enum>
56 </property>
57 <property name="toolTip">
58 <string>Generate a Warning message box</string>
59 </property>
60 <property name="text">
61 <string>Warning</string>
62 </property>
63 </widget>
64 </item>
65 <item row="0" column="3">
66 <widget class="QRadioButton" name="rCritical">
67 <property name="focusPolicy">
68 <enum>Qt::TabFocus</enum>
69 </property>
70 <property name="toolTip">
71 <string>Generate a Critical message box</string>
72 </property>
73 <property name="text">
74 <string>Critical</string>
75 </property>
76 </widget>
77 </item>
78 <item row="1" column="0">
79 <widget class="QRadioButton" name="rYesNo">
80 <property name="toolTip">
81 <string>Generate a Yes/No message box</string>
82 </property>
83 <property name="text">
84 <string>Yes/No</string>
85 </property>
86 </widget>
87 </item>
88 <item row="1" column="1">
89 <widget class="QRadioButton" name="rRetryAbort">
90 <property name="toolTip">
91 <string>Generate a retry/abort message box</string>
92 </property>
93 <property name="text">
94 <string>Retry/Abort</string>
95 </property>
96 </widget>
97 </item>
98 <item row="1" column="2">
99 <widget class="QRadioButton" name="rOkToClearData">
100 <property name="toolTip">
101 <string>Generate an &quot;ok to clear data&quot; message box</string>
102 </property>
103 <property name="text">
104 <string>OK to clear data</string>
105 </property>
106 </widget>
107 </item>
108 <item row="2" column="0">
109 <widget class="QRadioButton" name="rAbout">
110 <property name="focusPolicy">
111 <enum>Qt::TabFocus</enum>
112 </property>
113 <property name="toolTip">
114 <string>Generate an About message box</string>
115 </property>
116 <property name="text">
117 <string>About</string>
118 </property>
119 </widget>
120 </item>
121 <item row="2" column="1">
122 <widget class="QRadioButton" name="rAboutQt">
123 <property name="focusPolicy">
124 <enum>Qt::TabFocus</enum>
125 </property>
126 <property name="toolTip">
127 <string>Generate an AboutQt message box</string>
128 </property>
129 <property name="text">
130 <string>About Qt</string>
131 </property>
132 </widget>
133 </item>
134 <item row="2" column="2">
135 <widget class="QRadioButton" name="rStandard">
136 <property name="toolTip">
137 <string>Generate a standard message box</string>
138 </property>
139 <property name="text">
140 <string>Standard message box</string>
141 </property>
142 </widget>
143 </item>
144 </layout>
145 </widget>
146 </item>
147 <item>
148 <widget class="QLabel" name="lResultVar">
149 <property name="text">
150 <string>Result:</string>
151 </property>
152 </widget>
153 </item>
154 <item>
155 <widget class="QLineEdit" name="eResultVar">
156 <property name="toolTip">
157 <string>Enter the result variable name</string>
158 </property>
159 </widget>
160 </item>
161 <item>
162 <widget class="QLabel" name="textLabel1">
163 <property name="text">
164 <string>Title</string>
165 </property>
166 </widget>
167 </item>
168 <item>
169 <widget class="QLineEdit" name="eCaption">
170 <property name="toolTip">
171 <string>Enter the title for the message box</string>
172 </property>
173 </widget>
174 </item>
175 <item>
176 <widget class="QLabel" name="textLabel2">
177 <property name="text">
178 <string>Message</string>
179 </property>
180 </widget>
181 </item>
182 <item>
183 <widget class="QTextEdit" name="eMessage">
184 <property name="toolTip">
185 <string>Enter the message to be shown in the message box</string>
186 </property>
187 <property name="tabChangesFocus">
188 <bool>true</bool>
189 </property>
190 </widget>
191 </item>
192 <item>
193 <widget class="QGroupBox" name="parentGroup">
194 <property name="title">
195 <string>Parent</string>
196 </property>
197 <layout class="QGridLayout" name="gridLayout_3">
198 <item row="0" column="0">
199 <widget class="QRadioButton" name="parentSelf">
200 <property name="toolTip">
201 <string>Select &quot;self&quot; as parent</string>
202 </property>
203 <property name="text">
204 <string>self</string>
205 </property>
206 <property name="checked">
207 <bool>true</bool>
208 </property>
209 </widget>
210 </item>
211 <item row="0" column="1">
212 <widget class="QRadioButton" name="parentNone">
213 <property name="toolTip">
214 <string>Select &quot;None&quot; as parent</string>
215 </property>
216 <property name="text">
217 <string>None</string>
218 </property>
219 </widget>
220 </item>
221 <item row="1" column="0" colspan="2">
222 <layout class="QHBoxLayout" name="horizontalLayout_2">
223 <item>
224 <widget class="QRadioButton" name="parentOther">
225 <property name="toolTip">
226 <string>Select to enter a parent expression</string>
227 </property>
228 <property name="text">
229 <string>Expression:</string>
230 </property>
231 </widget>
232 </item>
233 <item>
234 <widget class="QLineEdit" name="parentEdit">
235 <property name="enabled">
236 <bool>false</bool>
237 </property>
238 <property name="toolTip">
239 <string>Enter the parent expression</string>
240 </property>
241 </widget>
242 </item>
243 </layout>
244 </item>
245 </layout>
246 </widget>
247 </item>
248 <item>
249 <widget class="QGroupBox" name="standardButtons">
250 <property name="title">
251 <string>Standard Buttons</string>
252 </property>
253 <layout class="QGridLayout" name="gridLayout_2">
254 <item row="0" column="0">
255 <widget class="QCheckBox" name="abortCheck">
256 <property name="text">
257 <string>Abort</string>
258 </property>
259 </widget>
260 </item>
261 <item row="0" column="1">
262 <widget class="QCheckBox" name="applyCheck">
263 <property name="text">
264 <string>Apply</string>
265 </property>
266 </widget>
267 </item>
268 <item row="0" column="2">
269 <widget class="QCheckBox" name="cancelCheck">
270 <property name="text">
271 <string>Cancel</string>
272 </property>
273 </widget>
274 </item>
275 <item row="0" column="3">
276 <widget class="QCheckBox" name="closeCheck">
277 <property name="text">
278 <string>Close</string>
279 </property>
280 </widget>
281 </item>
282 <item row="0" column="4">
283 <widget class="QCheckBox" name="discardCheck">
284 <property name="text">
285 <string>Discard</string>
286 </property>
287 </widget>
288 </item>
289 <item row="1" column="0">
290 <widget class="QCheckBox" name="helpCheck">
291 <property name="text">
292 <string>Help</string>
293 </property>
294 </widget>
295 </item>
296 <item row="1" column="1">
297 <widget class="QCheckBox" name="ignoreCheck">
298 <property name="text">
299 <string>Ignore</string>
300 </property>
301 </widget>
302 </item>
303 <item row="1" column="2">
304 <widget class="QCheckBox" name="noCheck">
305 <property name="text">
306 <string>No</string>
307 </property>
308 </widget>
309 </item>
310 <item row="1" column="3">
311 <widget class="QCheckBox" name="notoallCheck">
312 <property name="text">
313 <string>No to all</string>
314 </property>
315 </widget>
316 </item>
317 <item row="1" column="4">
318 <widget class="QCheckBox" name="okCheck">
319 <property name="text">
320 <string>Ok</string>
321 </property>
322 </widget>
323 </item>
324 <item row="2" column="0">
325 <widget class="QCheckBox" name="openCheck">
326 <property name="text">
327 <string>Open</string>
328 </property>
329 </widget>
330 </item>
331 <item row="2" column="1">
332 <widget class="QCheckBox" name="resetCheck">
333 <property name="text">
334 <string>Reset</string>
335 </property>
336 </widget>
337 </item>
338 <item row="2" column="2">
339 <widget class="QCheckBox" name="restoreCheck">
340 <property name="text">
341 <string>Restore defaults</string>
342 </property>
343 </widget>
344 </item>
345 <item row="2" column="3">
346 <widget class="QCheckBox" name="retryCheck">
347 <property name="text">
348 <string>Retry</string>
349 </property>
350 </widget>
351 </item>
352 <item row="2" column="4">
353 <widget class="QCheckBox" name="saveCheck">
354 <property name="text">
355 <string>Save</string>
356 </property>
357 </widget>
358 </item>
359 <item row="3" column="0">
360 <widget class="QCheckBox" name="saveallCheck">
361 <property name="text">
362 <string>Save all</string>
363 </property>
364 </widget>
365 </item>
366 <item row="3" column="1">
367 <widget class="QCheckBox" name="yesCheck">
368 <property name="text">
369 <string>Yes</string>
370 </property>
371 </widget>
372 </item>
373 <item row="3" column="2">
374 <widget class="QCheckBox" name="yestoallCheck">
375 <property name="text">
376 <string>Yes to all</string>
377 </property>
378 </widget>
379 </item>
380 </layout>
381 </widget>
382 </item>
383 <item>
384 <widget class="QGroupBox" name="defaultButton">
385 <property name="title">
386 <string>Default Button</string>
387 </property>
388 <layout class="QVBoxLayout" name="verticalLayout">
389 <item>
390 <widget class="QComboBox" name="defaultCombo">
391 <property name="sizePolicy">
392 <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
393 <horstretch>0</horstretch>
394 <verstretch>0</verstretch>
395 </sizepolicy>
396 </property>
397 <property name="toolTip">
398 <string>Select the default button</string>
399 </property>
400 </widget>
401 </item>
402 </layout>
403 </widget>
404 </item>
405 <item>
406 <widget class="QGroupBox" name="iconBox">
407 <property name="title">
408 <string>Icon</string>
409 </property>
410 <layout class="QHBoxLayout" name="_2">
411 <item>
412 <widget class="QRadioButton" name="iconInformation">
413 <property name="toolTip">
414 <string>Show an Information icon</string>
415 </property>
416 <property name="text">
417 <string>Information</string>
418 </property>
419 <property name="checked">
420 <bool>false</bool>
421 </property>
422 </widget>
423 </item>
424 <item>
425 <widget class="QRadioButton" name="iconQuestion">
426 <property name="focusPolicy">
427 <enum>Qt::TabFocus</enum>
428 </property>
429 <property name="toolTip">
430 <string>Show a Question icon</string>
431 </property>
432 <property name="text">
433 <string>Question</string>
434 </property>
435 <property name="checked">
436 <bool>true</bool>
437 </property>
438 </widget>
439 </item>
440 <item>
441 <widget class="QRadioButton" name="iconWarning">
442 <property name="focusPolicy">
443 <enum>Qt::TabFocus</enum>
444 </property>
445 <property name="toolTip">
446 <string>Show a Warning icon</string>
447 </property>
448 <property name="text">
449 <string>Warning</string>
450 </property>
451 </widget>
452 </item>
453 <item>
454 <widget class="QRadioButton" name="iconCritical">
455 <property name="focusPolicy">
456 <enum>Qt::TabFocus</enum>
457 </property>
458 <property name="toolTip">
459 <string>Show a Critical icon</string>
460 </property>
461 <property name="text">
462 <string>Critical</string>
463 </property>
464 </widget>
465 </item>
466 </layout>
467 </widget>
468 </item>
469 <item>
470 <layout class="QHBoxLayout" name="horizontalLayout">
471 <item>
472 <widget class="QCheckBox" name="modalCheck">
473 <property name="enabled">
474 <bool>false</bool>
475 </property>
476 <property name="toolTip">
477 <string>Select to generate a modal message box</string>
478 </property>
479 <property name="text">
480 <string>Modal Message Box</string>
481 </property>
482 </widget>
483 </item>
484 <item>
485 <widget class="QCheckBox" name="yesDefaultCheck">
486 <property name="enabled">
487 <bool>false</bool>
488 </property>
489 <property name="toolTip">
490 <string>Select to make 'Yes' the default</string>
491 </property>
492 <property name="text">
493 <string>Yes is default</string>
494 </property>
495 </widget>
496 </item>
497 <item>
498 <widget class="QLabel" name="label">
499 <property name="enabled">
500 <bool>false</bool>
501 </property>
502 <property name="text">
503 <string>Save function:</string>
504 </property>
505 </widget>
506 </item>
507 <item>
508 <widget class="QLineEdit" name="saveFuncEdit">
509 <property name="enabled">
510 <bool>false</bool>
511 </property>
512 <property name="toolTip">
513 <string>Enter the name of the save function</string>
514 </property>
515 </widget>
516 </item>
517 </layout>
518 </item>
519 <item>
520 <widget class="QDialogButtonBox" name="buttonBox">
521 <property name="orientation">
522 <enum>Qt::Horizontal</enum>
523 </property>
524 <property name="standardButtons">
525 <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
526 </property>
527 </widget>
528 </item>
529 </layout>
530 </widget>
531 <pixmapfunction>qPixmapFromMimeSource</pixmapfunction>
532 <tabstops>
533 <tabstop>rInformation</tabstop>
534 <tabstop>rQuestion</tabstop>
535 <tabstop>rWarning</tabstop>
536 <tabstop>rCritical</tabstop>
537 <tabstop>rYesNo</tabstop>
538 <tabstop>rRetryAbort</tabstop>
539 <tabstop>rOkToClearData</tabstop>
540 <tabstop>rAbout</tabstop>
541 <tabstop>rAboutQt</tabstop>
542 <tabstop>rStandard</tabstop>
543 <tabstop>eResultVar</tabstop>
544 <tabstop>eCaption</tabstop>
545 <tabstop>eMessage</tabstop>
546 <tabstop>parentSelf</tabstop>
547 <tabstop>parentNone</tabstop>
548 <tabstop>parentOther</tabstop>
549 <tabstop>parentEdit</tabstop>
550 <tabstop>abortCheck</tabstop>
551 <tabstop>applyCheck</tabstop>
552 <tabstop>cancelCheck</tabstop>
553 <tabstop>closeCheck</tabstop>
554 <tabstop>discardCheck</tabstop>
555 <tabstop>helpCheck</tabstop>
556 <tabstop>ignoreCheck</tabstop>
557 <tabstop>noCheck</tabstop>
558 <tabstop>notoallCheck</tabstop>
559 <tabstop>okCheck</tabstop>
560 <tabstop>openCheck</tabstop>
561 <tabstop>resetCheck</tabstop>
562 <tabstop>restoreCheck</tabstop>
563 <tabstop>retryCheck</tabstop>
564 <tabstop>saveCheck</tabstop>
565 <tabstop>saveallCheck</tabstop>
566 <tabstop>yesCheck</tabstop>
567 <tabstop>yestoallCheck</tabstop>
568 <tabstop>defaultCombo</tabstop>
569 <tabstop>iconInformation</tabstop>
570 <tabstop>iconQuestion</tabstop>
571 <tabstop>iconWarning</tabstop>
572 <tabstop>iconCritical</tabstop>
573 <tabstop>modalCheck</tabstop>
574 <tabstop>yesDefaultCheck</tabstop>
575 <tabstop>saveFuncEdit</tabstop>
576 <tabstop>buttonBox</tabstop>
577 </tabstops>
578 <resources/>
579 <connections>
580 <connection>
581 <sender>buttonBox</sender>
582 <signal>accepted()</signal>
583 <receiver>E5MessageBoxWizardDialog</receiver>
584 <slot>accept()</slot>
585 <hints>
586 <hint type="sourcelabel">
587 <x>52</x>
588 <y>744</y>
589 </hint>
590 <hint type="destinationlabel">
591 <x>34</x>
592 <y>604</y>
593 </hint>
594 </hints>
595 </connection>
596 <connection>
597 <sender>buttonBox</sender>
598 <signal>rejected()</signal>
599 <receiver>E5MessageBoxWizardDialog</receiver>
600 <slot>reject()</slot>
601 <hints>
602 <hint type="sourcelabel">
603 <x>144</x>
604 <y>744</y>
605 </hint>
606 <hint type="destinationlabel">
607 <x>126</x>
608 <y>605</y>
609 </hint>
610 </hints>
611 </connection>
612 <connection>
613 <sender>rStandard</sender>
614 <signal>toggled(bool)</signal>
615 <receiver>modalCheck</receiver>
616 <slot>setEnabled(bool)</slot>
617 <hints>
618 <hint type="sourcelabel">
619 <x>82</x>
620 <y>131</y>
621 </hint>
622 <hint type="destinationlabel">
623 <x>67</x>
624 <y>705</y>
625 </hint>
626 </hints>
627 </connection>
628 <connection>
629 <sender>rYesNo</sender>
630 <signal>toggled(bool)</signal>
631 <receiver>yesDefaultCheck</receiver>
632 <slot>setEnabled(bool)</slot>
633 <hints>
634 <hint type="sourcelabel">
635 <x>95</x>
636 <y>79</y>
637 </hint>
638 <hint type="destinationlabel">
639 <x>250</x>
640 <y>705</y>
641 </hint>
642 </hints>
643 </connection>
644 <connection>
645 <sender>rOkToClearData</sender>
646 <signal>toggled(bool)</signal>
647 <receiver>label</receiver>
648 <slot>setEnabled(bool)</slot>
649 <hints>
650 <hint type="sourcelabel">
651 <x>388</x>
652 <y>79</y>
653 </hint>
654 <hint type="destinationlabel">
655 <x>332</x>
656 <y>706</y>
657 </hint>
658 </hints>
659 </connection>
660 <connection>
661 <sender>rOkToClearData</sender>
662 <signal>toggled(bool)</signal>
663 <receiver>saveFuncEdit</receiver>
664 <slot>setEnabled(bool)</slot>
665 <hints>
666 <hint type="sourcelabel">
667 <x>388</x>
668 <y>79</y>
669 </hint>
670 <hint type="destinationlabel">
671 <x>524</x>
672 <y>706</y>
673 </hint>
674 </hints>
675 </connection>
676 <connection>
677 <sender>parentOther</sender>
678 <signal>toggled(bool)</signal>
679 <receiver>parentEdit</receiver>
680 <slot>setEnabled(bool)</slot>
681 <hints>
682 <hint type="sourcelabel">
683 <x>90</x>
684 <y>384</y>
685 </hint>
686 <hint type="destinationlabel">
687 <x>142</x>
688 <y>386</y>
689 </hint>
690 </hints>
691 </connection>
692 </connections>
693 </ui>

eric ide

mercurial