]> git.sesse.net Git - ultimatescore/blob - client/mainwindow.ui
Accept and parse BT6000 data over UDP.
[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>Get BT6000 data on UDP</string>
81           </property>
82           <property name="checked">
83            <bool>true</bool>
84           </property>
85          </widget>
86         </item>
87        </layout>
88       </item>
89       <item>
90        <layout class="QHBoxLayout" name="horizontalLayout_13">
91         <item>
92          <widget class="QPushButton" name="show_scorebug_btn">
93           <property name="text">
94            <string>Show score</string>
95           </property>
96          </widget>
97         </item>
98         <item>
99          <widget class="QPushButton" name="show_roster_1_btn">
100           <property name="text">
101            <string>Roster 1</string>
102           </property>
103          </widget>
104         </item>
105         <item>
106          <widget class="QPushButton" name="show_roster_2_btn">
107           <property name="text">
108            <string>Roster 2</string>
109           </property>
110          </widget>
111         </item>
112         <item>
113          <widget class="QPushButton" name="show_roster_carousel_btn">
114           <property name="text">
115            <string>Roster 1+2</string>
116           </property>
117          </widget>
118         </item>
119         <item>
120          <widget class="QPushButton" name="show_group_a_btn">
121           <property name="text">
122            <string>Group A</string>
123           </property>
124          </widget>
125         </item>
126         <item>
127          <widget class="QPushButton" name="show_group_b_btn">
128           <property name="text">
129            <string>Group B</string>
130           </property>
131          </widget>
132         </item>
133         <item>
134          <widget class="QPushButton" name="show_schedule_btn">
135           <property name="text">
136            <string>Schedule</string>
137           </property>
138          </widget>
139         </item>
140         <item>
141          <widget class="QPushButton" name="show_carousel_btn">
142           <property name="text">
143            <string>Carousel</string>
144           </property>
145          </widget>
146         </item>
147         <item>
148          <widget class="QPushButton" name="show_nothing_btn">
149           <property name="text">
150            <string>Hide all</string>
151           </property>
152          </widget>
153         </item>
154        </layout>
155       </item>
156       <item>
157        <layout class="QHBoxLayout" name="horizontalLayout_3">
158         <item>
159          <layout class="QGridLayout" name="gridLayout">
160           <item row="4" column="2">
161            <layout class="QHBoxLayout" name="horizontalLayout_4">
162             <item>
163              <widget class="QPushButton" name="goal_2_btn">
164               <property name="text">
165                <string>+1 point (F9)</string>
166               </property>
167               <property name="shortcut">
168                <string>F9</string>
169               </property>
170              </widget>
171             </item>
172             <item>
173              <widget class="QPushButton" name="ungoal_2_btn">
174               <property name="text">
175                <string>-1 point (F11)</string>
176               </property>
177               <property name="shortcut">
178                <string>F11</string>
179               </property>
180              </widget>
181             </item>
182            </layout>
183           </item>
184           <item row="3" column="0">
185            <widget class="QLabel" name="label_6">
186             <property name="text">
187              <string>Score</string>
188             </property>
189            </widget>
190           </item>
191           <item row="3" column="2">
192            <widget class="QSpinBox" name="score_2_box"/>
193           </item>
194           <item row="3" column="3">
195            <widget class="QPushButton" name="set_score_btn">
196             <property name="text">
197              <string>Set</string>
198             </property>
199            </widget>
200           </item>
201           <item row="2" column="0">
202            <widget class="QLabel" name="label_7">
203             <property name="text">
204              <string>CSS color</string>
205             </property>
206            </widget>
207           </item>
208           <item row="1" column="1">
209            <widget class="QLineEdit" name="initials_1_edit">
210             <property name="text">
211              <string>PCL</string>
212             </property>
213            </widget>
214           </item>
215           <item row="4" column="1">
216            <layout class="QHBoxLayout" name="horizontalLayout_5">
217             <item>
218              <widget class="QPushButton" name="goal_1_btn">
219               <property name="text">
220                <string>+1 point (F5)</string>
221               </property>
222               <property name="shortcut">
223                <string>F5</string>
224               </property>
225              </widget>
226             </item>
227             <item>
228              <widget class="QPushButton" name="ungoal_1_btn">
229               <property name="text">
230                <string>-1 point (F7)</string>
231               </property>
232               <property name="shortcut">
233                <string>F7</string>
234               </property>
235              </widget>
236             </item>
237            </layout>
238           </item>
239           <item row="2" column="1">
240            <widget class="QLineEdit" name="color_1_edit">
241             <property name="text">
242              <string>red</string>
243             </property>
244            </widget>
245           </item>
246           <item row="3" column="1">
247            <widget class="QSpinBox" name="score_1_box"/>
248           </item>
249           <item row="0" column="2">
250            <widget class="QLabel" name="label_4">
251             <property name="text">
252              <string>Team 2</string>
253             </property>
254            </widget>
255           </item>
256           <item row="0" column="1">
257            <widget class="QLabel" name="label_3">
258             <property name="text">
259              <string>Team 1</string>
260             </property>
261            </widget>
262           </item>
263           <item row="1" column="2">
264            <widget class="QLineEdit" name="initials_2_edit">
265             <property name="text">
266              <string>TFK</string>
267             </property>
268            </widget>
269           </item>
270           <item row="1" column="0">
271            <widget class="QLabel" name="label_5">
272             <property name="text">
273              <string>Initials</string>
274             </property>
275            </widget>
276           </item>
277           <item row="1" column="3">
278            <widget class="QPushButton" name="set_initials_btn">
279             <property name="text">
280              <string>Set</string>
281             </property>
282            </widget>
283           </item>
284           <item row="2" column="2">
285            <widget class="QLineEdit" name="color_2_edit">
286             <property name="text">
287              <string>yellow</string>
288             </property>
289            </widget>
290           </item>
291           <item row="2" column="3">
292            <widget class="QPushButton" name="set_color_btn">
293             <property name="text">
294              <string>Set</string>
295             </property>
296            </widget>
297           </item>
298           <item row="4" column="3">
299            <widget class="QPushButton" name="set_all_scorebug_btn">
300             <property name="text">
301              <string>Set all</string>
302             </property>
303            </widget>
304           </item>
305          </layout>
306         </item>
307        </layout>
308       </item>
309       <item>
310        <widget class="Line" name="line_3">
311         <property name="orientation">
312          <enum>Qt::Horizontal</enum>
313         </property>
314        </widget>
315       </item>
316       <item>
317        <layout class="QHBoxLayout" name="horizontalLayout_2">
318         <item>
319          <widget class="QLabel" name="label">
320           <property name="text">
321            <string>Set clock to:</string>
322           </property>
323          </widget>
324         </item>
325         <item>
326          <widget class="QSpinBox" name="clock_min_box">
327           <property name="sizePolicy">
328            <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
329             <horstretch>0</horstretch>
330             <verstretch>0</verstretch>
331            </sizepolicy>
332           </property>
333          </widget>
334         </item>
335         <item>
336          <widget class="QLabel" name="label_2">
337           <property name="sizePolicy">
338            <sizepolicy hsizetype="Fixed" vsizetype="Preferred">
339             <horstretch>0</horstretch>
340             <verstretch>0</verstretch>
341            </sizepolicy>
342           </property>
343           <property name="text">
344            <string>:</string>
345           </property>
346          </widget>
347         </item>
348         <item>
349          <widget class="QSpinBox" name="clock_sec_box">
350           <property name="sizePolicy">
351            <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
352             <horstretch>0</horstretch>
353             <verstretch>0</verstretch>
354            </sizepolicy>
355           </property>
356           <property name="maximum">
357            <number>59</number>
358           </property>
359          </widget>
360         </item>
361         <item>
362          <widget class="QPushButton" name="set_clock_btn">
363           <property name="text">
364            <string>Set clock</string>
365           </property>
366          </widget>
367         </item>
368         <item>
369          <widget class="QLabel" name="label_14">
370           <property name="text">
371            <string>Set clock limit to:</string>
372           </property>
373          </widget>
374         </item>
375         <item>
376          <widget class="QSpinBox" name="clock_limit_min_box">
377           <property name="sizePolicy">
378            <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
379             <horstretch>0</horstretch>
380             <verstretch>0</verstretch>
381            </sizepolicy>
382           </property>
383           <property name="value">
384            <number>30</number>
385           </property>
386          </widget>
387         </item>
388         <item>
389          <widget class="QLabel" name="label_15">
390           <property name="sizePolicy">
391            <sizepolicy hsizetype="Fixed" vsizetype="Preferred">
392             <horstretch>0</horstretch>
393             <verstretch>0</verstretch>
394            </sizepolicy>
395           </property>
396           <property name="text">
397            <string>:</string>
398           </property>
399          </widget>
400         </item>
401         <item>
402          <widget class="QSpinBox" name="clock_limit_sec_box">
403           <property name="sizePolicy">
404            <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
405             <horstretch>0</horstretch>
406             <verstretch>0</verstretch>
407            </sizepolicy>
408           </property>
409           <property name="maximum">
410            <number>59</number>
411           </property>
412          </widget>
413         </item>
414         <item>
415          <widget class="QPushButton" name="set_clock_limit_btn">
416           <property name="text">
417            <string>Set limit</string>
418           </property>
419          </widget>
420         </item>
421        </layout>
422       </item>
423       <item>
424        <layout class="QHBoxLayout" name="horizontalLayout">
425         <item>
426          <widget class="QPushButton" name="start_and_show_clock_btn">
427           <property name="text">
428            <string>Start (and show) clock</string>
429           </property>
430          </widget>
431         </item>
432         <item>
433          <widget class="QPushButton" name="stop_clock_btn">
434           <property name="text">
435            <string>Stop clock</string>
436           </property>
437          </widget>
438         </item>
439         <item>
440          <widget class="QPushButton" name="show_clock_btn">
441           <property name="text">
442            <string>Show clock</string>
443           </property>
444          </widget>
445         </item>
446         <item>
447          <widget class="QPushButton" name="hide_clock_btn">
448           <property name="text">
449            <string>Hide clock</string>
450           </property>
451          </widget>
452         </item>
453        </layout>
454       </item>
455       <item>
456        <widget class="Line" name="line_2">
457         <property name="orientation">
458          <enum>Qt::Horizontal</enum>
459         </property>
460        </widget>
461       </item>
462       <item>
463        <layout class="QHBoxLayout" name="horizontalLayout_6">
464         <item>
465          <widget class="QLabel" name="label_8">
466           <property name="text">
467            <string>Comment:</string>
468           </property>
469          </widget>
470         </item>
471         <item>
472          <widget class="QLineEdit" name="comment_edit">
473           <property name="text">
474            <string/>
475           </property>
476          </widget>
477         </item>
478         <item>
479          <widget class="QPushButton" name="set_comment_btn">
480           <property name="text">
481            <string>Set</string>
482           </property>
483          </widget>
484         </item>
485         <item>
486          <widget class="QPushButton" name="set_and_show_comment_btn">
487           <property name="text">
488            <string>Set+show</string>
489           </property>
490          </widget>
491         </item>
492         <item>
493          <widget class="QPushButton" name="hide_comment_btn">
494           <property name="text">
495            <string>Hide</string>
496           </property>
497          </widget>
498         </item>
499        </layout>
500       </item>
501       <item>
502        <layout class="QHBoxLayout" name="horizontalLayout_11">
503         <item>
504          <widget class="QLabel" name="label_12">
505           <property name="text">
506            <string>Suggested autocomment if game ends right now:</string>
507           </property>
508          </widget>
509         </item>
510         <item>
511          <widget class="QLineEdit" name="autocomment_edit">
512           <property name="enabled">
513            <bool>true</bool>
514           </property>
515           <property name="text">
516            <string/>
517           </property>
518          </widget>
519         </item>
520         <item>
521          <widget class="QPushButton" name="set_and_show_autocomment_btn">
522           <property name="text">
523            <string>Set+show</string>
524           </property>
525          </widget>
526         </item>
527        </layout>
528       </item>
529       <item>
530        <widget class="Line" name="line">
531         <property name="orientation">
532          <enum>Qt::Horizontal</enum>
533         </property>
534        </widget>
535       </item>
536       <item>
537        <layout class="QHBoxLayout" name="horizontalLayout_7">
538         <item>
539          <widget class="QLabel" name="label_9">
540           <property name="text">
541            <string>Lower third heading (HTML allowed):</string>
542           </property>
543          </widget>
544         </item>
545         <item>
546          <widget class="QLineEdit" name="lowerthird_heading_edit"/>
547         </item>
548        </layout>
549       </item>
550       <item>
551        <layout class="QHBoxLayout" name="horizontalLayout_8">
552         <item>
553          <widget class="QLabel" name="label_10">
554           <property name="text">
555            <string>Lower third subheading (HTML allowed):</string>
556           </property>
557          </widget>
558         </item>
559         <item>
560          <widget class="QLineEdit" name="lowerthird_subheading_edit">
561           <property name="text">
562            <string>Trøndisk 2018</string>
563           </property>
564          </widget>
565         </item>
566        </layout>
567       </item>
568       <item>
569        <layout class="QHBoxLayout" name="horizontalLayout_9">
570         <item>
571          <widget class="QPushButton" name="show_lower_third_btn">
572           <property name="text">
573            <string>Set + show lower third</string>
574           </property>
575          </widget>
576         </item>
577         <item>
578          <widget class="QPushButton" name="hide_lower_third_btn">
579           <property name="text">
580            <string>Hide lower third</string>
581           </property>
582          </widget>
583         </item>
584        </layout>
585       </item>
586       <item>
587        <layout class="QHBoxLayout" name="horizontalLayout_12">
588         <item>
589          <widget class="QLabel" name="label_13">
590           <property name="text">
591            <string>Quick lower third (A&lt;num&gt;/B&lt;num&gt; = players, C&lt;num&gt; = code):</string>
592           </property>
593          </widget>
594         </item>
595         <item>
596          <widget class="QLineEdit" name="quick_lower_third_edit"/>
597         </item>
598         <item>
599          <widget class="QPushButton" name="show_quick_lower_third_btn">
600           <property name="text">
601            <string>Show</string>
602           </property>
603          </widget>
604         </item>
605        </layout>
606       </item>
607      </layout>
608     </item>
609    </layout>
610   </widget>
611   <widget class="QStatusBar" name="statusBar"/>
612  </widget>
613  <layoutdefault spacing="6" margin="11"/>
614  <tabstops>
615   <tabstop>ws_port_box</tabstop>
616   <tabstop>ws_disconnect_btn</tabstop>
617   <tabstop>initials_1_edit</tabstop>
618   <tabstop>initials_2_edit</tabstop>
619   <tabstop>set_initials_btn</tabstop>
620   <tabstop>color_1_edit</tabstop>
621   <tabstop>color_2_edit</tabstop>
622   <tabstop>set_color_btn</tabstop>
623   <tabstop>score_1_box</tabstop>
624   <tabstop>score_2_box</tabstop>
625   <tabstop>set_score_btn</tabstop>
626   <tabstop>goal_1_btn</tabstop>
627   <tabstop>ungoal_1_btn</tabstop>
628   <tabstop>goal_2_btn</tabstop>
629   <tabstop>ungoal_2_btn</tabstop>
630   <tabstop>set_all_scorebug_btn</tabstop>
631   <tabstop>clock_min_box</tabstop>
632   <tabstop>clock_sec_box</tabstop>
633   <tabstop>set_clock_btn</tabstop>
634   <tabstop>start_and_show_clock_btn</tabstop>
635   <tabstop>stop_clock_btn</tabstop>
636   <tabstop>show_clock_btn</tabstop>
637   <tabstop>hide_clock_btn</tabstop>
638   <tabstop>comment_edit</tabstop>
639   <tabstop>set_comment_btn</tabstop>
640   <tabstop>set_and_show_comment_btn</tabstop>
641   <tabstop>hide_comment_btn</tabstop>
642   <tabstop>autocomment_edit</tabstop>
643   <tabstop>set_and_show_autocomment_btn</tabstop>
644   <tabstop>lowerthird_heading_edit</tabstop>
645   <tabstop>lowerthird_subheading_edit</tabstop>
646   <tabstop>show_lower_third_btn</tabstop>
647   <tabstop>hide_lower_third_btn</tabstop>
648  </tabstops>
649  <resources/>
650  <connections/>
651 </ui>