]> git.sesse.net Git - ultimatescore/blob - client/mainwindow.ui
Add some support in the client for reading key events from a non-core IPv6 Buddy.
[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>720</width>
10     <height>552</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>CasparCG server:</string>
38           </property>
39          </widget>
40         </item>
41         <item>
42          <widget class="QLineEdit" name="casparcg_host_box">
43           <property name="text">
44            <string>localhost</string>
45           </property>
46          </widget>
47         </item>
48         <item>
49          <widget class="QLineEdit" name="casparcg_port_box">
50           <property name="maximumSize">
51            <size>
52             <width>50</width>
53             <height>16777215</height>
54            </size>
55           </property>
56           <property name="text">
57            <string>5250</string>
58           </property>
59          </widget>
60         </item>
61         <item>
62          <widget class="QPushButton" name="casparcg_reconnect_btn">
63           <property name="text">
64            <string>Reconnect</string>
65           </property>
66          </widget>
67         </item>
68         <item>
69          <widget class="QLabel" name="casparcg_connected_label">
70           <property name="minimumSize">
71            <size>
72             <width>100</width>
73             <height>0</height>
74            </size>
75           </property>
76           <property name="text">
77            <string>Not connected</string>
78           </property>
79           <property name="alignment">
80            <set>Qt::AlignCenter</set>
81           </property>
82          </widget>
83         </item>
84        </layout>
85       </item>
86       <item>
87        <layout class="QHBoxLayout" name="horizontalLayout_3">
88         <item>
89          <layout class="QGridLayout" name="gridLayout">
90           <item row="4" column="2">
91            <layout class="QHBoxLayout" name="horizontalLayout_4">
92             <item>
93              <widget class="QPushButton" name="goal_2_btn">
94               <property name="text">
95                <string>+1 point (F9)</string>
96               </property>
97               <property name="shortcut">
98                <string>F9</string>
99               </property>
100              </widget>
101             </item>
102             <item>
103              <widget class="QPushButton" name="ungoal_2_btn">
104               <property name="text">
105                <string>-1 point (F11)</string>
106               </property>
107               <property name="shortcut">
108                <string>F11</string>
109               </property>
110              </widget>
111             </item>
112            </layout>
113           </item>
114           <item row="3" column="0">
115            <widget class="QLabel" name="label_6">
116             <property name="text">
117              <string>Score</string>
118             </property>
119            </widget>
120           </item>
121           <item row="3" column="2">
122            <widget class="QSpinBox" name="score_2_box"/>
123           </item>
124           <item row="3" column="3">
125            <widget class="QPushButton" name="set_score_btn">
126             <property name="text">
127              <string>Set</string>
128             </property>
129            </widget>
130           </item>
131           <item row="2" column="0">
132            <widget class="QLabel" name="label_7">
133             <property name="text">
134              <string>CSS color</string>
135             </property>
136            </widget>
137           </item>
138           <item row="1" column="1">
139            <widget class="QLineEdit" name="initials_1_edit">
140             <property name="text">
141              <string>PCL</string>
142             </property>
143            </widget>
144           </item>
145           <item row="4" column="1">
146            <layout class="QHBoxLayout" name="horizontalLayout_5">
147             <item>
148              <widget class="QPushButton" name="goal_1_btn">
149               <property name="text">
150                <string>+1 point (F5)</string>
151               </property>
152               <property name="shortcut">
153                <string>F5</string>
154               </property>
155              </widget>
156             </item>
157             <item>
158              <widget class="QPushButton" name="ungoal_1_btn">
159               <property name="text">
160                <string>-1 point (F7)</string>
161               </property>
162               <property name="shortcut">
163                <string>F7</string>
164               </property>
165              </widget>
166             </item>
167            </layout>
168           </item>
169           <item row="2" column="1">
170            <widget class="QLineEdit" name="color_1_edit">
171             <property name="text">
172              <string>red</string>
173             </property>
174            </widget>
175           </item>
176           <item row="3" column="1">
177            <widget class="QSpinBox" name="score_1_box"/>
178           </item>
179           <item row="0" column="2">
180            <widget class="QLabel" name="label_4">
181             <property name="text">
182              <string>Team 2</string>
183             </property>
184            </widget>
185           </item>
186           <item row="0" column="1">
187            <widget class="QLabel" name="label_3">
188             <property name="text">
189              <string>Team 1</string>
190             </property>
191            </widget>
192           </item>
193           <item row="1" column="2">
194            <widget class="QLineEdit" name="initials_2_edit">
195             <property name="text">
196              <string>TFK</string>
197             </property>
198            </widget>
199           </item>
200           <item row="1" column="0">
201            <widget class="QLabel" name="label_5">
202             <property name="text">
203              <string>Initials</string>
204             </property>
205            </widget>
206           </item>
207           <item row="1" column="3">
208            <widget class="QPushButton" name="set_initials_btn">
209             <property name="text">
210              <string>Set</string>
211             </property>
212            </widget>
213           </item>
214           <item row="2" column="2">
215            <widget class="QLineEdit" name="color_2_edit">
216             <property name="text">
217              <string>yellow</string>
218             </property>
219            </widget>
220           </item>
221           <item row="2" column="3">
222            <widget class="QPushButton" name="set_color_btn">
223             <property name="text">
224              <string>Set</string>
225             </property>
226            </widget>
227           </item>
228           <item row="4" column="3">
229            <widget class="QPushButton" name="set_all_scorebug_btn">
230             <property name="text">
231              <string>Set all</string>
232             </property>
233            </widget>
234           </item>
235          </layout>
236         </item>
237        </layout>
238       </item>
239       <item>
240        <widget class="Line" name="line_3">
241         <property name="orientation">
242          <enum>Qt::Horizontal</enum>
243         </property>
244        </widget>
245       </item>
246       <item>
247        <layout class="QHBoxLayout" name="horizontalLayout_2">
248         <item>
249          <widget class="QLabel" name="label">
250           <property name="text">
251            <string>Set clock to:</string>
252           </property>
253          </widget>
254         </item>
255         <item>
256          <widget class="QSpinBox" name="clock_min_box">
257           <property name="sizePolicy">
258            <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
259             <horstretch>0</horstretch>
260             <verstretch>0</verstretch>
261            </sizepolicy>
262           </property>
263           <property name="value">
264            <number>25</number>
265           </property>
266          </widget>
267         </item>
268         <item>
269          <widget class="QLabel" name="label_2">
270           <property name="sizePolicy">
271            <sizepolicy hsizetype="Fixed" vsizetype="Preferred">
272             <horstretch>0</horstretch>
273             <verstretch>0</verstretch>
274            </sizepolicy>
275           </property>
276           <property name="text">
277            <string>:</string>
278           </property>
279          </widget>
280         </item>
281         <item>
282          <widget class="QSpinBox" name="clock_sec_box">
283           <property name="sizePolicy">
284            <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
285             <horstretch>0</horstretch>
286             <verstretch>0</verstretch>
287            </sizepolicy>
288           </property>
289           <property name="maximum">
290            <number>59</number>
291           </property>
292          </widget>
293         </item>
294         <item>
295          <widget class="QPushButton" name="set_clock_btn">
296           <property name="text">
297            <string>Set</string>
298           </property>
299          </widget>
300         </item>
301        </layout>
302       </item>
303       <item>
304        <layout class="QHBoxLayout" name="horizontalLayout">
305         <item>
306          <widget class="QPushButton" name="start_and_show_clock_btn">
307           <property name="text">
308            <string>Start (and show) clock</string>
309           </property>
310          </widget>
311         </item>
312         <item>
313          <widget class="QPushButton" name="stop_clock_btn">
314           <property name="text">
315            <string>Stop clock</string>
316           </property>
317          </widget>
318         </item>
319         <item>
320          <widget class="QPushButton" name="show_clock_btn">
321           <property name="text">
322            <string>Show clock</string>
323           </property>
324          </widget>
325         </item>
326         <item>
327          <widget class="QPushButton" name="hide_clock_btn">
328           <property name="text">
329            <string>Hide clock</string>
330           </property>
331          </widget>
332         </item>
333        </layout>
334       </item>
335       <item>
336        <widget class="Line" name="line_2">
337         <property name="orientation">
338          <enum>Qt::Horizontal</enum>
339         </property>
340        </widget>
341       </item>
342       <item>
343        <layout class="QHBoxLayout" name="horizontalLayout_6">
344         <item>
345          <widget class="QLabel" name="label_8">
346           <property name="text">
347            <string>Comment:</string>
348           </property>
349          </widget>
350         </item>
351         <item>
352          <widget class="QLineEdit" name="comment_edit">
353           <property name="text">
354            <string/>
355           </property>
356          </widget>
357         </item>
358         <item>
359          <widget class="QPushButton" name="set_comment_btn">
360           <property name="text">
361            <string>Set</string>
362           </property>
363          </widget>
364         </item>
365         <item>
366          <widget class="QPushButton" name="set_and_show_comment_btn">
367           <property name="text">
368            <string>Set+show</string>
369           </property>
370          </widget>
371         </item>
372         <item>
373          <widget class="QPushButton" name="hide_comment_btn">
374           <property name="text">
375            <string>Hide</string>
376           </property>
377          </widget>
378         </item>
379        </layout>
380       </item>
381       <item>
382        <layout class="QHBoxLayout" name="horizontalLayout_11">
383         <item>
384          <widget class="QLabel" name="label_12">
385           <property name="text">
386            <string>Suggested autocomment if game ends right now:</string>
387           </property>
388          </widget>
389         </item>
390         <item>
391          <widget class="QLineEdit" name="autocomment_edit">
392           <property name="enabled">
393            <bool>true</bool>
394           </property>
395           <property name="text">
396            <string/>
397           </property>
398          </widget>
399         </item>
400         <item>
401          <widget class="QPushButton" name="set_and_show_autocomment_btn">
402           <property name="text">
403            <string>Set+show</string>
404           </property>
405          </widget>
406         </item>
407        </layout>
408       </item>
409       <item>
410        <widget class="Line" name="line">
411         <property name="orientation">
412          <enum>Qt::Horizontal</enum>
413         </property>
414        </widget>
415       </item>
416       <item>
417        <layout class="QHBoxLayout" name="horizontalLayout_7">
418         <item>
419          <widget class="QLabel" name="label_9">
420           <property name="text">
421            <string>Lower third heading (HTML allowed):</string>
422           </property>
423          </widget>
424         </item>
425         <item>
426          <widget class="QLineEdit" name="lowerthird_heading_edit"/>
427         </item>
428        </layout>
429       </item>
430       <item>
431        <layout class="QHBoxLayout" name="horizontalLayout_8">
432         <item>
433          <widget class="QLabel" name="label_10">
434           <property name="text">
435            <string>Lower third subheading (HTML allowed):</string>
436           </property>
437          </widget>
438         </item>
439         <item>
440          <widget class="QLineEdit" name="lowerthird_subheading_edit">
441           <property name="text">
442            <string>TrønDisk 2017</string>
443           </property>
444          </widget>
445         </item>
446        </layout>
447       </item>
448       <item>
449        <layout class="QHBoxLayout" name="horizontalLayout_9">
450         <item>
451          <widget class="QPushButton" name="show_lower_third_btn">
452           <property name="text">
453            <string>Set + show lower third</string>
454           </property>
455          </widget>
456         </item>
457         <item>
458          <widget class="QPushButton" name="hide_lower_third_btn">
459           <property name="text">
460            <string>Hide lower third</string>
461           </property>
462          </widget>
463         </item>
464        </layout>
465       </item>
466       <item>
467        <layout class="QHBoxLayout" name="horizontalLayout_12">
468         <item>
469          <widget class="QLabel" name="label_13">
470           <property name="text">
471            <string>Quick lower third (A&lt;num&gt;/B&lt;num&gt; = players, C&lt;num&gt; = code):</string>
472           </property>
473          </widget>
474         </item>
475         <item>
476          <widget class="QLineEdit" name="quick_lower_third_edit"/>
477         </item>
478         <item>
479          <widget class="QPushButton" name="show_quick_lower_third_btn">
480           <property name="text">
481            <string>Show</string>
482           </property>
483          </widget>
484         </item>
485        </layout>
486       </item>
487      </layout>
488     </item>
489    </layout>
490   </widget>
491   <widget class="QStatusBar" name="statusBar"/>
492  </widget>
493  <layoutdefault spacing="6" margin="11"/>
494  <tabstops>
495   <tabstop>casparcg_host_box</tabstop>
496   <tabstop>casparcg_port_box</tabstop>
497   <tabstop>casparcg_reconnect_btn</tabstop>
498   <tabstop>initials_1_edit</tabstop>
499   <tabstop>initials_2_edit</tabstop>
500   <tabstop>set_initials_btn</tabstop>
501   <tabstop>color_1_edit</tabstop>
502   <tabstop>color_2_edit</tabstop>
503   <tabstop>set_color_btn</tabstop>
504   <tabstop>score_1_box</tabstop>
505   <tabstop>score_2_box</tabstop>
506   <tabstop>set_score_btn</tabstop>
507   <tabstop>goal_1_btn</tabstop>
508   <tabstop>ungoal_1_btn</tabstop>
509   <tabstop>goal_2_btn</tabstop>
510   <tabstop>ungoal_2_btn</tabstop>
511   <tabstop>set_all_scorebug_btn</tabstop>
512   <tabstop>clock_min_box</tabstop>
513   <tabstop>clock_sec_box</tabstop>
514   <tabstop>set_clock_btn</tabstop>
515   <tabstop>start_and_show_clock_btn</tabstop>
516   <tabstop>stop_clock_btn</tabstop>
517   <tabstop>show_clock_btn</tabstop>
518   <tabstop>hide_clock_btn</tabstop>
519   <tabstop>comment_edit</tabstop>
520   <tabstop>set_comment_btn</tabstop>
521   <tabstop>set_and_show_comment_btn</tabstop>
522   <tabstop>hide_comment_btn</tabstop>
523   <tabstop>autocomment_edit</tabstop>
524   <tabstop>set_and_show_autocomment_btn</tabstop>
525   <tabstop>lowerthird_heading_edit</tabstop>
526   <tabstop>lowerthird_subheading_edit</tabstop>
527   <tabstop>show_lower_third_btn</tabstop>
528   <tabstop>hide_lower_third_btn</tabstop>
529  </tabstops>
530  <resources/>
531  <connections/>
532 </ui>