1 /********************************************************************************
2 ** Form generated from reading UI file 'mainwindow.ui'
4 ** Created by: Qt User Interface Compiler version 5.7.1
6 ** WARNING! All changes made in this file will be lost when recompiling UI file!
7 ********************************************************************************/
9 #ifndef UI_MAINWINDOW_H
10 #define UI_MAINWINDOW_H
12 #include <QtCore/QVariant>
13 #include <QtWidgets/QAction>
14 #include <QtWidgets/QApplication>
15 #include <QtWidgets/QButtonGroup>
16 #include <QtWidgets/QFrame>
17 #include <QtWidgets/QGridLayout>
18 #include <QtWidgets/QHBoxLayout>
19 #include <QtWidgets/QHeaderView>
20 #include <QtWidgets/QLabel>
21 #include <QtWidgets/QLineEdit>
22 #include <QtWidgets/QMainWindow>
23 #include <QtWidgets/QPushButton>
24 #include <QtWidgets/QSpinBox>
25 #include <QtWidgets/QStatusBar>
26 #include <QtWidgets/QVBoxLayout>
27 #include <QtWidgets/QWidget>
34 QWidget *centralWidget;
35 QVBoxLayout *verticalLayout_2;
36 QVBoxLayout *verticalLayout;
37 QHBoxLayout *horizontalLayout_10;
39 QLineEdit *casparcg_host_box;
40 QLineEdit *casparcg_port_box;
41 QPushButton *casparcg_reconnect_btn;
42 QLabel *casparcg_connected_label;
43 QHBoxLayout *horizontalLayout_3;
44 QGridLayout *gridLayout;
45 QHBoxLayout *horizontalLayout_4;
46 QPushButton *goal_2_btn;
47 QPushButton *ungoal_2_btn;
49 QSpinBox *score_2_box;
50 QPushButton *set_score_btn;
52 QLineEdit *initials_1_edit;
53 QHBoxLayout *horizontalLayout_5;
54 QPushButton *goal_1_btn;
55 QPushButton *ungoal_1_btn;
56 QLineEdit *color_1_edit;
57 QSpinBox *score_1_box;
60 QLineEdit *initials_2_edit;
62 QPushButton *set_initials_btn;
63 QLineEdit *color_2_edit;
64 QPushButton *set_color_btn;
65 QPushButton *set_all_scorebug_btn;
67 QHBoxLayout *horizontalLayout_2;
69 QSpinBox *clock_min_box;
71 QSpinBox *clock_sec_box;
72 QPushButton *set_clock_btn;
73 QHBoxLayout *horizontalLayout;
74 QPushButton *start_and_show_clock_btn;
75 QPushButton *stop_clock_btn;
76 QPushButton *show_clock_btn;
77 QPushButton *hide_clock_btn;
79 QHBoxLayout *horizontalLayout_6;
81 QLineEdit *comment_edit;
82 QPushButton *set_comment_btn;
83 QPushButton *set_and_show_comment_btn;
84 QPushButton *hide_comment_btn;
85 QHBoxLayout *horizontalLayout_11;
87 QLineEdit *autocomment_edit;
88 QPushButton *set_and_show_autocomment_btn;
90 QHBoxLayout *horizontalLayout_7;
92 QLineEdit *lowerthird_heading_edit;
93 QHBoxLayout *horizontalLayout_8;
95 QLineEdit *lowerthird_subheading_edit;
96 QHBoxLayout *horizontalLayout_9;
97 QPushButton *show_lower_third_btn;
98 QPushButton *hide_lower_third_btn;
99 QStatusBar *statusBar;
101 void setupUi(QMainWindow *MainWindow)
103 if (MainWindow->objectName().isEmpty())
104 MainWindow->setObjectName(QStringLiteral("MainWindow"));
105 MainWindow->resize(720, 552);
106 centralWidget = new QWidget(MainWindow);
107 centralWidget->setObjectName(QStringLiteral("centralWidget"));
108 verticalLayout_2 = new QVBoxLayout(centralWidget);
109 verticalLayout_2->setSpacing(6);
110 verticalLayout_2->setContentsMargins(11, 11, 11, 11);
111 verticalLayout_2->setObjectName(QStringLiteral("verticalLayout_2"));
112 verticalLayout = new QVBoxLayout();
113 verticalLayout->setSpacing(6);
114 verticalLayout->setObjectName(QStringLiteral("verticalLayout"));
115 verticalLayout->setContentsMargins(6, 6, 6, 6);
116 horizontalLayout_10 = new QHBoxLayout();
117 horizontalLayout_10->setSpacing(6);
118 horizontalLayout_10->setObjectName(QStringLiteral("horizontalLayout_10"));
119 label_11 = new QLabel(centralWidget);
120 label_11->setObjectName(QStringLiteral("label_11"));
122 horizontalLayout_10->addWidget(label_11);
124 casparcg_host_box = new QLineEdit(centralWidget);
125 casparcg_host_box->setObjectName(QStringLiteral("casparcg_host_box"));
127 horizontalLayout_10->addWidget(casparcg_host_box);
129 casparcg_port_box = new QLineEdit(centralWidget);
130 casparcg_port_box->setObjectName(QStringLiteral("casparcg_port_box"));
131 casparcg_port_box->setMaximumSize(QSize(50, 16777215));
133 horizontalLayout_10->addWidget(casparcg_port_box);
135 casparcg_reconnect_btn = new QPushButton(centralWidget);
136 casparcg_reconnect_btn->setObjectName(QStringLiteral("casparcg_reconnect_btn"));
138 horizontalLayout_10->addWidget(casparcg_reconnect_btn);
140 casparcg_connected_label = new QLabel(centralWidget);
141 casparcg_connected_label->setObjectName(QStringLiteral("casparcg_connected_label"));
142 casparcg_connected_label->setMinimumSize(QSize(100, 0));
143 casparcg_connected_label->setAlignment(Qt::AlignCenter);
145 horizontalLayout_10->addWidget(casparcg_connected_label);
148 verticalLayout->addLayout(horizontalLayout_10);
150 horizontalLayout_3 = new QHBoxLayout();
151 horizontalLayout_3->setSpacing(6);
152 horizontalLayout_3->setObjectName(QStringLiteral("horizontalLayout_3"));
153 gridLayout = new QGridLayout();
154 gridLayout->setSpacing(6);
155 gridLayout->setObjectName(QStringLiteral("gridLayout"));
156 horizontalLayout_4 = new QHBoxLayout();
157 horizontalLayout_4->setSpacing(6);
158 horizontalLayout_4->setObjectName(QStringLiteral("horizontalLayout_4"));
159 goal_2_btn = new QPushButton(centralWidget);
160 goal_2_btn->setObjectName(QStringLiteral("goal_2_btn"));
162 horizontalLayout_4->addWidget(goal_2_btn);
164 ungoal_2_btn = new QPushButton(centralWidget);
165 ungoal_2_btn->setObjectName(QStringLiteral("ungoal_2_btn"));
167 horizontalLayout_4->addWidget(ungoal_2_btn);
170 gridLayout->addLayout(horizontalLayout_4, 4, 2, 1, 1);
172 label_6 = new QLabel(centralWidget);
173 label_6->setObjectName(QStringLiteral("label_6"));
175 gridLayout->addWidget(label_6, 3, 0, 1, 1);
177 score_2_box = new QSpinBox(centralWidget);
178 score_2_box->setObjectName(QStringLiteral("score_2_box"));
180 gridLayout->addWidget(score_2_box, 3, 2, 1, 1);
182 set_score_btn = new QPushButton(centralWidget);
183 set_score_btn->setObjectName(QStringLiteral("set_score_btn"));
185 gridLayout->addWidget(set_score_btn, 3, 3, 1, 1);
187 label_7 = new QLabel(centralWidget);
188 label_7->setObjectName(QStringLiteral("label_7"));
190 gridLayout->addWidget(label_7, 2, 0, 1, 1);
192 initials_1_edit = new QLineEdit(centralWidget);
193 initials_1_edit->setObjectName(QStringLiteral("initials_1_edit"));
195 gridLayout->addWidget(initials_1_edit, 1, 1, 1, 1);
197 horizontalLayout_5 = new QHBoxLayout();
198 horizontalLayout_5->setSpacing(6);
199 horizontalLayout_5->setObjectName(QStringLiteral("horizontalLayout_5"));
200 goal_1_btn = new QPushButton(centralWidget);
201 goal_1_btn->setObjectName(QStringLiteral("goal_1_btn"));
203 horizontalLayout_5->addWidget(goal_1_btn);
205 ungoal_1_btn = new QPushButton(centralWidget);
206 ungoal_1_btn->setObjectName(QStringLiteral("ungoal_1_btn"));
208 horizontalLayout_5->addWidget(ungoal_1_btn);
211 gridLayout->addLayout(horizontalLayout_5, 4, 1, 1, 1);
213 color_1_edit = new QLineEdit(centralWidget);
214 color_1_edit->setObjectName(QStringLiteral("color_1_edit"));
216 gridLayout->addWidget(color_1_edit, 2, 1, 1, 1);
218 score_1_box = new QSpinBox(centralWidget);
219 score_1_box->setObjectName(QStringLiteral("score_1_box"));
221 gridLayout->addWidget(score_1_box, 3, 1, 1, 1);
223 label_4 = new QLabel(centralWidget);
224 label_4->setObjectName(QStringLiteral("label_4"));
226 gridLayout->addWidget(label_4, 0, 2, 1, 1);
228 label_3 = new QLabel(centralWidget);
229 label_3->setObjectName(QStringLiteral("label_3"));
231 gridLayout->addWidget(label_3, 0, 1, 1, 1);
233 initials_2_edit = new QLineEdit(centralWidget);
234 initials_2_edit->setObjectName(QStringLiteral("initials_2_edit"));
236 gridLayout->addWidget(initials_2_edit, 1, 2, 1, 1);
238 label_5 = new QLabel(centralWidget);
239 label_5->setObjectName(QStringLiteral("label_5"));
241 gridLayout->addWidget(label_5, 1, 0, 1, 1);
243 set_initials_btn = new QPushButton(centralWidget);
244 set_initials_btn->setObjectName(QStringLiteral("set_initials_btn"));
246 gridLayout->addWidget(set_initials_btn, 1, 3, 1, 1);
248 color_2_edit = new QLineEdit(centralWidget);
249 color_2_edit->setObjectName(QStringLiteral("color_2_edit"));
251 gridLayout->addWidget(color_2_edit, 2, 2, 1, 1);
253 set_color_btn = new QPushButton(centralWidget);
254 set_color_btn->setObjectName(QStringLiteral("set_color_btn"));
256 gridLayout->addWidget(set_color_btn, 2, 3, 1, 1);
258 set_all_scorebug_btn = new QPushButton(centralWidget);
259 set_all_scorebug_btn->setObjectName(QStringLiteral("set_all_scorebug_btn"));
261 gridLayout->addWidget(set_all_scorebug_btn, 4, 3, 1, 1);
264 horizontalLayout_3->addLayout(gridLayout);
267 verticalLayout->addLayout(horizontalLayout_3);
269 line_3 = new QFrame(centralWidget);
270 line_3->setObjectName(QStringLiteral("line_3"));
271 line_3->setFrameShape(QFrame::HLine);
272 line_3->setFrameShadow(QFrame::Sunken);
274 verticalLayout->addWidget(line_3);
276 horizontalLayout_2 = new QHBoxLayout();
277 horizontalLayout_2->setSpacing(6);
278 horizontalLayout_2->setObjectName(QStringLiteral("horizontalLayout_2"));
279 label = new QLabel(centralWidget);
280 label->setObjectName(QStringLiteral("label"));
282 horizontalLayout_2->addWidget(label);
284 clock_min_box = new QSpinBox(centralWidget);
285 clock_min_box->setObjectName(QStringLiteral("clock_min_box"));
286 QSizePolicy sizePolicy(QSizePolicy::Fixed, QSizePolicy::Fixed);
287 sizePolicy.setHorizontalStretch(0);
288 sizePolicy.setVerticalStretch(0);
289 sizePolicy.setHeightForWidth(clock_min_box->sizePolicy().hasHeightForWidth());
290 clock_min_box->setSizePolicy(sizePolicy);
291 clock_min_box->setValue(25);
293 horizontalLayout_2->addWidget(clock_min_box);
295 label_2 = new QLabel(centralWidget);
296 label_2->setObjectName(QStringLiteral("label_2"));
297 QSizePolicy sizePolicy1(QSizePolicy::Fixed, QSizePolicy::Preferred);
298 sizePolicy1.setHorizontalStretch(0);
299 sizePolicy1.setVerticalStretch(0);
300 sizePolicy1.setHeightForWidth(label_2->sizePolicy().hasHeightForWidth());
301 label_2->setSizePolicy(sizePolicy1);
303 horizontalLayout_2->addWidget(label_2);
305 clock_sec_box = new QSpinBox(centralWidget);
306 clock_sec_box->setObjectName(QStringLiteral("clock_sec_box"));
307 sizePolicy.setHeightForWidth(clock_sec_box->sizePolicy().hasHeightForWidth());
308 clock_sec_box->setSizePolicy(sizePolicy);
309 clock_sec_box->setMaximum(59);
311 horizontalLayout_2->addWidget(clock_sec_box);
313 set_clock_btn = new QPushButton(centralWidget);
314 set_clock_btn->setObjectName(QStringLiteral("set_clock_btn"));
316 horizontalLayout_2->addWidget(set_clock_btn);
319 verticalLayout->addLayout(horizontalLayout_2);
321 horizontalLayout = new QHBoxLayout();
322 horizontalLayout->setSpacing(6);
323 horizontalLayout->setObjectName(QStringLiteral("horizontalLayout"));
324 start_and_show_clock_btn = new QPushButton(centralWidget);
325 start_and_show_clock_btn->setObjectName(QStringLiteral("start_and_show_clock_btn"));
327 horizontalLayout->addWidget(start_and_show_clock_btn);
329 stop_clock_btn = new QPushButton(centralWidget);
330 stop_clock_btn->setObjectName(QStringLiteral("stop_clock_btn"));
332 horizontalLayout->addWidget(stop_clock_btn);
334 show_clock_btn = new QPushButton(centralWidget);
335 show_clock_btn->setObjectName(QStringLiteral("show_clock_btn"));
337 horizontalLayout->addWidget(show_clock_btn);
339 hide_clock_btn = new QPushButton(centralWidget);
340 hide_clock_btn->setObjectName(QStringLiteral("hide_clock_btn"));
342 horizontalLayout->addWidget(hide_clock_btn);
345 verticalLayout->addLayout(horizontalLayout);
347 line_2 = new QFrame(centralWidget);
348 line_2->setObjectName(QStringLiteral("line_2"));
349 line_2->setFrameShape(QFrame::HLine);
350 line_2->setFrameShadow(QFrame::Sunken);
352 verticalLayout->addWidget(line_2);
354 horizontalLayout_6 = new QHBoxLayout();
355 horizontalLayout_6->setSpacing(6);
356 horizontalLayout_6->setObjectName(QStringLiteral("horizontalLayout_6"));
357 label_8 = new QLabel(centralWidget);
358 label_8->setObjectName(QStringLiteral("label_8"));
360 horizontalLayout_6->addWidget(label_8);
362 comment_edit = new QLineEdit(centralWidget);
363 comment_edit->setObjectName(QStringLiteral("comment_edit"));
365 horizontalLayout_6->addWidget(comment_edit);
367 set_comment_btn = new QPushButton(centralWidget);
368 set_comment_btn->setObjectName(QStringLiteral("set_comment_btn"));
370 horizontalLayout_6->addWidget(set_comment_btn);
372 set_and_show_comment_btn = new QPushButton(centralWidget);
373 set_and_show_comment_btn->setObjectName(QStringLiteral("set_and_show_comment_btn"));
375 horizontalLayout_6->addWidget(set_and_show_comment_btn);
377 hide_comment_btn = new QPushButton(centralWidget);
378 hide_comment_btn->setObjectName(QStringLiteral("hide_comment_btn"));
380 horizontalLayout_6->addWidget(hide_comment_btn);
383 verticalLayout->addLayout(horizontalLayout_6);
385 horizontalLayout_11 = new QHBoxLayout();
386 horizontalLayout_11->setSpacing(6);
387 horizontalLayout_11->setObjectName(QStringLiteral("horizontalLayout_11"));
388 label_12 = new QLabel(centralWidget);
389 label_12->setObjectName(QStringLiteral("label_12"));
391 horizontalLayout_11->addWidget(label_12);
393 autocomment_edit = new QLineEdit(centralWidget);
394 autocomment_edit->setObjectName(QStringLiteral("autocomment_edit"));
395 autocomment_edit->setEnabled(true);
397 horizontalLayout_11->addWidget(autocomment_edit);
399 set_and_show_autocomment_btn = new QPushButton(centralWidget);
400 set_and_show_autocomment_btn->setObjectName(QStringLiteral("set_and_show_autocomment_btn"));
402 horizontalLayout_11->addWidget(set_and_show_autocomment_btn);
405 verticalLayout->addLayout(horizontalLayout_11);
407 line = new QFrame(centralWidget);
408 line->setObjectName(QStringLiteral("line"));
409 line->setFrameShape(QFrame::HLine);
410 line->setFrameShadow(QFrame::Sunken);
412 verticalLayout->addWidget(line);
414 horizontalLayout_7 = new QHBoxLayout();
415 horizontalLayout_7->setSpacing(6);
416 horizontalLayout_7->setObjectName(QStringLiteral("horizontalLayout_7"));
417 label_9 = new QLabel(centralWidget);
418 label_9->setObjectName(QStringLiteral("label_9"));
420 horizontalLayout_7->addWidget(label_9);
422 lowerthird_heading_edit = new QLineEdit(centralWidget);
423 lowerthird_heading_edit->setObjectName(QStringLiteral("lowerthird_heading_edit"));
425 horizontalLayout_7->addWidget(lowerthird_heading_edit);
428 verticalLayout->addLayout(horizontalLayout_7);
430 horizontalLayout_8 = new QHBoxLayout();
431 horizontalLayout_8->setSpacing(6);
432 horizontalLayout_8->setObjectName(QStringLiteral("horizontalLayout_8"));
433 label_10 = new QLabel(centralWidget);
434 label_10->setObjectName(QStringLiteral("label_10"));
436 horizontalLayout_8->addWidget(label_10);
438 lowerthird_subheading_edit = new QLineEdit(centralWidget);
439 lowerthird_subheading_edit->setObjectName(QStringLiteral("lowerthird_subheading_edit"));
441 horizontalLayout_8->addWidget(lowerthird_subheading_edit);
444 verticalLayout->addLayout(horizontalLayout_8);
446 horizontalLayout_9 = new QHBoxLayout();
447 horizontalLayout_9->setSpacing(6);
448 horizontalLayout_9->setObjectName(QStringLiteral("horizontalLayout_9"));
449 show_lower_third_btn = new QPushButton(centralWidget);
450 show_lower_third_btn->setObjectName(QStringLiteral("show_lower_third_btn"));
452 horizontalLayout_9->addWidget(show_lower_third_btn);
454 hide_lower_third_btn = new QPushButton(centralWidget);
455 hide_lower_third_btn->setObjectName(QStringLiteral("hide_lower_third_btn"));
457 horizontalLayout_9->addWidget(hide_lower_third_btn);
460 verticalLayout->addLayout(horizontalLayout_9);
463 verticalLayout_2->addLayout(verticalLayout);
465 MainWindow->setCentralWidget(centralWidget);
466 statusBar = new QStatusBar(MainWindow);
467 statusBar->setObjectName(QStringLiteral("statusBar"));
468 MainWindow->setStatusBar(statusBar);
470 retranslateUi(MainWindow);
472 QMetaObject::connectSlotsByName(MainWindow);
475 void retranslateUi(QMainWindow *MainWindow)
477 MainWindow->setWindowTitle(QApplication::translate("MainWindow", "MainWindow", Q_NULLPTR));
478 label_11->setText(QApplication::translate("MainWindow", "CasparCG server:", Q_NULLPTR));
479 casparcg_host_box->setText(QApplication::translate("MainWindow", "localhost", Q_NULLPTR));
480 casparcg_port_box->setText(QApplication::translate("MainWindow", "5250", Q_NULLPTR));
481 casparcg_reconnect_btn->setText(QApplication::translate("MainWindow", "Reconnect", Q_NULLPTR));
482 casparcg_connected_label->setText(QApplication::translate("MainWindow", "Not connected", Q_NULLPTR));
483 goal_2_btn->setText(QApplication::translate("MainWindow", "+1 point", Q_NULLPTR));
484 ungoal_2_btn->setText(QApplication::translate("MainWindow", "-1 point", Q_NULLPTR));
485 label_6->setText(QApplication::translate("MainWindow", "Score", Q_NULLPTR));
486 set_score_btn->setText(QApplication::translate("MainWindow", "Set", Q_NULLPTR));
487 label_7->setText(QApplication::translate("MainWindow", "CSS color", Q_NULLPTR));
488 initials_1_edit->setText(QApplication::translate("MainWindow", "PCL", Q_NULLPTR));
489 goal_1_btn->setText(QApplication::translate("MainWindow", "+1 point", Q_NULLPTR));
490 ungoal_1_btn->setText(QApplication::translate("MainWindow", "-1 point", Q_NULLPTR));
491 color_1_edit->setText(QApplication::translate("MainWindow", "red", Q_NULLPTR));
492 label_4->setText(QApplication::translate("MainWindow", "Team 2", Q_NULLPTR));
493 label_3->setText(QApplication::translate("MainWindow", "Team 1", Q_NULLPTR));
494 initials_2_edit->setText(QApplication::translate("MainWindow", "TFK", Q_NULLPTR));
495 label_5->setText(QApplication::translate("MainWindow", "Initials", Q_NULLPTR));
496 set_initials_btn->setText(QApplication::translate("MainWindow", "Set", Q_NULLPTR));
497 color_2_edit->setText(QApplication::translate("MainWindow", "yellow", Q_NULLPTR));
498 set_color_btn->setText(QApplication::translate("MainWindow", "Set", Q_NULLPTR));
499 set_all_scorebug_btn->setText(QApplication::translate("MainWindow", "Set all", Q_NULLPTR));
500 label->setText(QApplication::translate("MainWindow", "Set clock to:", Q_NULLPTR));
501 label_2->setText(QApplication::translate("MainWindow", ":", Q_NULLPTR));
502 set_clock_btn->setText(QApplication::translate("MainWindow", "Set", Q_NULLPTR));
503 start_and_show_clock_btn->setText(QApplication::translate("MainWindow", "Start (and show) clock", Q_NULLPTR));
504 stop_clock_btn->setText(QApplication::translate("MainWindow", "Stop clock", Q_NULLPTR));
505 show_clock_btn->setText(QApplication::translate("MainWindow", "Show clock", Q_NULLPTR));
506 hide_clock_btn->setText(QApplication::translate("MainWindow", "Hide clock", Q_NULLPTR));
507 label_8->setText(QApplication::translate("MainWindow", "Comment:", Q_NULLPTR));
508 comment_edit->setText(QApplication::translate("MainWindow", "Pagacap: First to 9 points", Q_NULLPTR));
509 set_comment_btn->setText(QApplication::translate("MainWindow", "Set", Q_NULLPTR));
510 set_and_show_comment_btn->setText(QApplication::translate("MainWindow", "Set+show", Q_NULLPTR));
511 hide_comment_btn->setText(QApplication::translate("MainWindow", "Hide", Q_NULLPTR));
512 label_12->setText(QApplication::translate("MainWindow", "Suggested autocomment if game ends right now:", Q_NULLPTR));
513 autocomment_edit->setText(QString());
514 set_and_show_autocomment_btn->setText(QApplication::translate("MainWindow", "Set+show", Q_NULLPTR));
515 label_9->setText(QApplication::translate("MainWindow", "Lower third heading (HTML allowed):", Q_NULLPTR));
516 label_10->setText(QApplication::translate("MainWindow", "Lower third subheading (HTML allowed):", Q_NULLPTR));
517 show_lower_third_btn->setText(QApplication::translate("MainWindow", "Set + show lower third", Q_NULLPTR));
518 hide_lower_third_btn->setText(QApplication::translate("MainWindow", "Hide lower third", Q_NULLPTR));
524 class MainWindow: public Ui_MainWindow {};
529 #endif // UI_MAINWINDOW_H