]> git.sesse.net Git - pkanalytics/blob - mainwindow.ui
We only need one set of soft plus/minus buttons.
[pkanalytics] / 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>1251</width>
10     <height>754</height>
11    </rect>
12   </property>
13   <property name="windowTitle">
14    <string>Plastkast Analytics</string>
15   </property>
16   <widget class="QWidget" name="centralwidget">
17    <layout class="QGridLayout" name="gridLayout_2">
18     <item row="0" column="0">
19      <layout class="QGridLayout" name="main_grid" rowstretch="1,0,0,0" columnstretch="1,0">
20       <item row="0" column="1" rowspan="4">
21        <layout class="QVBoxLayout" name="buttons" stretch="0,0,0,0,0,0,0,1">
22         <item>
23          <layout class="QGridLayout" name="player_grid">
24           <item row="3" column="0" colspan="2">
25            <widget class="QPushButton" name="player_3">
26             <property name="text">
27              <string>Player 3 (&amp;e)</string>
28             </property>
29             <property name="shortcut">
30              <string>E</string>
31             </property>
32            </widget>
33           </item>
34           <item row="4" column="2" colspan="2">
35            <widget class="QPushButton" name="player_6">
36             <property name="text">
37              <string>Player 6 (&amp;d)</string>
38             </property>
39             <property name="shortcut">
40              <string>D</string>
41             </property>
42            </widget>
43           </item>
44           <item row="5" column="1" colspan="2">
45            <widget class="QPushButton" name="player_7">
46             <property name="text">
47              <string>Player 7 (&amp;f)</string>
48             </property>
49             <property name="shortcut">
50              <string>F</string>
51             </property>
52            </widget>
53           </item>
54           <item row="3" column="2" colspan="2">
55            <widget class="QPushButton" name="player_4">
56             <property name="text">
57              <string>Player 4 (&amp;a)</string>
58             </property>
59             <property name="shortcut">
60              <string>A</string>
61             </property>
62            </widget>
63           </item>
64           <item row="4" column="0" colspan="2">
65            <widget class="QPushButton" name="player_5">
66             <property name="text">
67              <string>Player 5 (&amp;s)</string>
68             </property>
69             <property name="shortcut">
70              <string>S</string>
71             </property>
72            </widget>
73           </item>
74           <item row="2" column="0" colspan="2">
75            <widget class="QPushButton" name="player_1">
76             <property name="text">
77              <string>Player 1 (&amp;q)</string>
78             </property>
79             <property name="shortcut">
80              <string>Q</string>
81             </property>
82            </widget>
83           </item>
84           <item row="2" column="2" colspan="2">
85            <widget class="QPushButton" name="player_2">
86             <property name="text">
87              <string>Player 2 (&amp;w)</string>
88             </property>
89             <property name="shortcut">
90              <string>W</string>
91             </property>
92            </widget>
93           </item>
94          </layout>
95         </item>
96         <item>
97          <widget class="ClickableLabel" name="offense_label">
98           <property name="text">
99            <string>Offense</string>
100           </property>
101           <property name="alignment">
102            <set>Qt::AlignCenter</set>
103           </property>
104          </widget>
105         </item>
106         <item>
107          <layout class="QGridLayout" name="offense_grid">
108           <item row="0" column="0">
109            <widget class="QPushButton" name="catch_">
110             <property name="text">
111              <string>Catch/take (&amp;c)</string>
112             </property>
113             <property name="shortcut">
114              <string>C</string>
115             </property>
116            </widget>
117           </item>
118           <item row="0" column="1">
119            <widget class="QPushButton" name="throwaway">
120             <property name="text">
121              <string>Throwaway (&amp;t)</string>
122             </property>
123             <property name="shortcut">
124              <string>T</string>
125             </property>
126            </widget>
127           </item>
128           <item row="1" column="0">
129            <widget class="QPushButton" name="drop">
130             <property name="text">
131              <string>Drop (&amp;x)</string>
132             </property>
133             <property name="shortcut">
134              <string>X</string>
135             </property>
136            </widget>
137           </item>
138           <item row="1" column="1">
139            <widget class="QPushButton" name="goal">
140             <property name="text">
141              <string>Goal (&amp;g)</string>
142             </property>
143             <property name="shortcut">
144              <string>G</string>
145             </property>
146            </widget>
147           </item>
148           <item row="3" column="1">
149            <widget class="QPushButton" name="offensive_formation">
150             <property name="enabled">
151              <bool>true</bool>
152             </property>
153             <property name="text">
154              <string>Formation (&amp;o)</string>
155             </property>
156            </widget>
157           </item>
158           <item row="3" column="0">
159            <widget class="QPushButton" name="pull_or_was_d">
160             <property name="text">
161              <string>Pull (&amp;p)</string>
162             </property>
163             <property name="shortcut">
164              <string>P</string>
165             </property>
166            </widget>
167           </item>
168          </layout>
169         </item>
170         <item>
171          <widget class="ClickableLabel" name="defense_label">
172           <property name="text">
173            <string>Defense</string>
174           </property>
175           <property name="alignment">
176            <set>Qt::AlignCenter</set>
177           </property>
178          </widget>
179         </item>
180         <item>
181          <layout class="QGridLayout" name="defense_grid">
182           <item row="1" column="0">
183            <widget class="QPushButton" name="our_defense">
184             <property name="text">
185              <string>Defense (&amp;x)</string>
186             </property>
187             <property name="shortcut">
188              <string>X</string>
189             </property>
190            </widget>
191           </item>
192           <item row="0" column="1">
193            <widget class="QPushButton" name="their_throwaway">
194             <property name="text">
195              <string>Their t.away (&amp;t)</string>
196             </property>
197             <property name="shortcut">
198              <string>T</string>
199             </property>
200            </widget>
201           </item>
202           <item row="0" column="0">
203            <widget class="QPushButton" name="interception">
204             <property name="text">
205              <string>Interception (&amp;c)</string>
206             </property>
207             <property name="shortcut">
208              <string>C</string>
209             </property>
210            </widget>
211           </item>
212           <item row="1" column="1">
213            <widget class="QPushButton" name="their_goal">
214             <property name="text">
215              <string>Their goal (&amp;g)</string>
216             </property>
217             <property name="shortcut">
218              <string>G</string>
219             </property>
220            </widget>
221           </item>
222           <item row="2" column="0">
223            <widget class="QPushButton" name="their_pull">
224             <property name="text">
225              <string>Their pull (&amp;p)</string>
226             </property>
227             <property name="shortcut">
228              <string>P</string>
229             </property>
230            </widget>
231           </item>
232           <item row="2" column="1">
233            <widget class="QPushButton" name="defensive_formation">
234             <property name="enabled">
235              <bool>true</bool>
236             </property>
237             <property name="text">
238              <string>Formation (&amp;p)</string>
239             </property>
240             <property name="shortcut">
241              <string>O</string>
242             </property>
243            </widget>
244           </item>
245          </layout>
246         </item>
247         <item>
248          <widget class="QLabel" name="misc_label">
249           <property name="text">
250            <string>Misc.</string>
251           </property>
252           <property name="alignment">
253            <set>Qt::AlignCenter</set>
254           </property>
255          </widget>
256         </item>
257         <item>
258          <layout class="QGridLayout" name="misc_grid">
259           <item row="1" column="1">
260            <widget class="QPushButton" name="stoppage">
261             <property name="text">
262              <string>Stoppage (&amp;v)</string>
263             </property>
264             <property name="shortcut">
265              <string>V</string>
266             </property>
267            </widget>
268           </item>
269           <item row="1" column="0">
270            <widget class="QPushButton" name="substitution">
271             <property name="text">
272              <string>Substitution (&amp;b)</string>
273             </property>
274             <property name="shortcut">
275              <string>B</string>
276             </property>
277            </widget>
278           </item>
279           <item row="2" column="0">
280            <widget class="QPushButton" name="unknown">
281             <property name="text">
282              <string>Unknown (&amp;?)</string>
283             </property>
284             <property name="shortcut">
285              <string>?</string>
286             </property>
287            </widget>
288           </item>
289           <item row="2" column="1">
290            <widget class="QPushButton" name="delete_">
291             <property name="text">
292              <string>Delete (⌫)</string>
293             </property>
294             <property name="shortcut">
295              <string>Backspace</string>
296             </property>
297            </widget>
298           </item>
299           <item row="0" column="0">
300            <widget class="QPushButton" name="soft_plus">
301             <property name="text">
302              <string>Soft plus (&amp;+)</string>
303             </property>
304             <property name="shortcut">
305              <string>+</string>
306             </property>
307            </widget>
308           </item>
309           <item row="0" column="1">
310            <widget class="QPushButton" name="soft_minus">
311             <property name="text">
312              <string>Soft minus (&amp;-)</string>
313             </property>
314             <property name="shortcut">
315              <string>-</string>
316             </property>
317            </widget>
318           </item>
319          </layout>
320         </item>
321         <item>
322          <widget class="QTableView" name="player_view">
323           <property name="selectionMode">
324            <enum>QAbstractItemView::MultiSelection</enum>
325           </property>
326           <property name="selectionBehavior">
327            <enum>QAbstractItemView::SelectRows</enum>
328           </property>
329          </widget>
330         </item>
331        </layout>
332       </item>
333       <item row="0" column="0">
334        <widget class="VideoWidget" name="video">
335         <property name="minimumSize">
336          <size>
337           <width>320</width>
338           <height>240</height>
339          </size>
340         </property>
341        </widget>
342       </item>
343       <item row="1" column="0">
344        <layout class="QHBoxLayout" name="nav_buttons" stretch="1,0,0,0,0,0,0,0,2">
345         <item>
346          <widget class="QLabel" name="timestamp">
347           <property name="font">
348            <font>
349             <family>Noto Sans</family>
350            </font>
351           </property>
352           <property name="text">
353            <string>0:00:00.000</string>
354           </property>
355           <property name="alignment">
356            <set>Qt::AlignCenter</set>
357           </property>
358          </widget>
359         </item>
360         <item>
361          <widget class="QPushButton" name="minus10s">
362           <property name="text">
363            <string>-10s (&amp;K)</string>
364           </property>
365           <property name="shortcut">
366            <string>K</string>
367           </property>
368          </widget>
369         </item>
370         <item>
371          <widget class="QPushButton" name="plus10s">
372           <property name="text">
373            <string>+10s (&amp;L)</string>
374           </property>
375           <property name="shortcut">
376            <string>L</string>
377           </property>
378          </widget>
379         </item>
380         <item>
381          <widget class="QPushButton" name="minus2s">
382           <property name="text">
383            <string>-2s (&amp;←)</string>
384           </property>
385           <property name="shortcut">
386            <string>Left</string>
387           </property>
388          </widget>
389         </item>
390         <item>
391          <widget class="QPushButton" name="plus2s">
392           <property name="text">
393            <string>+2s (&amp;→)</string>
394           </property>
395           <property name="shortcut">
396            <string>Right</string>
397           </property>
398          </widget>
399         </item>
400         <item>
401          <widget class="QPushButton" name="minus1f">
402           <property name="text">
403            <string>-1f (&amp;,)</string>
404           </property>
405           <property name="shortcut">
406            <string>,</string>
407           </property>
408          </widget>
409         </item>
410         <item>
411          <widget class="QPushButton" name="plus1f">
412           <property name="text">
413            <string>+1f (&amp;.)</string>
414           </property>
415           <property name="shortcut">
416            <string>.</string>
417           </property>
418          </widget>
419         </item>
420         <item>
421          <widget class="QPushButton" name="play_pause">
422           <property name="minimumSize">
423            <size>
424             <width>110</width>
425             <height>0</height>
426            </size>
427           </property>
428           <property name="text">
429            <string>Pause (space)</string>
430           </property>
431           <property name="shortcut">
432            <string>Space</string>
433           </property>
434          </widget>
435         </item>
436         <item>
437          <widget class="QLabel" name="status">
438           <property name="text">
439            <string>0–0 | offense | 0 passes, 0 sec possession</string>
440           </property>
441           <property name="alignment">
442            <set>Qt::AlignCenter</set>
443           </property>
444          </widget>
445         </item>
446        </layout>
447       </item>
448       <item row="2" column="0">
449        <layout class="QHBoxLayout" name="horizontalLayout" stretch="1,0,0">
450         <item>
451          <widget class="QTableView" name="event_view">
452           <property name="selectionMode">
453            <enum>QAbstractItemView::SingleSelection</enum>
454           </property>
455           <property name="selectionBehavior">
456            <enum>QAbstractItemView::SelectRows</enum>
457           </property>
458          </widget>
459         </item>
460         <item>
461          <layout class="QVBoxLayout" name="offensive_formation_layout">
462           <item>
463            <widget class="QLabel" name="label">
464             <property name="text">
465              <string>Offensive formation</string>
466             </property>
467             <property name="alignment">
468              <set>Qt::AlignCenter</set>
469             </property>
470            </widget>
471           </item>
472           <item>
473            <widget class="QListView" name="offensive_formation_view"/>
474           </item>
475          </layout>
476         </item>
477         <item>
478          <layout class="QVBoxLayout" name="defensive_formation_layout">
479           <item>
480            <widget class="QLabel" name="label_2">
481             <property name="text">
482              <string>Defensive formation</string>
483             </property>
484             <property name="alignment">
485              <set>Qt::AlignCenter</set>
486             </property>
487            </widget>
488           </item>
489           <item>
490            <widget class="QListView" name="defensive_formation_view"/>
491           </item>
492          </layout>
493         </item>
494        </layout>
495       </item>
496      </layout>
497     </item>
498    </layout>
499   </widget>
500   <widget class="QMenuBar" name="menubar">
501    <property name="geometry">
502     <rect>
503      <x>0</x>
504      <y>0</y>
505      <width>1251</width>
506      <height>23</height>
507     </rect>
508    </property>
509   </widget>
510  </widget>
511  <customwidgets>
512   <customwidget>
513    <class>VideoWidget</class>
514    <extends>QOpenGLWidget</extends>
515    <header>video_widget.h</header>
516    <container>1</container>
517   </customwidget>
518   <customwidget>
519    <class>ClickableLabel</class>
520    <extends>QLabel</extends>
521    <header>clickable_label.h</header>
522   </customwidget>
523  </customwidgets>
524  <resources/>
525  <connections/>
526 </ui>