]> git.sesse.net Git - ultimatescore/blob - client/mainwindow.ui
Make a sane tab order for the client.
[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</string>
96               </property>
97              </widget>
98             </item>
99             <item>
100              <widget class="QPushButton" name="ungoal_2_btn">
101               <property name="text">
102                <string>-1 point</string>
103               </property>
104              </widget>
105             </item>
106            </layout>
107           </item>
108           <item row="3" column="0">
109            <widget class="QLabel" name="label_6">
110             <property name="text">
111              <string>Score</string>
112             </property>
113            </widget>
114           </item>
115           <item row="3" column="2">
116            <widget class="QSpinBox" name="score_2_box"/>
117           </item>
118           <item row="3" column="3">
119            <widget class="QPushButton" name="set_score_btn">
120             <property name="text">
121              <string>Set</string>
122             </property>
123            </widget>
124           </item>
125           <item row="2" column="0">
126            <widget class="QLabel" name="label_7">
127             <property name="text">
128              <string>CSS color</string>
129             </property>
130            </widget>
131           </item>
132           <item row="1" column="1">
133            <widget class="QLineEdit" name="initials_1_edit">
134             <property name="text">
135              <string>PCL</string>
136             </property>
137            </widget>
138           </item>
139           <item row="4" column="1">
140            <layout class="QHBoxLayout" name="horizontalLayout_5">
141             <item>
142              <widget class="QPushButton" name="goal_1_btn">
143               <property name="text">
144                <string>+1 point</string>
145               </property>
146              </widget>
147             </item>
148             <item>
149              <widget class="QPushButton" name="ungoal_1_btn">
150               <property name="text">
151                <string>-1 point</string>
152               </property>
153              </widget>
154             </item>
155            </layout>
156           </item>
157           <item row="2" column="1">
158            <widget class="QLineEdit" name="color_1_edit">
159             <property name="text">
160              <string>red</string>
161             </property>
162            </widget>
163           </item>
164           <item row="3" column="1">
165            <widget class="QSpinBox" name="score_1_box"/>
166           </item>
167           <item row="0" column="2">
168            <widget class="QLabel" name="label_4">
169             <property name="text">
170              <string>Team 2</string>
171             </property>
172            </widget>
173           </item>
174           <item row="0" column="1">
175            <widget class="QLabel" name="label_3">
176             <property name="text">
177              <string>Team 1</string>
178             </property>
179            </widget>
180           </item>
181           <item row="1" column="2">
182            <widget class="QLineEdit" name="initials_2_edit">
183             <property name="text">
184              <string>TFK</string>
185             </property>
186            </widget>
187           </item>
188           <item row="1" column="0">
189            <widget class="QLabel" name="label_5">
190             <property name="text">
191              <string>Initials</string>
192             </property>
193            </widget>
194           </item>
195           <item row="1" column="3">
196            <widget class="QPushButton" name="set_initials_btn">
197             <property name="text">
198              <string>Set</string>
199             </property>
200            </widget>
201           </item>
202           <item row="2" column="2">
203            <widget class="QLineEdit" name="color_2_edit">
204             <property name="text">
205              <string>yellow</string>
206             </property>
207            </widget>
208           </item>
209           <item row="2" column="3">
210            <widget class="QPushButton" name="set_color_btn">
211             <property name="text">
212              <string>Set</string>
213             </property>
214            </widget>
215           </item>
216           <item row="4" column="3">
217            <widget class="QPushButton" name="set_all_scorebug_btn">
218             <property name="text">
219              <string>Set all</string>
220             </property>
221            </widget>
222           </item>
223          </layout>
224         </item>
225        </layout>
226       </item>
227       <item>
228        <widget class="Line" name="line_3">
229         <property name="orientation">
230          <enum>Qt::Horizontal</enum>
231         </property>
232        </widget>
233       </item>
234       <item>
235        <layout class="QHBoxLayout" name="horizontalLayout_2">
236         <item>
237          <widget class="QLabel" name="label">
238           <property name="text">
239            <string>Set clock to:</string>
240           </property>
241          </widget>
242         </item>
243         <item>
244          <widget class="QSpinBox" name="clock_min_box">
245           <property name="sizePolicy">
246            <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
247             <horstretch>0</horstretch>
248             <verstretch>0</verstretch>
249            </sizepolicy>
250           </property>
251           <property name="value">
252            <number>25</number>
253           </property>
254          </widget>
255         </item>
256         <item>
257          <widget class="QLabel" name="label_2">
258           <property name="sizePolicy">
259            <sizepolicy hsizetype="Fixed" vsizetype="Preferred">
260             <horstretch>0</horstretch>
261             <verstretch>0</verstretch>
262            </sizepolicy>
263           </property>
264           <property name="text">
265            <string>:</string>
266           </property>
267          </widget>
268         </item>
269         <item>
270          <widget class="QSpinBox" name="clock_sec_box">
271           <property name="sizePolicy">
272            <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
273             <horstretch>0</horstretch>
274             <verstretch>0</verstretch>
275            </sizepolicy>
276           </property>
277           <property name="maximum">
278            <number>59</number>
279           </property>
280          </widget>
281         </item>
282         <item>
283          <widget class="QPushButton" name="set_clock_btn">
284           <property name="text">
285            <string>Set</string>
286           </property>
287          </widget>
288         </item>
289        </layout>
290       </item>
291       <item>
292        <layout class="QHBoxLayout" name="horizontalLayout">
293         <item>
294          <widget class="QPushButton" name="start_and_show_clock_btn">
295           <property name="text">
296            <string>Start (and show) clock</string>
297           </property>
298          </widget>
299         </item>
300         <item>
301          <widget class="QPushButton" name="stop_clock_btn">
302           <property name="text">
303            <string>Stop clock</string>
304           </property>
305          </widget>
306         </item>
307         <item>
308          <widget class="QPushButton" name="show_clock_btn">
309           <property name="text">
310            <string>Show clock</string>
311           </property>
312          </widget>
313         </item>
314         <item>
315          <widget class="QPushButton" name="hide_clock_btn">
316           <property name="text">
317            <string>Hide clock</string>
318           </property>
319          </widget>
320         </item>
321        </layout>
322       </item>
323       <item>
324        <widget class="Line" name="line_2">
325         <property name="orientation">
326          <enum>Qt::Horizontal</enum>
327         </property>
328        </widget>
329       </item>
330       <item>
331        <layout class="QHBoxLayout" name="horizontalLayout_6">
332         <item>
333          <widget class="QLabel" name="label_8">
334           <property name="text">
335            <string>Comment:</string>
336           </property>
337          </widget>
338         </item>
339         <item>
340          <widget class="QLineEdit" name="comment_edit">
341           <property name="text">
342            <string>Pagacap: First to 9 points</string>
343           </property>
344          </widget>
345         </item>
346         <item>
347          <widget class="QPushButton" name="set_comment_btn">
348           <property name="text">
349            <string>Set</string>
350           </property>
351          </widget>
352         </item>
353         <item>
354          <widget class="QPushButton" name="set_and_show_comment_btn">
355           <property name="text">
356            <string>Set+show</string>
357           </property>
358          </widget>
359         </item>
360         <item>
361          <widget class="QPushButton" name="hide_comment_btn">
362           <property name="text">
363            <string>Hide</string>
364           </property>
365          </widget>
366         </item>
367        </layout>
368       </item>
369       <item>
370        <layout class="QHBoxLayout" name="horizontalLayout_11">
371         <item>
372          <widget class="QLabel" name="label_12">
373           <property name="text">
374            <string>Suggested autocomment if game ends right now:</string>
375           </property>
376          </widget>
377         </item>
378         <item>
379          <widget class="QLineEdit" name="autocomment_edit">
380           <property name="enabled">
381            <bool>true</bool>
382           </property>
383           <property name="text">
384            <string/>
385           </property>
386          </widget>
387         </item>
388         <item>
389          <widget class="QPushButton" name="set_and_show_autocomment_btn">
390           <property name="text">
391            <string>Set+show</string>
392           </property>
393          </widget>
394         </item>
395        </layout>
396       </item>
397       <item>
398        <widget class="Line" name="line">
399         <property name="orientation">
400          <enum>Qt::Horizontal</enum>
401         </property>
402        </widget>
403       </item>
404       <item>
405        <layout class="QHBoxLayout" name="horizontalLayout_7">
406         <item>
407          <widget class="QLabel" name="label_9">
408           <property name="text">
409            <string>Lower third heading (HTML allowed):</string>
410           </property>
411          </widget>
412         </item>
413         <item>
414          <widget class="QLineEdit" name="lowerthird_heading_edit"/>
415         </item>
416        </layout>
417       </item>
418       <item>
419        <layout class="QHBoxLayout" name="horizontalLayout_8">
420         <item>
421          <widget class="QLabel" name="label_10">
422           <property name="text">
423            <string>Lower third subheading (HTML allowed):</string>
424           </property>
425          </widget>
426         </item>
427         <item>
428          <widget class="QLineEdit" name="lowerthird_subheading_edit">
429           <property name="text">
430            <string>TFK mini-tournament 2017</string>
431           </property>
432          </widget>
433         </item>
434        </layout>
435       </item>
436       <item>
437        <layout class="QHBoxLayout" name="horizontalLayout_9">
438         <item>
439          <widget class="QPushButton" name="show_lower_third_btn">
440           <property name="text">
441            <string>Set + show lower third</string>
442           </property>
443          </widget>
444         </item>
445         <item>
446          <widget class="QPushButton" name="hide_lower_third_btn">
447           <property name="text">
448            <string>Hide lower third</string>
449           </property>
450          </widget>
451         </item>
452        </layout>
453       </item>
454      </layout>
455     </item>
456    </layout>
457   </widget>
458   <widget class="QStatusBar" name="statusBar"/>
459  </widget>
460  <layoutdefault spacing="6" margin="11"/>
461  <tabstops>
462   <tabstop>casparcg_host_box</tabstop>
463   <tabstop>casparcg_port_box</tabstop>
464   <tabstop>casparcg_reconnect_btn</tabstop>
465   <tabstop>initials_1_edit</tabstop>
466   <tabstop>initials_2_edit</tabstop>
467   <tabstop>set_initials_btn</tabstop>
468   <tabstop>color_1_edit</tabstop>
469   <tabstop>color_2_edit</tabstop>
470   <tabstop>set_color_btn</tabstop>
471   <tabstop>score_1_box</tabstop>
472   <tabstop>score_2_box</tabstop>
473   <tabstop>set_score_btn</tabstop>
474   <tabstop>goal_1_btn</tabstop>
475   <tabstop>ungoal_1_btn</tabstop>
476   <tabstop>goal_2_btn</tabstop>
477   <tabstop>ungoal_2_btn</tabstop>
478   <tabstop>set_all_scorebug_btn</tabstop>
479   <tabstop>clock_min_box</tabstop>
480   <tabstop>clock_sec_box</tabstop>
481   <tabstop>set_clock_btn</tabstop>
482   <tabstop>start_and_show_clock_btn</tabstop>
483   <tabstop>stop_clock_btn</tabstop>
484   <tabstop>show_clock_btn</tabstop>
485   <tabstop>hide_clock_btn</tabstop>
486   <tabstop>comment_edit</tabstop>
487   <tabstop>set_comment_btn</tabstop>
488   <tabstop>set_and_show_comment_btn</tabstop>
489   <tabstop>hide_comment_btn</tabstop>
490   <tabstop>autocomment_edit</tabstop>
491   <tabstop>set_and_show_autocomment_btn</tabstop>
492   <tabstop>lowerthird_heading_edit</tabstop>
493   <tabstop>lowerthird_subheading_edit</tabstop>
494   <tabstop>show_lower_third_btn</tabstop>
495   <tabstop>hide_lower_third_btn</tabstop>
496  </tabstops>
497  <resources/>
498  <connections/>
499 </ui>