1<?xml version="1.0" encoding="UTF-8"?>
2<ui version="4.0">
3 <class>DemoModeDialog</class>
4 <widget class="QDialog" name="DemoModeDialog">
5  <property name="geometry">
6   <rect>
7    <x>0</x>
8    <y>0</y>
9    <width>359</width>
10    <height>370</height>
11   </rect>
12  </property>
13  <property name="windowTitle">
14   <string>Demo mode</string>
15  </property>
16  <layout class="QGridLayout" name="gridLayout" rowstretch="0,0,0,0,0,0,0,0,0,0,0,0,2,1,0">
17   <item row="0" column="0">
18    <widget class="QLabel" name="labelROMStatesToSelect">
19     <property name="sizePolicy">
20      <sizepolicy hsizetype="Fixed" vsizetype="Preferred">
21       <horstretch>0</horstretch>
22       <verstretch>0</verstretch>
23      </sizepolicy>
24     </property>
25     <property name="text">
26      <string>ROM state filter</string>
27     </property>
28    </widget>
29   </item>
30   <item row="0" column="4" rowspan="14">
31    <widget class="Line" name="line">
32     <property name="orientation">
33      <enum>Qt::Vertical</enum>
34     </property>
35    </widget>
36   </item>
37   <item row="0" column="5">
38    <widget class="QCheckBox" name="checkBoxTagged">
39     <property name="toolTip">
40      <string>Use only sets that are tagged?</string>
41     </property>
42     <property name="text">
43      <string>Tagged</string>
44     </property>
45    </widget>
46   </item>
47   <item row="1" column="0">
48    <widget class="QLabel" name="labelDriverStatus">
49     <property name="text">
50      <string>Driver status</string>
51     </property>
52    </widget>
53   </item>
54   <item row="1" column="1" colspan="3">
55    <widget class="QComboBox" name="comboBoxDriverStatus">
56     <property name="toolTip">
57      <string>Choose the driver maturity states for sets to be included in the demo</string>
58     </property>
59     <item>
60      <property name="text">
61       <string>good</string>
62      </property>
63     </item>
64     <item>
65      <property name="text">
66       <string>good + imperfect</string>
67      </property>
68     </item>
69     <item>
70      <property name="text">
71       <string>good + imperfect + preliminary</string>
72      </property>
73     </item>
74    </widget>
75   </item>
76   <item row="1" column="5">
77    <widget class="QCheckBox" name="checkBoxFavorites">
78     <property name="toolTip">
79      <string>Use only sets included in the favorites list?</string>
80     </property>
81     <property name="text">
82      <string>Favorites</string>
83     </property>
84    </widget>
85   </item>
86   <item row="2" column="0">
87    <widget class="QLabel" name="labelNameFilter">
88     <property name="text">
89      <string>Name filter</string>
90     </property>
91    </widget>
92   </item>
93   <item row="2" column="3">
94    <widget class="QToolButton" name="toolButtonClearNameFilter">
95     <property name="sizePolicy">
96      <sizepolicy hsizetype="Fixed" vsizetype="Minimum">
97       <horstretch>0</horstretch>
98       <verstretch>0</verstretch>
99      </sizepolicy>
100     </property>
101     <property name="toolTip">
102      <string>Clear name filter</string>
103     </property>
104     <property name="icon">
105      <iconset resource="qmc2.qrc">
106       <normaloff>:/data/img/broom.png</normaloff>:/data/img/broom.png</iconset>
107     </property>
108    </widget>
109   </item>
110   <item row="2" column="5">
111    <widget class="QCheckBox" name="checkBoxParents">
112     <property name="toolTip">
113      <string>Use only parent sets (no clones)?</string>
114     </property>
115     <property name="text">
116      <string>Parents</string>
117     </property>
118    </widget>
119   </item>
120   <item row="3" column="2">
121    <widget class="QToolButton" name="toolButtonSelectAll">
122     <property name="toolTip">
123      <string>Select all categories</string>
124     </property>
125     <property name="icon">
126      <iconset resource="qmc2.qrc">
127       <normaloff>:/data/img/plus_all.png</normaloff>:/data/img/plus_all.png</iconset>
128     </property>
129    </widget>
130   </item>
131   <item row="3" column="3">
132    <widget class="QToolButton" name="toolButtonDeselectAll">
133     <property name="toolTip">
134      <string>Deselect all categories</string>
135     </property>
136     <property name="icon">
137      <iconset resource="qmc2.qrc">
138       <normaloff>:/data/img/minus_all.png</normaloff>:/data/img/minus_all.png</iconset>
139     </property>
140    </widget>
141   </item>
142   <item row="3" column="5">
143    <widget class="QLabel" name="labelOptions">
144     <property name="sizePolicy">
145      <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
146       <horstretch>0</horstretch>
147       <verstretch>0</verstretch>
148      </sizepolicy>
149     </property>
150     <property name="text">
151      <string>Options</string>
152     </property>
153    </widget>
154   </item>
155   <item row="4" column="0" rowspan="10" colspan="4">
156    <widget class="QListWidget" name="listWidgetCategoryFilter">
157     <property name="sizePolicy">
158      <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
159       <horstretch>0</horstretch>
160       <verstretch>0</verstretch>
161      </sizepolicy>
162     </property>
163     <property name="toolTip">
164      <string>Select / deselect the categories you want to include / exclude</string>
165     </property>
166    </widget>
167   </item>
168   <item row="4" column="5">
169    <widget class="QCheckBox" name="checkBoxFullScreen">
170     <property name="toolTip">
171      <string>Start emulators in full screen mode (otherwise use windowed mode)</string>
172     </property>
173     <property name="text">
174      <string>Full screen</string>
175     </property>
176     <property name="checked">
177      <bool>true</bool>
178     </property>
179    </widget>
180   </item>
181   <item row="5" column="5">
182    <widget class="QCheckBox" name="checkBoxMaximized">
183     <property name="enabled">
184      <bool>false</bool>
185     </property>
186     <property name="toolTip">
187      <string>Maximize emulators when in windowed mode</string>
188     </property>
189     <property name="text">
190      <string>Maximized</string>
191     </property>
192    </widget>
193   </item>
194   <item row="6" column="5">
195    <widget class="QCheckBox" name="checkBoxEmbedded">
196     <property name="enabled">
197      <bool>false</bool>
198     </property>
199     <property name="toolTip">
200      <string>Embed windowed emulators</string>
201     </property>
202     <property name="text">
203      <string>Embedded</string>
204     </property>
205    </widget>
206   </item>
207   <item row="7" column="5">
208    <widget class="QCheckBox" name="checkBoxSequential">
209     <property name="toolTip">
210      <string>Launch sets sequentially rather than randomly</string>
211     </property>
212     <property name="text">
213      <string>Sequential</string>
214     </property>
215    </widget>
216   </item>
217   <item row="8" column="5">
218    <widget class="QLabel" name="labelSecondsToRun">
219     <property name="sizePolicy">
220      <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
221       <horstretch>0</horstretch>
222       <verstretch>0</verstretch>
223      </sizepolicy>
224     </property>
225     <property name="text">
226      <string>Seconds to run</string>
227     </property>
228    </widget>
229   </item>
230   <item row="9" column="5">
231    <widget class="QSpinBox" name="spinBoxSecondsToRun">
232     <property name="toolTip">
233      <string>Number of seconds to run an emulator in demo mode</string>
234     </property>
235     <property name="suffix">
236      <string> s</string>
237     </property>
238     <property name="maximum">
239      <number>999999</number>
240     </property>
241     <property name="value">
242      <number>60</number>
243     </property>
244    </widget>
245   </item>
246   <item row="10" column="5">
247    <widget class="QLabel" name="labelPause">
248     <property name="sizePolicy">
249      <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
250       <horstretch>0</horstretch>
251       <verstretch>0</verstretch>
252      </sizepolicy>
253     </property>
254     <property name="text">
255      <string>Pause (seconds)</string>
256     </property>
257    </widget>
258   </item>
259   <item row="11" column="5">
260    <widget class="QSpinBox" name="spinBoxPauseSeconds">
261     <property name="toolTip">
262      <string>Number of seconds to pause between emulator runs</string>
263     </property>
264     <property name="suffix">
265      <string> s</string>
266     </property>
267     <property name="minimum">
268      <number>1</number>
269     </property>
270     <property name="maximum">
271      <number>9999</number>
272     </property>
273     <property name="value">
274      <number>2</number>
275     </property>
276    </widget>
277   </item>
278   <item row="12" column="5">
279    <widget class="QPushButton" name="pushButtonRunDemo">
280     <property name="sizePolicy">
281      <sizepolicy hsizetype="Minimum" vsizetype="MinimumExpanding">
282       <horstretch>0</horstretch>
283       <verstretch>0</verstretch>
284      </sizepolicy>
285     </property>
286     <property name="toolTip">
287      <string>Run demo now</string>
288     </property>
289     <property name="text">
290      <string>Run &amp;demo</string>
291     </property>
292    </widget>
293   </item>
294   <item row="13" column="5">
295    <widget class="QPushButton" name="pushButtonClose">
296     <property name="sizePolicy">
297      <sizepolicy hsizetype="Minimum" vsizetype="MinimumExpanding">
298       <horstretch>0</horstretch>
299       <verstretch>0</verstretch>
300      </sizepolicy>
301     </property>
302     <property name="toolTip">
303      <string>Close this dialog (and stop running demo)</string>
304     </property>
305     <property name="text">
306      <string>&amp;Close</string>
307     </property>
308    </widget>
309   </item>
310   <item row="3" column="0" colspan="2">
311    <widget class="QLabel" name="labelCategoryFilter">
312     <property name="sizePolicy">
313      <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
314       <horstretch>0</horstretch>
315       <verstretch>0</verstretch>
316      </sizepolicy>
317     </property>
318     <property name="text">
319      <string>Category filter</string>
320     </property>
321    </widget>
322   </item>
323   <item row="2" column="1" colspan="2">
324    <widget class="QLineEdit" name="lineEditNameFilter">
325     <property name="sizePolicy">
326      <sizepolicy hsizetype="Expanding" vsizetype="Minimum">
327       <horstretch>0</horstretch>
328       <verstretch>0</verstretch>
329      </sizepolicy>
330     </property>
331     <property name="toolTip">
332      <string>Specify a name (ID) filter-expression (Qt regular-expression syntax!) -- leave empty to not filter by name</string>
333     </property>
334    </widget>
335   </item>
336   <item row="14" column="0" colspan="6">
337    <widget class="QLabel" name="labelDemoStatus">
338     <property name="alignment">
339      <set>Qt::AlignCenter</set>
340     </property>
341     <property name="wordWrap">
342      <bool>true</bool>
343     </property>
344    </widget>
345   </item>
346   <item row="0" column="1" colspan="3">
347    <layout class="QHBoxLayout" name="horizontalLayout">
348     <property name="spacing">
349      <number>0</number>
350     </property>
351     <item>
352      <widget class="QToolButton" name="toolButtonSelectC">
353       <property name="sizePolicy">
354        <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
355         <horstretch>0</horstretch>
356         <verstretch>0</verstretch>
357        </sizepolicy>
358       </property>
359       <property name="toolTip">
360        <string>Select ROM state C (correct)?</string>
361       </property>
362       <property name="icon">
363        <iconset resource="qmc2.qrc">
364         <normaloff>:/data/img/sphere_green.png</normaloff>:/data/img/sphere_green.png</iconset>
365       </property>
366       <property name="checkable">
367        <bool>true</bool>
368       </property>
369       <property name="checked">
370        <bool>true</bool>
371       </property>
372      </widget>
373     </item>
374     <item>
375      <widget class="QToolButton" name="toolButtonSelectM">
376       <property name="sizePolicy">
377        <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
378         <horstretch>0</horstretch>
379         <verstretch>0</verstretch>
380        </sizepolicy>
381       </property>
382       <property name="toolTip">
383        <string>Select ROM state M (mostly correct)?</string>
384       </property>
385       <property name="icon">
386        <iconset resource="qmc2.qrc">
387         <normaloff>:/data/img/sphere_yellowgreen.png</normaloff>:/data/img/sphere_yellowgreen.png</iconset>
388       </property>
389       <property name="checkable">
390        <bool>true</bool>
391       </property>
392       <property name="checked">
393        <bool>true</bool>
394       </property>
395      </widget>
396     </item>
397     <item>
398      <widget class="QToolButton" name="toolButtonSelectI">
399       <property name="sizePolicy">
400        <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
401         <horstretch>0</horstretch>
402         <verstretch>0</verstretch>
403        </sizepolicy>
404       </property>
405       <property name="toolTip">
406        <string>Select ROM state I (incorrect)?</string>
407       </property>
408       <property name="icon">
409        <iconset resource="qmc2.qrc">
410         <normaloff>:/data/img/sphere_red.png</normaloff>:/data/img/sphere_red.png</iconset>
411       </property>
412       <property name="checkable">
413        <bool>true</bool>
414       </property>
415      </widget>
416     </item>
417     <item>
418      <widget class="QToolButton" name="toolButtonSelectN">
419       <property name="sizePolicy">
420        <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
421         <horstretch>0</horstretch>
422         <verstretch>0</verstretch>
423        </sizepolicy>
424       </property>
425       <property name="toolTip">
426        <string>Select ROM state N (not found)?</string>
427       </property>
428       <property name="icon">
429        <iconset resource="qmc2.qrc">
430         <normaloff>:/data/img/sphere_grey.png</normaloff>:/data/img/sphere_grey.png</iconset>
431       </property>
432       <property name="checkable">
433        <bool>true</bool>
434       </property>
435      </widget>
436     </item>
437     <item>
438      <widget class="QToolButton" name="toolButtonSelectU">
439       <property name="sizePolicy">
440        <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
441         <horstretch>0</horstretch>
442         <verstretch>0</verstretch>
443        </sizepolicy>
444       </property>
445       <property name="toolTip">
446        <string>Select ROM state U (unknown)?</string>
447       </property>
448       <property name="icon">
449        <iconset resource="qmc2.qrc">
450         <normaloff>:/data/img/sphere_blue.png</normaloff>:/data/img/sphere_blue.png</iconset>
451       </property>
452       <property name="checkable">
453        <bool>true</bool>
454       </property>
455      </widget>
456     </item>
457    </layout>
458   </item>
459  </layout>
460 </widget>
461 <tabstops>
462  <tabstop>toolButtonSelectC</tabstop>
463  <tabstop>toolButtonSelectM</tabstop>
464  <tabstop>toolButtonSelectI</tabstop>
465  <tabstop>toolButtonSelectN</tabstop>
466  <tabstop>toolButtonSelectU</tabstop>
467  <tabstop>comboBoxDriverStatus</tabstop>
468  <tabstop>lineEditNameFilter</tabstop>
469  <tabstop>toolButtonClearNameFilter</tabstop>
470  <tabstop>toolButtonSelectAll</tabstop>
471  <tabstop>toolButtonDeselectAll</tabstop>
472  <tabstop>listWidgetCategoryFilter</tabstop>
473  <tabstop>checkBoxTagged</tabstop>
474  <tabstop>checkBoxFavorites</tabstop>
475  <tabstop>checkBoxParents</tabstop>
476  <tabstop>checkBoxFullScreen</tabstop>
477  <tabstop>checkBoxMaximized</tabstop>
478  <tabstop>checkBoxEmbedded</tabstop>
479  <tabstop>checkBoxSequential</tabstop>
480  <tabstop>spinBoxSecondsToRun</tabstop>
481  <tabstop>spinBoxPauseSeconds</tabstop>
482  <tabstop>pushButtonRunDemo</tabstop>
483  <tabstop>pushButtonClose</tabstop>
484 </tabstops>
485 <resources>
486  <include location="qmc2.qrc"/>
487 </resources>
488 <connections>
489  <connection>
490   <sender>checkBoxFullScreen</sender>
491   <signal>toggled(bool)</signal>
492   <receiver>checkBoxMaximized</receiver>
493   <slot>setDisabled(bool)</slot>
494   <hints>
495    <hint type="sourcelabel">
496     <x>354</x>
497     <y>139</y>
498    </hint>
499    <hint type="destinationlabel">
500     <x>354</x>
501     <y>164</y>
502    </hint>
503   </hints>
504  </connection>
505  <connection>
506   <sender>pushButtonClose</sender>
507   <signal>clicked()</signal>
508   <receiver>DemoModeDialog</receiver>
509   <slot>close()</slot>
510   <hints>
511    <hint type="sourcelabel">
512     <x>354</x>
513     <y>348</y>
514    </hint>
515    <hint type="destinationlabel">
516     <x>292</x>
517     <y>98</y>
518    </hint>
519   </hints>
520  </connection>
521  <connection>
522   <sender>checkBoxFullScreen</sender>
523   <signal>toggled(bool)</signal>
524   <receiver>checkBoxEmbedded</receiver>
525   <slot>setDisabled(bool)</slot>
526   <hints>
527    <hint type="sourcelabel">
528     <x>354</x>
529     <y>139</y>
530    </hint>
531    <hint type="destinationlabel">
532     <x>354</x>
533     <y>189</y>
534    </hint>
535   </hints>
536  </connection>
537  <connection>
538   <sender>toolButtonClearNameFilter</sender>
539   <signal>clicked()</signal>
540   <receiver>lineEditNameFilter</receiver>
541   <slot>clear()</slot>
542   <hints>
543    <hint type="sourcelabel">
544     <x>259</x>
545     <y>76</y>
546    </hint>
547    <hint type="destinationlabel">
548     <x>210</x>
549     <y>78</y>
550    </hint>
551   </hints>
552  </connection>
553 </connections>
554</ui>
555