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