]> git.sesse.net Git - ultimatescore/blob - client/mainwindow.ui
Add an option (default on) to autoshow comment when time goes out.
[ultimatescore] / client / mainwindow.ui
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3  <class>MainWindow</class>
4  <widget class="QMainWindow" name="MainWindow">
5   <property name="geometry">
6    <rect>
7     <x>0</x>
8     <y>0</y>
9     <width>805</width>
10     <height>597</height>
11    </rect>
12   </property>
13   <property name="windowTitle">
14    <string>Ultimate score client</string>
15   </property>
16   <widget class="QWidget" name="centralWidget">
17    <layout class="QVBoxLayout" name="verticalLayout_2">
18     <item>
19      <layout class="QVBoxLayout" name="verticalLayout">
20       <property name="leftMargin">
21        <number>6</number>
22       </property>
23       <property name="topMargin">
24        <number>6</number>
25       </property>
26       <property name="rightMargin">
27        <number>6</number>
28       </property>
29       <property name="bottomMargin">
30        <number>6</number>
31       </property>
32       <item>
33        <layout class="QHBoxLayout" name="horizontalLayout_10">
34         <item>
35          <widget class="QLabel" name="label_11">
36           <property name="text">
37            <string>WebSocket server port:</string>
38           </property>
39          </widget>
40         </item>
41         <item>
42          <widget class="QLineEdit" name="ws_port_box">
43           <property name="maximumSize">
44            <size>
45             <width>50</width>
46             <height>16777215</height>
47            </size>
48           </property>
49           <property name="text">
50            <string>5250</string>
51           </property>
52          </widget>
53         </item>
54         <item>
55          <widget class="QPushButton" name="ws_disconnect_btn">
56           <property name="text">
57            <string>Change port and disconnect all</string>
58           </property>
59          </widget>
60         </item>
61         <item>
62          <widget class="QLabel" name="ws_connected_label">
63           <property name="minimumSize">
64            <size>
65             <width>100</width>
66             <height>0</height>
67            </size>
68           </property>
69           <property name="text">
70            <string>Not connected</string>
71           </property>
72           <property name="alignment">
73            <set>Qt::AlignCenter</set>
74           </property>
75          </widget>
76         </item>
77         <item>
78          <widget class="QCheckBox" name="bt6000_enable">
79           <property name="text">
80            <string>Score 1 UDP</string>
81           </property>
82           <property name="checked">
83            <bool>true</bool>
84           </property>
85          </widget>
86         </item>
87         <item>
88          <widget class="QCheckBox" name="bt6000_2_enable">
89           <property name="text">
90            <string>Score 2 UDP</string>
91           </property>
92           <property name="checked">
93            <bool>true</bool>
94           </property>
95          </widget>
96         </item>
97        </layout>
98       </item>
99       <item>
100        <layout class="QHBoxLayout" name="horizontalLayout_13">
101         <item>
102          <widget class="QPushButton" name="show_scorebug_btn">
103           <property name="text">
104            <string>Show score</string>
105           </property>
106          </widget>
107         </item>
108         <item>
109          <widget class="QPushButton" name="show_roster_1_btn">
110           <property name="text">
111            <string>Roster 1</string>
112           </property>
113          </widget>
114         </item>
115         <item>
116          <widget class="QPushButton" name="show_roster_2_btn">
117           <property name="text">
118            <string>Roster 2</string>
119           </property>
120          </widget>
121         </item>
122         <item>
123          <widget class="QPushButton" name="show_roster_carousel_btn">
124           <property name="text">
125            <string>Roster 1+2</string>
126           </property>
127          </widget>
128         </item>
129         <item>
130          <widget class="QPushButton" name="show_group_a_btn">
131           <property name="text">
132            <string>Group A</string>
133           </property>
134          </widget>
135         </item>
136         <item>
137          <widget class="QPushButton" name="show_group_b_btn">
138           <property name="text">
139            <string>Group B</string>
140           </property>
141          </widget>
142         </item>
143         <item>
144          <widget class="QPushButton" name="show_schedule_btn">
145           <property name="text">
146            <string>Schedule</string>
147           </property>
148          </widget>
149         </item>
150         <item>
151          <widget class="QPushButton" name="show_carousel_btn">
152           <property name="text">
153            <string>Carousel</string>
154           </property>
155          </widget>
156         </item>
157         <item>
158          <widget class="QPushButton" name="show_nothing_btn">
159           <property name="text">
160            <string>Hide all</string>
161           </property>
162          </widget>
163         </item>
164        </layout>
165       </item>
166       <item>
167        <layout class="QHBoxLayout" name="horizontalLayout_3">
168         <item>
169          <layout class="QGridLayout" name="gridLayout">
170           <item row="4" column="2">
171            <layout class="QHBoxLayout" name="horizontalLayout_4">
172             <item>
173              <widget class="QPushButton" name="goal_2_btn">
174               <property name="text">
175                <string>+1 point (F9)</string>
176               </property>
177               <property name="shortcut">
178                <string>F9</string>
179               </property>
180              </widget>
181             </item>
182             <item>
183              <widget class="QPushButton" name="ungoal_2_btn">
184               <property name="text">
185                <string>-1 point (F11)</string>
186               </property>
187               <property name="shortcut">
188                <string>F11</string>
189               </property>
190              </widget>
191             </item>
192            </layout>
193           </item>
194           <item row="3" column="0">
195            <widget class="QLabel" name="label_6">
196             <property name="text">
197              <string>Score</string>
198             </property>
199            </widget>
200           </item>
201           <item row="3" column="2">
202            <widget class="QSpinBox" name="score_2_box"/>
203           </item>
204           <item row="3" column="3">
205            <widget class="QPushButton" name="set_score_btn">
206             <property name="text">
207              <string>Set</string>
208             </property>
209            </widget>
210           </item>
211           <item row="2" column="0">
212            <widget class="QLabel" name="label_7">
213             <property name="text">
214              <string>CSS color</string>
215             </property>
216            </widget>
217           </item>
218           <item row="1" column="1">
219            <widget class="QLineEdit" name="initials_1_edit">
220             <property name="text">
221              <string>PCL</string>
222             </property>
223            </widget>
224           </item>
225           <item row="4" column="1">
226            <layout class="QHBoxLayout" name="horizontalLayout_5">
227             <item>
228              <widget class="QPushButton" name="goal_1_btn">
229               <property name="text">
230                <string>+1 point (F5)</string>
231               </property>
232               <property name="shortcut">
233                <string>F5</string>
234               </property>
235              </widget>
236             </item>
237             <item>
238              <widget class="QPushButton" name="ungoal_1_btn">
239               <property name="text">
240                <string>-1 point (F7)</string>
241               </property>
242               <property name="shortcut">
243                <string>F7</string>
244               </property>
245              </widget>
246             </item>
247            </layout>
248           </item>
249           <item row="2" column="1">
250            <widget class="QLineEdit" name="color_1_edit">
251             <property name="text">
252              <string>red</string>
253             </property>
254            </widget>
255           </item>
256           <item row="3" column="1">
257            <widget class="QSpinBox" name="score_1_box"/>
258           </item>
259           <item row="0" column="2">
260            <widget class="QLabel" name="label_4">
261             <property name="text">
262              <string>Team 2</string>
263             </property>
264            </widget>
265           </item>
266           <item row="0" column="1">
267            <widget class="QLabel" name="label_3">
268             <property name="text">
269              <string>Team 1</string>
270             </property>
271            </widget>
272           </item>
273           <item row="1" column="2">
274            <widget class="QLineEdit" name="initials_2_edit">
275             <property name="text">
276              <string>TFK</string>
277             </property>
278            </widget>
279           </item>
280           <item row="1" column="0">
281            <widget class="QLabel" name="label_5">
282             <property name="text">
283              <string>Initials</string>
284             </property>
285            </widget>
286           </item>
287           <item row="1" column="3">
288            <widget class="QPushButton" name="set_initials_btn">
289             <property name="text">
290              <string>Set</string>
291             </property>
292            </widget>
293           </item>
294           <item row="2" column="2">
295            <widget class="QLineEdit" name="color_2_edit">
296             <property name="text">
297              <string>yellow</string>
298             </property>
299            </widget>
300           </item>
301           <item row="2" column="3">
302            <widget class="QPushButton" name="set_color_btn">
303             <property name="text">
304              <string>Set</string>
305             </property>
306            </widget>
307           </item>
308           <item row="4" column="3">
309            <widget class="QPushButton" name="set_all_scorebug_btn">
310             <property name="text">
311              <string>Set all</string>
312             </property>
313            </widget>
314           </item>
315           <item row="5" column="0">
316            <widget class="QLabel" name="label_17">
317             <property name="text">
318              <string>Match 2</string>
319             </property>
320            </widget>
321           </item>
322           <item row="5" column="1">
323            <widget class="QLineEdit" name="match_2_initials_1_edit">
324             <property name="text">
325              <string>PCL</string>
326             </property>
327            </widget>
328           </item>
329           <item row="5" column="2">
330            <widget class="QLineEdit" name="match_2_initials_2_edit">
331             <property name="text">
332              <string>TFK</string>
333             </property>
334            </widget>
335           </item>
336           <item row="5" column="3">
337            <widget class="QPushButton" name="set_match_2_initials_btn">
338             <property name="text">
339              <string>Set</string>
340             </property>
341            </widget>
342           </item>
343          </layout>
344         </item>
345        </layout>
346       </item>
347       <item>
348        <widget class="Line" name="line_3">
349         <property name="orientation">
350          <enum>Qt::Horizontal</enum>
351         </property>
352        </widget>
353       </item>
354       <item>
355        <layout class="QHBoxLayout" name="horizontalLayout_2">
356         <item>
357          <widget class="QLabel" name="label">
358           <property name="text">
359            <string>Set clock to:</string>
360           </property>
361          </widget>
362         </item>
363         <item>
364          <widget class="QSpinBox" name="clock_min_box">
365           <property name="sizePolicy">
366            <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
367             <horstretch>0</horstretch>
368             <verstretch>0</verstretch>
369            </sizepolicy>
370           </property>
371          </widget>
372         </item>
373         <item>
374          <widget class="QLabel" name="label_2">
375           <property name="sizePolicy">
376            <sizepolicy hsizetype="Fixed" vsizetype="Preferred">
377             <horstretch>0</horstretch>
378             <verstretch>0</verstretch>
379            </sizepolicy>
380           </property>
381           <property name="text">
382            <string>:</string>
383           </property>
384          </widget>
385         </item>
386         <item>
387          <widget class="QSpinBox" name="clock_sec_box">
388           <property name="sizePolicy">
389            <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
390             <horstretch>0</horstretch>
391             <verstretch>0</verstretch>
392            </sizepolicy>
393           </property>
394           <property name="maximum">
395            <number>59</number>
396           </property>
397          </widget>
398         </item>
399         <item>
400          <widget class="QPushButton" name="set_clock_btn">
401           <property name="text">
402            <string>Set clock</string>
403           </property>
404          </widget>
405         </item>
406         <item>
407          <widget class="QLabel" name="label_14">
408           <property name="text">
409            <string>Set clock limit to:</string>
410           </property>
411          </widget>
412         </item>
413         <item>
414          <widget class="QSpinBox" name="clock_limit_min_box">
415           <property name="sizePolicy">
416            <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
417             <horstretch>0</horstretch>
418             <verstretch>0</verstretch>
419            </sizepolicy>
420           </property>
421           <property name="value">
422            <number>30</number>
423           </property>
424          </widget>
425         </item>
426         <item>
427          <widget class="QLabel" name="label_15">
428           <property name="sizePolicy">
429            <sizepolicy hsizetype="Fixed" vsizetype="Preferred">
430             <horstretch>0</horstretch>
431             <verstretch>0</verstretch>
432            </sizepolicy>
433           </property>
434           <property name="text">
435            <string>:</string>
436           </property>
437          </widget>
438         </item>
439         <item>
440          <widget class="QSpinBox" name="clock_limit_sec_box">
441           <property name="sizePolicy">
442            <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
443             <horstretch>0</horstretch>
444             <verstretch>0</verstretch>
445            </sizepolicy>
446           </property>
447           <property name="maximum">
448            <number>59</number>
449           </property>
450          </widget>
451         </item>
452         <item>
453          <widget class="QPushButton" name="set_clock_limit_btn">
454           <property name="text">
455            <string>Set limit</string>
456           </property>
457          </widget>
458         </item>
459        </layout>
460       </item>
461       <item>
462        <layout class="QHBoxLayout" name="horizontalLayout">
463         <item>
464          <widget class="QPushButton" name="start_and_show_clock_btn">
465           <property name="text">
466            <string>Start (and show) clock</string>
467           </property>
468          </widget>
469         </item>
470         <item>
471          <widget class="QPushButton" name="stop_clock_btn">
472           <property name="text">
473            <string>Stop clock</string>
474           </property>
475          </widget>
476         </item>
477         <item>
478          <widget class="QPushButton" name="show_clock_btn">
479           <property name="text">
480            <string>Show clock</string>
481           </property>
482          </widget>
483         </item>
484         <item>
485          <widget class="QPushButton" name="hide_clock_btn">
486           <property name="text">
487            <string>Hide clock</string>
488           </property>
489          </widget>
490         </item>
491         <item>
492          <widget class="QPushButton" name="show_match_2_btn">
493           <property name="text">
494            <string>Show match 2</string>
495           </property>
496          </widget>
497         </item>
498         <item>
499          <widget class="QPushButton" name="hide_match_2_btn">
500           <property name="text">
501            <string>Hide match 2</string>
502           </property>
503          </widget>
504         </item>
505        </layout>
506       </item>
507       <item>
508        <widget class="Line" name="line_2">
509         <property name="orientation">
510          <enum>Qt::Horizontal</enum>
511         </property>
512        </widget>
513       </item>
514       <item>
515        <layout class="QHBoxLayout" name="horizontalLayout_6">
516         <item>
517          <widget class="QLabel" name="label_8">
518           <property name="text">
519            <string>Comment:</string>
520           </property>
521          </widget>
522         </item>
523         <item>
524          <widget class="QLineEdit" name="comment_edit">
525           <property name="text">
526            <string/>
527           </property>
528          </widget>
529         </item>
530         <item>
531          <widget class="QPushButton" name="set_comment_btn">
532           <property name="text">
533            <string>Set</string>
534           </property>
535          </widget>
536         </item>
537         <item>
538          <widget class="QPushButton" name="set_and_show_comment_btn">
539           <property name="text">
540            <string>Set+show</string>
541           </property>
542          </widget>
543         </item>
544         <item>
545          <widget class="QPushButton" name="hide_comment_btn">
546           <property name="text">
547            <string>Hide</string>
548           </property>
549          </widget>
550         </item>
551        </layout>
552       </item>
553       <item>
554        <layout class="QHBoxLayout" name="horizontalLayout_11">
555         <item>
556          <widget class="QLabel" name="label_12">
557           <property name="text">
558            <string>Suggested autocomment if game ends right now:</string>
559           </property>
560          </widget>
561         </item>
562         <item>
563          <widget class="QLineEdit" name="autocomment_edit">
564           <property name="enabled">
565            <bool>true</bool>
566           </property>
567           <property name="text">
568            <string/>
569           </property>
570          </widget>
571         </item>
572         <item>
573          <widget class="QPushButton" name="set_and_show_autocomment_btn">
574           <property name="text">
575            <string>Set+show</string>
576           </property>
577          </widget>
578         </item>
579         <item>
580          <widget class="QCheckBox" name="autoshow_autocomment">
581           <property name="text">
582            <string>Auto-show on clock limit</string>
583           </property>
584           <property name="checked">
585            <bool>true</bool>
586           </property>
587          </widget>
588         </item>
589        </layout>
590       </item>
591       <item>
592        <widget class="Line" name="line">
593         <property name="orientation">
594          <enum>Qt::Horizontal</enum>
595         </property>
596        </widget>
597       </item>
598       <item>
599        <layout class="QHBoxLayout" name="horizontalLayout_7">
600         <item>
601          <widget class="QLabel" name="label_9">
602           <property name="text">
603            <string>Lower third heading (HTML allowed):</string>
604           </property>
605          </widget>
606         </item>
607         <item>
608          <widget class="QLineEdit" name="lowerthird_heading_edit"/>
609         </item>
610        </layout>
611       </item>
612       <item>
613        <layout class="QHBoxLayout" name="horizontalLayout_8">
614         <item>
615          <widget class="QLabel" name="label_10">
616           <property name="text">
617            <string>Lower third subheading (HTML allowed):</string>
618           </property>
619          </widget>
620         </item>
621         <item>
622          <widget class="QLineEdit" name="lowerthird_subheading_edit">
623           <property name="text">
624            <string>Trøndisk 2018</string>
625           </property>
626          </widget>
627         </item>
628        </layout>
629       </item>
630       <item>
631        <layout class="QHBoxLayout" name="horizontalLayout_9">
632         <item>
633          <widget class="QPushButton" name="show_lower_third_btn">
634           <property name="text">
635            <string>Set + show lower third</string>
636           </property>
637          </widget>
638         </item>
639         <item>
640          <widget class="QPushButton" name="hide_lower_third_btn">
641           <property name="text">
642            <string>Hide lower third</string>
643           </property>
644          </widget>
645         </item>
646        </layout>
647       </item>
648       <item>
649        <layout class="QHBoxLayout" name="horizontalLayout_12">
650         <item>
651          <widget class="QLabel" name="label_13">
652           <property name="text">
653            <string>Quick lower third (A&lt;num&gt;/B&lt;num&gt; = players, C&lt;num&gt; = code):</string>
654           </property>
655          </widget>
656         </item>
657         <item>
658          <widget class="QLineEdit" name="quick_lower_third_edit"/>
659         </item>
660         <item>
661          <widget class="QPushButton" name="show_quick_lower_third_btn">
662           <property name="text">
663            <string>Show</string>
664           </property>
665          </widget>
666         </item>
667        </layout>
668       </item>
669      </layout>
670     </item>
671    </layout>
672   </widget>
673   <widget class="QStatusBar" name="statusBar"/>
674  </widget>
675  <layoutdefault spacing="6" margin="11"/>
676  <tabstops>
677   <tabstop>ws_port_box</tabstop>
678   <tabstop>ws_disconnect_btn</tabstop>
679   <tabstop>initials_1_edit</tabstop>
680   <tabstop>initials_2_edit</tabstop>
681   <tabstop>set_initials_btn</tabstop>
682   <tabstop>color_1_edit</tabstop>
683   <tabstop>color_2_edit</tabstop>
684   <tabstop>set_color_btn</tabstop>
685   <tabstop>score_1_box</tabstop>
686   <tabstop>score_2_box</tabstop>
687   <tabstop>set_score_btn</tabstop>
688   <tabstop>goal_1_btn</tabstop>
689   <tabstop>ungoal_1_btn</tabstop>
690   <tabstop>goal_2_btn</tabstop>
691   <tabstop>ungoal_2_btn</tabstop>
692   <tabstop>set_all_scorebug_btn</tabstop>
693   <tabstop>clock_min_box</tabstop>
694   <tabstop>clock_sec_box</tabstop>
695   <tabstop>set_clock_btn</tabstop>
696   <tabstop>start_and_show_clock_btn</tabstop>
697   <tabstop>stop_clock_btn</tabstop>
698   <tabstop>show_clock_btn</tabstop>
699   <tabstop>hide_clock_btn</tabstop>
700   <tabstop>comment_edit</tabstop>
701   <tabstop>set_comment_btn</tabstop>
702   <tabstop>set_and_show_comment_btn</tabstop>
703   <tabstop>hide_comment_btn</tabstop>
704   <tabstop>autocomment_edit</tabstop>
705   <tabstop>set_and_show_autocomment_btn</tabstop>
706   <tabstop>lowerthird_heading_edit</tabstop>
707   <tabstop>lowerthird_subheading_edit</tabstop>
708   <tabstop>show_lower_third_btn</tabstop>
709   <tabstop>hide_lower_third_btn</tabstop>
710  </tabstops>
711  <resources/>
712  <connections/>
713 </ui>