1 <!DOCTYPE UI><UI version="3.3" stdsetdef="1">
2 <class>PrefCardAppearanceBase</class>
3 <widget class="QWidget">
5 <cstring>PrefCardAppearanceBase</cstring>
7 <property name="geometry">
15 <property name="caption">
16 <string>Card Appearance</string>
19 <property name="name">
20 <cstring>unnamed</cstring>
22 <property name="margin">
25 <widget class="QFrame" row="0" column="0" rowspan="3" colspan="1">
26 <property name="name">
27 <cstring>cardFrame</cstring>
29 <property name="sizePolicy">
31 <hsizetype>5</hsizetype>
32 <vsizetype>5</vsizetype>
33 <horstretch>0</horstretch>
34 <verstretch>0</verstretch>
37 <property name="minimumSize">
43 <property name="maximumSize">
49 <property name="paletteBackgroundColor">
56 <property name="frameShape">
59 <property name="frameShadow">
62 <property name="toolTip" stdset="0">
63 <string>The flashcard</string>
65 <widget class="QLabel">
66 <property name="name">
67 <cstring>textLabel</cstring>
69 <property name="geometry">
77 <property name="sizePolicy">
79 <hsizetype>7</hsizetype>
80 <vsizetype>7</vsizetype>
81 <horstretch>0</horstretch>
82 <verstretch>0</verstretch>
85 <property name="paletteBackgroundColor">
92 <property name="text">
93 <string>This is the question</string>
95 <property name="textFormat">
98 <property name="scaledContents">
101 <property name="alignment">
102 <set>WordBreak|AlignCenter</set>
104 <property name="toolTip" stdset="0">
105 <string>The flashcard</string>
107 <property name="whatsThis" stdset="0">
108 <string>The flashcard. Select Quiz -> Check to see the other side.</string>
111 <widget class="Line">
112 <property name="name">
113 <cstring>line</cstring>
115 <property name="geometry">
123 <property name="sizePolicy">
125 <hsizetype>1</hsizetype>
126 <vsizetype>0</vsizetype>
127 <horstretch>0</horstretch>
128 <verstretch>0</verstretch>
131 <property name="paletteForegroundColor">
138 <property name="paletteBackgroundColor">
145 <property name="frameShape">
148 <property name="frameShadow">
151 <property name="orientation">
152 <enum>Horizontal</enum>
154 <property name="toolTip" stdset="0">
155 <string>The flashcard</string>
158 <widget class="QLabel">
159 <property name="name">
160 <cstring>titleLabel</cstring>
162 <property name="geometry">
170 <property name="sizePolicy">
172 <hsizetype>7</hsizetype>
173 <vsizetype>0</vsizetype>
174 <horstretch>0</horstretch>
175 <verstretch>0</verstretch>
178 <property name="paletteBackgroundColor">
185 <property name="font">
190 <property name="text">
191 <string>Front</string>
193 <property name="alignment">
196 <property name="toolTip" stdset="0">
197 <string>The flashcard</string>
199 <property name="whatsThis" stdset="0">
200 <string>Language or other identifier for this card</string>
204 <widget class="KPushButton" row="3" column="0">
205 <property name="name">
206 <cstring>flipButton</cstring>
208 <property name="text">
209 <string>&Flip</string>
211 <property name="toolTip" stdset="0">
212 <string>Flip card</string>
214 <property name="whatsThis" stdset="0">
215 <string>Use to show the other side of the card</string>
218 <widget class="QLabel" row="1" column="1">
219 <property name="name">
220 <cstring>textColorLabel</cstring>
222 <property name="sizePolicy">
224 <hsizetype>1</hsizetype>
225 <vsizetype>5</vsizetype>
226 <horstretch>0</horstretch>
227 <verstretch>0</verstretch>
230 <property name="text">
231 <string>Text color:</string>
233 <property name="buddy" stdset="0">
234 <cstring>textColorButton</cstring>
237 <widget class="QLabel" row="3" column="1">
238 <property name="name">
239 <cstring>frameColorLabel</cstring>
241 <property name="sizePolicy">
243 <hsizetype>1</hsizetype>
244 <vsizetype>5</vsizetype>
245 <horstretch>0</horstretch>
246 <verstretch>0</verstretch>
249 <property name="text">
250 <string>Frame color:</string>
252 <property name="buddy" stdset="0">
256 <widget class="QLabel" row="0" column="1">
257 <property name="name">
258 <cstring>fontLabel</cstring>
260 <property name="sizePolicy">
262 <hsizetype>1</hsizetype>
263 <vsizetype>5</vsizetype>
264 <horstretch>0</horstretch>
265 <verstretch>0</verstretch>
268 <property name="text">
269 <string>Font:</string>
271 <property name="buddy" stdset="0">
275 <widget class="QLabel" row="2" column="1">
276 <property name="name">
277 <cstring>cardColorLabel</cstring>
279 <property name="sizePolicy">
281 <hsizetype>1</hsizetype>
282 <vsizetype>5</vsizetype>
283 <horstretch>0</horstretch>
284 <verstretch>0</verstretch>
287 <property name="text">
288 <string>Card color:</string>
290 <property name="buddy" stdset="0">
294 <widget class="QWidgetStack" row="0" column="2" rowspan="4" colspan="1">
295 <property name="name">
296 <cstring>widgetStack</cstring>
298 <property name="sizePolicy">
300 <hsizetype>7</hsizetype>
301 <vsizetype>5</vsizetype>
302 <horstretch>0</horstretch>
303 <verstretch>0</verstretch>
306 <widget class="QWidget">
307 <property name="name">
308 <cstring>backStackPage</cstring>
310 <attribute name="id">
314 <property name="name">
315 <cstring>unnamed</cstring>
317 <property name="margin">
320 <widget class="KFontRequester" row="0" column="0">
321 <property name="name">
322 <cstring>kcfg_BackFont</cstring>
324 <property name="sizePolicy">
326 <hsizetype>7</hsizetype>
327 <vsizetype>0</vsizetype>
328 <horstretch>0</horstretch>
329 <verstretch>0</verstretch>
332 <property name="focusPolicy">
333 <enum>TabFocus</enum>
335 <property name="title">
336 <string>Font:</string>
338 <property name="toolTip" stdset="0">
339 <string>Font for back of card</string>
341 <property name="whatsThis" stdset="0">
342 <string>Use to select the font for displaying text on the back of the card</string>
345 <widget class="KColorButton" row="1" column="0">
346 <property name="name">
347 <cstring>kcfg_BackTextColor</cstring>
349 <property name="text">
352 <property name="toolTip" stdset="0">
353 <string>Select text color</string>
355 <property name="whatsThis" stdset="0">
356 <string>Use to select the color for text shown on the card</string>
359 <widget class="KColorButton" row="3" column="0">
360 <property name="name">
361 <cstring>kcfg_BackFrameColor</cstring>
363 <property name="text">
366 <property name="toolTip" stdset="0">
367 <string>Select card frame color</string>
369 <property name="whatsThis" stdset="0">
370 <string>Use to select the color for drawing the frame of the card</string>
373 <widget class="KColorButton" row="2" column="0">
374 <property name="name">
375 <cstring>kcfg_BackCardColor</cstring>
377 <property name="text">
380 <property name="toolTip" stdset="0">
381 <string>Select card color</string>
383 <property name="whatsThis" stdset="0">
384 <string>Select color used to draw the card</string>
389 <widget class="QWidget">
390 <property name="name">
391 <cstring>frontStackPage</cstring>
393 <attribute name="id">
397 <property name="name">
398 <cstring>unnamed</cstring>
400 <property name="margin">
403 <widget class="KFontRequester" row="0" column="0">
404 <property name="name">
405 <cstring>kcfg_FrontFont</cstring>
407 <property name="sizePolicy">
409 <hsizetype>7</hsizetype>
410 <vsizetype>0</vsizetype>
411 <horstretch>0</horstretch>
412 <verstretch>0</verstretch>
415 <property name="focusPolicy">
416 <enum>TabFocus</enum>
418 <property name="title">
419 <string>Font:</string>
421 <property name="toolTip" stdset="0">
422 <string>Font for front of card</string>
424 <property name="whatsThis" stdset="0">
425 <string>Use to select the font for displaying text on the front of the card</string>
428 <widget class="KColorButton" row="1" column="0">
429 <property name="name">
430 <cstring>kcfg_FrontTextColor</cstring>
432 <property name="text">
435 <property name="toolTip" stdset="0">
436 <string>Select text color</string>
438 <property name="whatsThis" stdset="0">
439 <string>Use to select the color for text shown on the card</string>
442 <widget class="KColorButton" row="3" column="0">
443 <property name="name">
444 <cstring>kcfg_FrontFrameColor</cstring>
446 <property name="text">
449 <property name="toolTip" stdset="0">
450 <string>Select card frame color</string>
452 <property name="whatsThis" stdset="0">
453 <string>Use to select the color for drawing the frame of the card</string>
456 <widget class="KColorButton" row="2" column="0">
457 <property name="name">
458 <cstring>kcfg_FrontCardColor</cstring>
460 <property name="text">
463 <property name="toolTip" stdset="0">
464 <string>Select card color</string>
466 <property name="whatsThis" stdset="0">
467 <string>Select color used to draw the card</string>
473 <spacer row="4" column="0" rowspan="1" colspan="3">
474 <property name="name">
475 <cstring>spacer</cstring>
477 <property name="orientation">
478 <enum>Vertical</enum>
480 <property name="sizeType">
481 <enum>Expanding</enum>
483 <property name="sizeHint">
494 <sender>flipButton</sender>
495 <signal>clicked()</signal>
496 <receiver>PrefCardAppearanceBase</receiver>
497 <slot>slotFlipButtonClicked()</slot>
500 <sender>kcfg_FrontFont</sender>
501 <signal>fontSelected(const QFont&)</signal>
502 <receiver>PrefCardAppearanceBase</receiver>
503 <slot>slotFontChanged(const QFont&)</slot>
506 <sender>kcfg_FrontTextColor</sender>
507 <signal>changed(const QColor&)</signal>
508 <receiver>PrefCardAppearanceBase</receiver>
509 <slot>slotTextColorChanged(const QColor&)</slot>
512 <sender>kcfg_FrontCardColor</sender>
513 <signal>changed(const QColor&)</signal>
514 <receiver>PrefCardAppearanceBase</receiver>
515 <slot>slotCardColorChanged(const QColor&)</slot>
518 <sender>kcfg_FrontFrameColor</sender>
519 <signal>changed(const QColor&)</signal>
520 <receiver>PrefCardAppearanceBase</receiver>
521 <slot>slotFrameColorChanged(const QColor&)</slot>
524 <sender>widgetStack</sender>
525 <signal>aboutToShow(QWidget*)</signal>
526 <receiver>PrefCardAppearanceBase</receiver>
527 <slot>slotAboutToShowWidget(QWidget*)</slot>
531 <tabstop>flipButton</tabstop>
532 <tabstop>kcfg_FrontFont</tabstop>
533 <tabstop>kcfg_FrontTextColor</tabstop>
534 <tabstop>kcfg_FrontCardColor</tabstop>
535 <tabstop>kcfg_FrontFrameColor</tabstop>
538 <slot>slotFlipButtonClicked()</slot>
539 <slot>slotFontChanged(const QFont &)</slot>
540 <slot>slotTextColorChanged(const QColor &)</slot>
541 <slot>slotAboutToShowWidget(QWidget *)</slot>
542 <slot>slotFrameColorChanged(const QColor &)</slot>
543 <slot>slotCardColorChanged(const QColor &)</slot>
545 <layoutdefaults spacing="6" margin="11"/>
547 <includehint>kpushbutton.h</includehint>
548 <includehint>kfontrequester.h</includehint>
549 <includehint>kcolorbutton.h</includehint>
550 <includehint>kcolorbutton.h</includehint>
551 <includehint>kcolorbutton.h</includehint>