1 <!DOCTYPE UI><UI version="3.1" stdsetdef="1">
2 <class>KControlAddEditBase</class>
3 <widget class="QWizard">
5 <cstring>KControlAddEditBase</cstring>
7 <property name="geometry">
15 <widget class="QWidget">
16 <property name="name">
17 <cstring>_pageQuestion</cstring>
19 <attribute name="title">
20 <string>Question</string>
23 <property name="name">
24 <cstring>unnamed</cstring>
26 <property name="margin">
29 <widget class="QFrame">
30 <property name="name">
31 <cstring>frame3</cstring>
33 <property name="minimumSize">
39 <property name="maximumSize">
42 <height>32767</height>
45 <property name="paletteBackgroundPixmap">
46 <pixmap>editbase_image0</pixmap>
48 <property name="frameShape">
51 <property name="frameShadow">
55 <property name="name">
56 <cstring>unnamed</cstring>
58 <widget class="QLabel">
59 <property name="name">
60 <cstring>_questionPreview</cstring>
62 <property name="minimumSize">
68 <property name="maximumSize">
74 <property name="paletteBackgroundColor">
81 <property name="frameShape">
84 <property name="frameShadow">
87 <property name="text">
90 <property name="scaledContents">
95 <property name="name">
96 <cstring>spacer1</cstring>
98 <property name="orientation">
101 <property name="sizeType">
102 <enum>Expanding</enum>
104 <property name="sizeHint">
111 <widget class="QLabel">
112 <property name="name">
113 <cstring>textLabel1</cstring>
115 <property name="text">
116 <string><span style="color:black">
117 <p><b>Question</b></p>
119 <p>Only the question and type is required.</p>
120 </span></string>
124 <property name="name">
125 <cstring>spacer2</cstring>
127 <property name="orientation">
128 <enum>Vertical</enum>
130 <property name="sizeType">
131 <enum>Expanding</enum>
133 <property name="sizeHint">
142 <widget class="QFrame">
143 <property name="name">
144 <cstring>frame5</cstring>
146 <property name="frameShape">
149 <property name="frameShadow">
153 <property name="name">
154 <cstring>unnamed</cstring>
156 <widget class="QLabel" row="0" column="0">
157 <property name="name">
158 <cstring>textLabel2</cstring>
160 <property name="text">
161 <string>&Question:</string>
163 <property name="alignment">
164 <set>AlignTop|AlignRight</set>
166 <property name="buddy" stdset="0">
167 <cstring>_questionText</cstring>
170 <widget class="QLabel" row="2" column="0">
171 <property name="name">
172 <cstring>textLabel4</cstring>
174 <property name="text">
175 <string>&Type:</string>
177 <property name="alignment">
178 <set>AlignVCenter|AlignRight</set>
180 <property name="buddy" stdset="0">
181 <cstring>_questionType</cstring>
184 <widget class="QLabel" row="1" column="0">
185 <property name="name">
186 <cstring>textLabel3</cstring>
188 <property name="text">
189 <string>&Picture:</string>
191 <property name="alignment">
192 <set>AlignVCenter|AlignRight</set>
194 <property name="buddy" stdset="0">
195 <cstring>_questionPicture</cstring>
198 <widget class="KURLRequester" row="1" column="1">
199 <property name="name">
200 <cstring>_questionPicture</cstring>
203 <widget class="KComboBox" row="2" column="1">
205 <property name="text">
206 <string>Test</string>
210 <property name="text">
211 <string>Test with Question Points</string>
215 <property name="text">
216 <string>Test with Answers Points</string>
219 <property name="name">
220 <cstring>_questionType</cstring>
223 <widget class="QLabel" row="3" column="0">
224 <property name="name">
225 <cstring>textLabel5</cstring>
227 <property name="text">
228 <string>P&oint:</string>
230 <property name="alignment">
231 <set>AlignVCenter|AlignRight</set>
233 <property name="buddy" stdset="0">
234 <cstring>_questionPoint</cstring>
237 <widget class="QLabel" row="4" column="0">
238 <property name="name">
239 <cstring>textLabel6</cstring>
241 <property name="text">
242 <string>Ti&me:</string>
244 <property name="alignment">
245 <set>AlignVCenter|AlignRight</set>
247 <property name="buddy" stdset="0">
248 <cstring>_questionTime</cstring>
251 <widget class="QLabel" row="5" column="0">
252 <property name="name">
253 <cstring>textLabel7</cstring>
255 <property name="text">
256 <string>T&ip:</string>
258 <property name="alignment">
259 <set>AlignVCenter|AlignRight</set>
261 <property name="buddy" stdset="0">
262 <cstring>_questionTip</cstring>
265 <widget class="QLineEdit" row="5" column="1">
266 <property name="name">
267 <cstring>_questionTip</cstring>
270 <widget class="QLabel" row="6" column="0">
271 <property name="name">
272 <cstring>textLabel8</cstring>
274 <property name="text">
275 <string>&Explain:</string>
277 <property name="alignment">
278 <set>AlignTop|AlignRight</set>
280 <property name="buddy" stdset="0">
281 <cstring>_questionExplain</cstring>
284 <widget class="QTextEdit" row="0" column="1">
285 <property name="name">
286 <cstring>_questionText</cstring>
289 <widget class="QTextEdit" row="6" column="1">
290 <property name="name">
291 <cstring>_questionExplain</cstring>
294 <widget class="QLayoutWidget" row="4" column="1">
295 <property name="name">
296 <cstring>layout1</cstring>
299 <property name="name">
300 <cstring>unnamed</cstring>
302 <widget class="KIntNumInput">
303 <property name="name">
304 <cstring>_questionTime</cstring>
308 <property name="name">
309 <cstring>spacer4</cstring>
311 <property name="orientation">
312 <enum>Horizontal</enum>
314 <property name="sizeType">
315 <enum>Expanding</enum>
317 <property name="sizeHint">
326 <widget class="QLayoutWidget" row="3" column="1">
327 <property name="name">
328 <cstring>layout2</cstring>
331 <property name="name">
332 <cstring>unnamed</cstring>
334 <widget class="KIntNumInput">
335 <property name="name">
336 <cstring>_questionPoint</cstring>
340 <property name="name">
341 <cstring>spacer3</cstring>
343 <property name="orientation">
344 <enum>Horizontal</enum>
346 <property name="sizeType">
347 <enum>Expanding</enum>
349 <property name="sizeHint">
362 <widget class="QWidget">
363 <property name="name">
364 <cstring>_pageAnswer</cstring>
366 <attribute name="title">
367 <string>Answer</string>
370 <property name="name">
371 <cstring>unnamed</cstring>
373 <property name="margin">
376 <widget class="QFrame">
377 <property name="name">
378 <cstring>frame3_2</cstring>
380 <property name="minimumSize">
386 <property name="maximumSize">
389 <height>32767</height>
392 <property name="paletteBackgroundPixmap">
393 <pixmap>editbase_image0</pixmap>
395 <property name="frameShape">
398 <property name="frameShadow">
402 <property name="name">
403 <cstring>unnamed</cstring>
405 <widget class="QLabel">
406 <property name="name">
407 <cstring>_answerPreview</cstring>
409 <property name="minimumSize">
415 <property name="maximumSize">
421 <property name="paletteBackgroundColor">
428 <property name="frameShape">
431 <property name="frameShadow">
434 <property name="text">
437 <property name="scaledContents">
442 <property name="name">
443 <cstring>spacer1_2</cstring>
445 <property name="orientation">
446 <enum>Vertical</enum>
448 <property name="sizeType">
449 <enum>Expanding</enum>
451 <property name="sizeHint">
458 <widget class="QLabel">
459 <property name="name">
460 <cstring>textLabel2_2</cstring>
462 <property name="text">
463 <string><span style="color:black">
464 <p><b>Answers</b></p>
466 <p>Only the answer and value is required.</p>
467 </span></string>
471 <property name="name">
472 <cstring>spacer2_2</cstring>
474 <property name="orientation">
475 <enum>Vertical</enum>
477 <property name="sizeType">
478 <enum>Expanding</enum>
480 <property name="sizeHint">
489 <widget class="QFrame">
490 <property name="name">
491 <cstring>frame6</cstring>
493 <property name="frameShape">
496 <property name="frameShadow">
500 <property name="name">
501 <cstring>unnamed</cstring>
503 <widget class="QLayoutWidget">
504 <property name="name">
505 <cstring>layout11</cstring>
508 <property name="name">
509 <cstring>unnamed</cstring>
511 <widget class="QLayoutWidget" row="2" column="1">
512 <property name="name">
513 <cstring>layout3</cstring>
516 <property name="name">
517 <cstring>unnamed</cstring>
519 <widget class="KIntNumInput">
520 <property name="name">
521 <cstring>_answerPoints</cstring>
525 <property name="name">
526 <cstring>spacer9</cstring>
528 <property name="orientation">
529 <enum>Horizontal</enum>
531 <property name="sizeType">
532 <enum>Expanding</enum>
534 <property name="sizeHint">
543 <widget class="QTextEdit" row="0" column="1">
544 <property name="name">
545 <cstring>_answerText</cstring>
548 <widget class="QLabel" row="0" column="0">
549 <property name="name">
550 <cstring>textLabel1_2</cstring>
552 <property name="text">
553 <string>&Answer:</string>
555 <property name="alignment">
556 <set>AlignTop|AlignRight</set>
558 <property name="buddy" stdset="0">
559 <cstring>_answerText</cstring>
562 <widget class="QLabel" row="1" column="0">
563 <property name="name">
564 <cstring>textLabel2_3</cstring>
566 <property name="text">
567 <string>&Value:</string>
569 <property name="alignment">
570 <set>AlignVCenter|AlignRight</set>
572 <property name="buddy" stdset="0">
573 <cstring>_answerValue</cstring>
576 <widget class="QLayoutWidget" row="1" column="1">
577 <property name="name">
578 <cstring>layout7</cstring>
581 <property name="name">
582 <cstring>unnamed</cstring>
584 <widget class="QComboBox">
586 <property name="text">
587 <string>False</string>
591 <property name="text">
592 <string>True</string>
595 <property name="name">
596 <cstring>_answerValue</cstring>
601 <widget class="QLabel" row="2" column="0">
602 <property name="name">
603 <cstring>textLabel3_2</cstring>
605 <property name="text">
606 <string>&Points:</string>
608 <property name="alignment">
609 <set>AlignVCenter|AlignRight</set>
611 <property name="buddy" stdset="0">
612 <cstring>_answerPoints</cstring>
617 <widget class="Line">
618 <property name="name">
619 <cstring>line2</cstring>
621 <property name="frameShape">
624 <property name="frameShadow">
627 <property name="orientation">
628 <enum>Horizontal</enum>
631 <widget class="QLayoutWidget">
632 <property name="name">
633 <cstring>layout17</cstring>
636 <property name="name">
637 <cstring>unnamed</cstring>
639 <widget class="KListView">
641 <property name="text">
642 <string>Answer</string>
644 <property name="clickable">
647 <property name="resizable">
652 <property name="text">
653 <string>Value</string>
655 <property name="clickable">
658 <property name="resizable">
663 <property name="text">
664 <string>Points</string>
666 <property name="clickable">
669 <property name="resizable">
673 <property name="name">
674 <cstring>_listAnswers</cstring>
676 <property name="allColumnsShowFocus">
680 <widget class="QLayoutWidget">
681 <property name="name">
682 <cstring>layout16</cstring>
685 <property name="name">
686 <cstring>unnamed</cstring>
688 <widget class="QPushButton">
689 <property name="name">
690 <cstring>_buttonInsert</cstring>
692 <property name="enabled">
695 <property name="text">
696 <string>&Add</string>
699 <widget class="QPushButton">
700 <property name="name">
701 <cstring>_buttonRemove</cstring>
703 <property name="enabled">
706 <property name="text">
707 <string>&Remove</string>
711 <property name="name">
712 <cstring>spacer11</cstring>
714 <property name="orientation">
715 <enum>Vertical</enum>
717 <property name="sizeType">
720 <property name="sizeHint">
727 <widget class="QPushButton">
728 <property name="name">
729 <cstring>_buttonUp</cstring>
731 <property name="enabled">
734 <property name="text">
735 <string>Move &Up</string>
738 <widget class="QPushButton">
739 <property name="name">
740 <cstring>_buttonDown</cstring>
742 <property name="enabled">
745 <property name="text">
746 <string>Move &Down</string>
750 <property name="name">
751 <cstring>spacer12</cstring>
753 <property name="orientation">
754 <enum>Vertical</enum>
756 <property name="sizeType">
757 <enum>Expanding</enum>
759 <property name="sizeHint">
776 <image name="editbase_image0">
777 <data format="XPM.GZ" length="2314">789ced95bd6e83301485f73c8515b6a84a14a4b0547d844a1d2b551d8cb181947fdca1aafaeec5f75e830d51105397de230f9f50823987634e07f6faf2cc0ea75dafb9ce051319efd821f92ccbafb7f7a7efddfe1c5ed8f9c2c2909df70fbb7dc5040b642443a50c968411e21551291919ac01a5bdda1072c48e50227e200ebf95065b832ab2577b4445f7d584f4cf05a15270df0050c910b7c10923c4e38870a39890230a42899858c47f9688c33600156184988e08bbca08e979734285780c0671d231e6f1114423e2045622ac6422cd4ae4384aa646ca2a53590a1a27472d07c232f301cbd3620a5f052c6772589e725877065e9eaaaeead2aaa91bb3ea86a66dba610deaacfaae6f41e3a4bd1e56aaad8667d71b1c0838c8c981430e3c8ea71c2889290701393829284cc2cf414dbbc86fee02de79dff785f7c5dcfd85f70be7577c9f6da02a2b9342e9e650420ee374a0450edd94828614b49b83ce308b550766eedb1ed050077cf713bf05e9dcfd947ab0a105373a705d496291c3f60ee0066ab705b603f5e47e3b77bfa51e38fea77e0bf4a673803ac0fd16f029056c8158e620fc1640126e0b308bd577e07ad7fb1bcedfe840b1d9fb790b66a7119e475e0b2009b7059d9f829e9f46f63c5a75e0ff5bf0b7df829fc7dd2faa1761dd</data>
782 <sender>_questionText</sender>
783 <signal>textChanged()</signal>
784 <receiver>KControlAddEditBase</receiver>
785 <slot>slotDataChanged()</slot>
788 <sender>_questionPicture</sender>
789 <signal>urlSelected(const QString&)</signal>
790 <receiver>KControlAddEditBase</receiver>
791 <slot>slotPreviewImage(const QString&)</slot>
794 <sender>_questionType</sender>
795 <signal>activated(int)</signal>
796 <receiver>KControlAddEditBase</receiver>
797 <slot>slotQuestionTypeChanged(int)</slot>
800 <sender>_buttonInsert</sender>
801 <signal>clicked()</signal>
802 <receiver>KControlAddEditBase</receiver>
803 <slot>slotAddAnswer()</slot>
806 <sender>_buttonRemove</sender>
807 <signal>clicked()</signal>
808 <receiver>KControlAddEditBase</receiver>
809 <slot>slotRemoveAnswer()</slot>
812 <sender>_buttonUp</sender>
813 <signal>clicked()</signal>
814 <receiver>KControlAddEditBase</receiver>
815 <slot>slotMoveUpAnswer()</slot>
818 <sender>_buttonDown</sender>
819 <signal>clicked()</signal>
820 <receiver>KControlAddEditBase</receiver>
821 <slot>slotMoveDownAnswer()</slot>
824 <sender>_listAnswers</sender>
825 <signal>selectionChanged(QListViewItem*)</signal>
826 <receiver>KControlAddEditBase</receiver>
827 <slot>slotAnswerSelected(QListViewItem*)</slot>
830 <sender>_answerText</sender>
831 <signal>textChanged()</signal>
832 <receiver>KControlAddEditBase</receiver>
833 <slot>slotDataChanged()</slot>
837 <tabstop>_answerText</tabstop>
838 <tabstop>_answerValue</tabstop>
839 <tabstop>_answerPoints</tabstop>
840 <tabstop>_listAnswers</tabstop>
841 <tabstop>_buttonInsert</tabstop>
842 <tabstop>_buttonRemove</tabstop>
843 <tabstop>_buttonUp</tabstop>
844 <tabstop>_buttonDown</tabstop>
845 <tabstop>_questionText</tabstop>
846 <tabstop>_questionPicture</tabstop>
847 <tabstop>_questionType</tabstop>
848 <tabstop>_questionPoint</tabstop>
849 <tabstop>_questionTime</tabstop>
850 <tabstop>_questionTip</tabstop>
851 <tabstop>_questionExplain</tabstop>
854 <slot access="private" specifier="pure virtual">slotAddAnswer()</slot>
855 <slot access="private" specifier="pure virtual">slotRemoveAnswer()</slot>
856 <slot access="private" specifier="pure virtual">slotMoveUpAnswer()</slot>
857 <slot access="private" specifier="pure virtual">slotMoveDownAnswer()</slot>
858 <slot access="private" specifier="pure virtual">slotPreviewImage(const QString &)</slot>
859 <slot access="private" specifier="pure virtual">slotQuestionTypeChanged(int index)</slot>
860 <slot access="private" specifier="pure virtual">slotDataChanged()</slot>
861 <slot access="private" specifier="pure virtual">slotAnswerSelected(QListViewItem *)</slot>
863 <layoutdefaults spacing="6" margin="11"/>
865 <includehint>kurlrequester.h</includehint>
866 <includehint>klineedit.h</includehint>
867 <includehint>kpushbutton.h</includehint>
868 <includehint>kcombobox.h</includehint>
869 <includehint>knuminput.h</includehint>
870 <includehint>knuminput.h</includehint>
871 <includehint>knuminput.h</includehint>
872 <includehint>knuminput.h</includehint>
873 <includehint>knuminput.h</includehint>
874 <includehint>knuminput.h</includehint>
875 <includehint>klistview.h</includehint>