+++ /dev/null
-/********************************************************************************
-** Form generated from reading UI file 'mainwindow.ui'
-**
-** Created by: Qt User Interface Compiler version 5.7.1
-**
-** WARNING! All changes made in this file will be lost when recompiling UI file!
-********************************************************************************/
-
-#ifndef UI_MAINWINDOW_H
-#define UI_MAINWINDOW_H
-
-#include <QtCore/QVariant>
-#include <QtWidgets/QAction>
-#include <QtWidgets/QApplication>
-#include <QtWidgets/QButtonGroup>
-#include <QtWidgets/QFrame>
-#include <QtWidgets/QGridLayout>
-#include <QtWidgets/QHBoxLayout>
-#include <QtWidgets/QHeaderView>
-#include <QtWidgets/QLabel>
-#include <QtWidgets/QLineEdit>
-#include <QtWidgets/QMainWindow>
-#include <QtWidgets/QPushButton>
-#include <QtWidgets/QSpinBox>
-#include <QtWidgets/QStatusBar>
-#include <QtWidgets/QVBoxLayout>
-#include <QtWidgets/QWidget>
-
-QT_BEGIN_NAMESPACE
-
-class Ui_MainWindow
-{
-public:
- QWidget *centralWidget;
- QVBoxLayout *verticalLayout_2;
- QVBoxLayout *verticalLayout;
- QHBoxLayout *horizontalLayout_10;
- QLabel *label_11;
- QLineEdit *casparcg_host_box;
- QLineEdit *casparcg_port_box;
- QPushButton *casparcg_reconnect_btn;
- QLabel *casparcg_connected_label;
- QHBoxLayout *horizontalLayout_3;
- QGridLayout *gridLayout;
- QHBoxLayout *horizontalLayout_4;
- QPushButton *goal_2_btn;
- QPushButton *ungoal_2_btn;
- QLabel *label_6;
- QSpinBox *score_2_box;
- QPushButton *set_score_btn;
- QLabel *label_7;
- QLineEdit *initials_1_edit;
- QHBoxLayout *horizontalLayout_5;
- QPushButton *goal_1_btn;
- QPushButton *ungoal_1_btn;
- QLineEdit *color_1_edit;
- QSpinBox *score_1_box;
- QLabel *label_4;
- QLabel *label_3;
- QLineEdit *initials_2_edit;
- QLabel *label_5;
- QPushButton *set_initials_btn;
- QLineEdit *color_2_edit;
- QPushButton *set_color_btn;
- QPushButton *set_all_scorebug_btn;
- QFrame *line_3;
- QHBoxLayout *horizontalLayout_2;
- QLabel *label;
- QSpinBox *clock_min_box;
- QLabel *label_2;
- QSpinBox *clock_sec_box;
- QPushButton *set_clock_btn;
- QHBoxLayout *horizontalLayout;
- QPushButton *start_and_show_clock_btn;
- QPushButton *stop_clock_btn;
- QPushButton *show_clock_btn;
- QPushButton *hide_clock_btn;
- QFrame *line_2;
- QHBoxLayout *horizontalLayout_6;
- QLabel *label_8;
- QLineEdit *comment_edit;
- QPushButton *set_comment_btn;
- QPushButton *set_and_show_comment_btn;
- QPushButton *hide_comment_btn;
- QHBoxLayout *horizontalLayout_11;
- QLabel *label_12;
- QLineEdit *autocomment_edit;
- QPushButton *set_and_show_autocomment_btn;
- QFrame *line;
- QHBoxLayout *horizontalLayout_7;
- QLabel *label_9;
- QLineEdit *lowerthird_heading_edit;
- QHBoxLayout *horizontalLayout_8;
- QLabel *label_10;
- QLineEdit *lowerthird_subheading_edit;
- QHBoxLayout *horizontalLayout_9;
- QPushButton *show_lower_third_btn;
- QPushButton *hide_lower_third_btn;
- QStatusBar *statusBar;
-
- void setupUi(QMainWindow *MainWindow)
- {
- if (MainWindow->objectName().isEmpty())
- MainWindow->setObjectName(QStringLiteral("MainWindow"));
- MainWindow->resize(720, 552);
- centralWidget = new QWidget(MainWindow);
- centralWidget->setObjectName(QStringLiteral("centralWidget"));
- verticalLayout_2 = new QVBoxLayout(centralWidget);
- verticalLayout_2->setSpacing(6);
- verticalLayout_2->setContentsMargins(11, 11, 11, 11);
- verticalLayout_2->setObjectName(QStringLiteral("verticalLayout_2"));
- verticalLayout = new QVBoxLayout();
- verticalLayout->setSpacing(6);
- verticalLayout->setObjectName(QStringLiteral("verticalLayout"));
- verticalLayout->setContentsMargins(6, 6, 6, 6);
- horizontalLayout_10 = new QHBoxLayout();
- horizontalLayout_10->setSpacing(6);
- horizontalLayout_10->setObjectName(QStringLiteral("horizontalLayout_10"));
- label_11 = new QLabel(centralWidget);
- label_11->setObjectName(QStringLiteral("label_11"));
-
- horizontalLayout_10->addWidget(label_11);
-
- casparcg_host_box = new QLineEdit(centralWidget);
- casparcg_host_box->setObjectName(QStringLiteral("casparcg_host_box"));
-
- horizontalLayout_10->addWidget(casparcg_host_box);
-
- casparcg_port_box = new QLineEdit(centralWidget);
- casparcg_port_box->setObjectName(QStringLiteral("casparcg_port_box"));
- casparcg_port_box->setMaximumSize(QSize(50, 16777215));
-
- horizontalLayout_10->addWidget(casparcg_port_box);
-
- casparcg_reconnect_btn = new QPushButton(centralWidget);
- casparcg_reconnect_btn->setObjectName(QStringLiteral("casparcg_reconnect_btn"));
-
- horizontalLayout_10->addWidget(casparcg_reconnect_btn);
-
- casparcg_connected_label = new QLabel(centralWidget);
- casparcg_connected_label->setObjectName(QStringLiteral("casparcg_connected_label"));
- casparcg_connected_label->setMinimumSize(QSize(100, 0));
- casparcg_connected_label->setAlignment(Qt::AlignCenter);
-
- horizontalLayout_10->addWidget(casparcg_connected_label);
-
-
- verticalLayout->addLayout(horizontalLayout_10);
-
- horizontalLayout_3 = new QHBoxLayout();
- horizontalLayout_3->setSpacing(6);
- horizontalLayout_3->setObjectName(QStringLiteral("horizontalLayout_3"));
- gridLayout = new QGridLayout();
- gridLayout->setSpacing(6);
- gridLayout->setObjectName(QStringLiteral("gridLayout"));
- horizontalLayout_4 = new QHBoxLayout();
- horizontalLayout_4->setSpacing(6);
- horizontalLayout_4->setObjectName(QStringLiteral("horizontalLayout_4"));
- goal_2_btn = new QPushButton(centralWidget);
- goal_2_btn->setObjectName(QStringLiteral("goal_2_btn"));
-
- horizontalLayout_4->addWidget(goal_2_btn);
-
- ungoal_2_btn = new QPushButton(centralWidget);
- ungoal_2_btn->setObjectName(QStringLiteral("ungoal_2_btn"));
-
- horizontalLayout_4->addWidget(ungoal_2_btn);
-
-
- gridLayout->addLayout(horizontalLayout_4, 4, 2, 1, 1);
-
- label_6 = new QLabel(centralWidget);
- label_6->setObjectName(QStringLiteral("label_6"));
-
- gridLayout->addWidget(label_6, 3, 0, 1, 1);
-
- score_2_box = new QSpinBox(centralWidget);
- score_2_box->setObjectName(QStringLiteral("score_2_box"));
-
- gridLayout->addWidget(score_2_box, 3, 2, 1, 1);
-
- set_score_btn = new QPushButton(centralWidget);
- set_score_btn->setObjectName(QStringLiteral("set_score_btn"));
-
- gridLayout->addWidget(set_score_btn, 3, 3, 1, 1);
-
- label_7 = new QLabel(centralWidget);
- label_7->setObjectName(QStringLiteral("label_7"));
-
- gridLayout->addWidget(label_7, 2, 0, 1, 1);
-
- initials_1_edit = new QLineEdit(centralWidget);
- initials_1_edit->setObjectName(QStringLiteral("initials_1_edit"));
-
- gridLayout->addWidget(initials_1_edit, 1, 1, 1, 1);
-
- horizontalLayout_5 = new QHBoxLayout();
- horizontalLayout_5->setSpacing(6);
- horizontalLayout_5->setObjectName(QStringLiteral("horizontalLayout_5"));
- goal_1_btn = new QPushButton(centralWidget);
- goal_1_btn->setObjectName(QStringLiteral("goal_1_btn"));
-
- horizontalLayout_5->addWidget(goal_1_btn);
-
- ungoal_1_btn = new QPushButton(centralWidget);
- ungoal_1_btn->setObjectName(QStringLiteral("ungoal_1_btn"));
-
- horizontalLayout_5->addWidget(ungoal_1_btn);
-
-
- gridLayout->addLayout(horizontalLayout_5, 4, 1, 1, 1);
-
- color_1_edit = new QLineEdit(centralWidget);
- color_1_edit->setObjectName(QStringLiteral("color_1_edit"));
-
- gridLayout->addWidget(color_1_edit, 2, 1, 1, 1);
-
- score_1_box = new QSpinBox(centralWidget);
- score_1_box->setObjectName(QStringLiteral("score_1_box"));
-
- gridLayout->addWidget(score_1_box, 3, 1, 1, 1);
-
- label_4 = new QLabel(centralWidget);
- label_4->setObjectName(QStringLiteral("label_4"));
-
- gridLayout->addWidget(label_4, 0, 2, 1, 1);
-
- label_3 = new QLabel(centralWidget);
- label_3->setObjectName(QStringLiteral("label_3"));
-
- gridLayout->addWidget(label_3, 0, 1, 1, 1);
-
- initials_2_edit = new QLineEdit(centralWidget);
- initials_2_edit->setObjectName(QStringLiteral("initials_2_edit"));
-
- gridLayout->addWidget(initials_2_edit, 1, 2, 1, 1);
-
- label_5 = new QLabel(centralWidget);
- label_5->setObjectName(QStringLiteral("label_5"));
-
- gridLayout->addWidget(label_5, 1, 0, 1, 1);
-
- set_initials_btn = new QPushButton(centralWidget);
- set_initials_btn->setObjectName(QStringLiteral("set_initials_btn"));
-
- gridLayout->addWidget(set_initials_btn, 1, 3, 1, 1);
-
- color_2_edit = new QLineEdit(centralWidget);
- color_2_edit->setObjectName(QStringLiteral("color_2_edit"));
-
- gridLayout->addWidget(color_2_edit, 2, 2, 1, 1);
-
- set_color_btn = new QPushButton(centralWidget);
- set_color_btn->setObjectName(QStringLiteral("set_color_btn"));
-
- gridLayout->addWidget(set_color_btn, 2, 3, 1, 1);
-
- set_all_scorebug_btn = new QPushButton(centralWidget);
- set_all_scorebug_btn->setObjectName(QStringLiteral("set_all_scorebug_btn"));
-
- gridLayout->addWidget(set_all_scorebug_btn, 4, 3, 1, 1);
-
-
- horizontalLayout_3->addLayout(gridLayout);
-
-
- verticalLayout->addLayout(horizontalLayout_3);
-
- line_3 = new QFrame(centralWidget);
- line_3->setObjectName(QStringLiteral("line_3"));
- line_3->setFrameShape(QFrame::HLine);
- line_3->setFrameShadow(QFrame::Sunken);
-
- verticalLayout->addWidget(line_3);
-
- horizontalLayout_2 = new QHBoxLayout();
- horizontalLayout_2->setSpacing(6);
- horizontalLayout_2->setObjectName(QStringLiteral("horizontalLayout_2"));
- label = new QLabel(centralWidget);
- label->setObjectName(QStringLiteral("label"));
-
- horizontalLayout_2->addWidget(label);
-
- clock_min_box = new QSpinBox(centralWidget);
- clock_min_box->setObjectName(QStringLiteral("clock_min_box"));
- QSizePolicy sizePolicy(QSizePolicy::Fixed, QSizePolicy::Fixed);
- sizePolicy.setHorizontalStretch(0);
- sizePolicy.setVerticalStretch(0);
- sizePolicy.setHeightForWidth(clock_min_box->sizePolicy().hasHeightForWidth());
- clock_min_box->setSizePolicy(sizePolicy);
- clock_min_box->setValue(25);
-
- horizontalLayout_2->addWidget(clock_min_box);
-
- label_2 = new QLabel(centralWidget);
- label_2->setObjectName(QStringLiteral("label_2"));
- QSizePolicy sizePolicy1(QSizePolicy::Fixed, QSizePolicy::Preferred);
- sizePolicy1.setHorizontalStretch(0);
- sizePolicy1.setVerticalStretch(0);
- sizePolicy1.setHeightForWidth(label_2->sizePolicy().hasHeightForWidth());
- label_2->setSizePolicy(sizePolicy1);
-
- horizontalLayout_2->addWidget(label_2);
-
- clock_sec_box = new QSpinBox(centralWidget);
- clock_sec_box->setObjectName(QStringLiteral("clock_sec_box"));
- sizePolicy.setHeightForWidth(clock_sec_box->sizePolicy().hasHeightForWidth());
- clock_sec_box->setSizePolicy(sizePolicy);
- clock_sec_box->setMaximum(59);
-
- horizontalLayout_2->addWidget(clock_sec_box);
-
- set_clock_btn = new QPushButton(centralWidget);
- set_clock_btn->setObjectName(QStringLiteral("set_clock_btn"));
-
- horizontalLayout_2->addWidget(set_clock_btn);
-
-
- verticalLayout->addLayout(horizontalLayout_2);
-
- horizontalLayout = new QHBoxLayout();
- horizontalLayout->setSpacing(6);
- horizontalLayout->setObjectName(QStringLiteral("horizontalLayout"));
- start_and_show_clock_btn = new QPushButton(centralWidget);
- start_and_show_clock_btn->setObjectName(QStringLiteral("start_and_show_clock_btn"));
-
- horizontalLayout->addWidget(start_and_show_clock_btn);
-
- stop_clock_btn = new QPushButton(centralWidget);
- stop_clock_btn->setObjectName(QStringLiteral("stop_clock_btn"));
-
- horizontalLayout->addWidget(stop_clock_btn);
-
- show_clock_btn = new QPushButton(centralWidget);
- show_clock_btn->setObjectName(QStringLiteral("show_clock_btn"));
-
- horizontalLayout->addWidget(show_clock_btn);
-
- hide_clock_btn = new QPushButton(centralWidget);
- hide_clock_btn->setObjectName(QStringLiteral("hide_clock_btn"));
-
- horizontalLayout->addWidget(hide_clock_btn);
-
-
- verticalLayout->addLayout(horizontalLayout);
-
- line_2 = new QFrame(centralWidget);
- line_2->setObjectName(QStringLiteral("line_2"));
- line_2->setFrameShape(QFrame::HLine);
- line_2->setFrameShadow(QFrame::Sunken);
-
- verticalLayout->addWidget(line_2);
-
- horizontalLayout_6 = new QHBoxLayout();
- horizontalLayout_6->setSpacing(6);
- horizontalLayout_6->setObjectName(QStringLiteral("horizontalLayout_6"));
- label_8 = new QLabel(centralWidget);
- label_8->setObjectName(QStringLiteral("label_8"));
-
- horizontalLayout_6->addWidget(label_8);
-
- comment_edit = new QLineEdit(centralWidget);
- comment_edit->setObjectName(QStringLiteral("comment_edit"));
-
- horizontalLayout_6->addWidget(comment_edit);
-
- set_comment_btn = new QPushButton(centralWidget);
- set_comment_btn->setObjectName(QStringLiteral("set_comment_btn"));
-
- horizontalLayout_6->addWidget(set_comment_btn);
-
- set_and_show_comment_btn = new QPushButton(centralWidget);
- set_and_show_comment_btn->setObjectName(QStringLiteral("set_and_show_comment_btn"));
-
- horizontalLayout_6->addWidget(set_and_show_comment_btn);
-
- hide_comment_btn = new QPushButton(centralWidget);
- hide_comment_btn->setObjectName(QStringLiteral("hide_comment_btn"));
-
- horizontalLayout_6->addWidget(hide_comment_btn);
-
-
- verticalLayout->addLayout(horizontalLayout_6);
-
- horizontalLayout_11 = new QHBoxLayout();
- horizontalLayout_11->setSpacing(6);
- horizontalLayout_11->setObjectName(QStringLiteral("horizontalLayout_11"));
- label_12 = new QLabel(centralWidget);
- label_12->setObjectName(QStringLiteral("label_12"));
-
- horizontalLayout_11->addWidget(label_12);
-
- autocomment_edit = new QLineEdit(centralWidget);
- autocomment_edit->setObjectName(QStringLiteral("autocomment_edit"));
- autocomment_edit->setEnabled(true);
-
- horizontalLayout_11->addWidget(autocomment_edit);
-
- set_and_show_autocomment_btn = new QPushButton(centralWidget);
- set_and_show_autocomment_btn->setObjectName(QStringLiteral("set_and_show_autocomment_btn"));
-
- horizontalLayout_11->addWidget(set_and_show_autocomment_btn);
-
-
- verticalLayout->addLayout(horizontalLayout_11);
-
- line = new QFrame(centralWidget);
- line->setObjectName(QStringLiteral("line"));
- line->setFrameShape(QFrame::HLine);
- line->setFrameShadow(QFrame::Sunken);
-
- verticalLayout->addWidget(line);
-
- horizontalLayout_7 = new QHBoxLayout();
- horizontalLayout_7->setSpacing(6);
- horizontalLayout_7->setObjectName(QStringLiteral("horizontalLayout_7"));
- label_9 = new QLabel(centralWidget);
- label_9->setObjectName(QStringLiteral("label_9"));
-
- horizontalLayout_7->addWidget(label_9);
-
- lowerthird_heading_edit = new QLineEdit(centralWidget);
- lowerthird_heading_edit->setObjectName(QStringLiteral("lowerthird_heading_edit"));
-
- horizontalLayout_7->addWidget(lowerthird_heading_edit);
-
-
- verticalLayout->addLayout(horizontalLayout_7);
-
- horizontalLayout_8 = new QHBoxLayout();
- horizontalLayout_8->setSpacing(6);
- horizontalLayout_8->setObjectName(QStringLiteral("horizontalLayout_8"));
- label_10 = new QLabel(centralWidget);
- label_10->setObjectName(QStringLiteral("label_10"));
-
- horizontalLayout_8->addWidget(label_10);
-
- lowerthird_subheading_edit = new QLineEdit(centralWidget);
- lowerthird_subheading_edit->setObjectName(QStringLiteral("lowerthird_subheading_edit"));
-
- horizontalLayout_8->addWidget(lowerthird_subheading_edit);
-
-
- verticalLayout->addLayout(horizontalLayout_8);
-
- horizontalLayout_9 = new QHBoxLayout();
- horizontalLayout_9->setSpacing(6);
- horizontalLayout_9->setObjectName(QStringLiteral("horizontalLayout_9"));
- show_lower_third_btn = new QPushButton(centralWidget);
- show_lower_third_btn->setObjectName(QStringLiteral("show_lower_third_btn"));
-
- horizontalLayout_9->addWidget(show_lower_third_btn);
-
- hide_lower_third_btn = new QPushButton(centralWidget);
- hide_lower_third_btn->setObjectName(QStringLiteral("hide_lower_third_btn"));
-
- horizontalLayout_9->addWidget(hide_lower_third_btn);
-
-
- verticalLayout->addLayout(horizontalLayout_9);
-
-
- verticalLayout_2->addLayout(verticalLayout);
-
- MainWindow->setCentralWidget(centralWidget);
- statusBar = new QStatusBar(MainWindow);
- statusBar->setObjectName(QStringLiteral("statusBar"));
- MainWindow->setStatusBar(statusBar);
-
- retranslateUi(MainWindow);
-
- QMetaObject::connectSlotsByName(MainWindow);
- } // setupUi
-
- void retranslateUi(QMainWindow *MainWindow)
- {
- MainWindow->setWindowTitle(QApplication::translate("MainWindow", "MainWindow", Q_NULLPTR));
- label_11->setText(QApplication::translate("MainWindow", "CasparCG server:", Q_NULLPTR));
- casparcg_host_box->setText(QApplication::translate("MainWindow", "localhost", Q_NULLPTR));
- casparcg_port_box->setText(QApplication::translate("MainWindow", "5250", Q_NULLPTR));
- casparcg_reconnect_btn->setText(QApplication::translate("MainWindow", "Reconnect", Q_NULLPTR));
- casparcg_connected_label->setText(QApplication::translate("MainWindow", "Not connected", Q_NULLPTR));
- goal_2_btn->setText(QApplication::translate("MainWindow", "+1 point", Q_NULLPTR));
- ungoal_2_btn->setText(QApplication::translate("MainWindow", "-1 point", Q_NULLPTR));
- label_6->setText(QApplication::translate("MainWindow", "Score", Q_NULLPTR));
- set_score_btn->setText(QApplication::translate("MainWindow", "Set", Q_NULLPTR));
- label_7->setText(QApplication::translate("MainWindow", "CSS color", Q_NULLPTR));
- initials_1_edit->setText(QApplication::translate("MainWindow", "PCL", Q_NULLPTR));
- goal_1_btn->setText(QApplication::translate("MainWindow", "+1 point", Q_NULLPTR));
- ungoal_1_btn->setText(QApplication::translate("MainWindow", "-1 point", Q_NULLPTR));
- color_1_edit->setText(QApplication::translate("MainWindow", "red", Q_NULLPTR));
- label_4->setText(QApplication::translate("MainWindow", "Team 2", Q_NULLPTR));
- label_3->setText(QApplication::translate("MainWindow", "Team 1", Q_NULLPTR));
- initials_2_edit->setText(QApplication::translate("MainWindow", "TFK", Q_NULLPTR));
- label_5->setText(QApplication::translate("MainWindow", "Initials", Q_NULLPTR));
- set_initials_btn->setText(QApplication::translate("MainWindow", "Set", Q_NULLPTR));
- color_2_edit->setText(QApplication::translate("MainWindow", "yellow", Q_NULLPTR));
- set_color_btn->setText(QApplication::translate("MainWindow", "Set", Q_NULLPTR));
- set_all_scorebug_btn->setText(QApplication::translate("MainWindow", "Set all", Q_NULLPTR));
- label->setText(QApplication::translate("MainWindow", "Set clock to:", Q_NULLPTR));
- label_2->setText(QApplication::translate("MainWindow", ":", Q_NULLPTR));
- set_clock_btn->setText(QApplication::translate("MainWindow", "Set", Q_NULLPTR));
- start_and_show_clock_btn->setText(QApplication::translate("MainWindow", "Start (and show) clock", Q_NULLPTR));
- stop_clock_btn->setText(QApplication::translate("MainWindow", "Stop clock", Q_NULLPTR));
- show_clock_btn->setText(QApplication::translate("MainWindow", "Show clock", Q_NULLPTR));
- hide_clock_btn->setText(QApplication::translate("MainWindow", "Hide clock", Q_NULLPTR));
- label_8->setText(QApplication::translate("MainWindow", "Comment:", Q_NULLPTR));
- comment_edit->setText(QApplication::translate("MainWindow", "Pagacap: First to 9 points", Q_NULLPTR));
- set_comment_btn->setText(QApplication::translate("MainWindow", "Set", Q_NULLPTR));
- set_and_show_comment_btn->setText(QApplication::translate("MainWindow", "Set+show", Q_NULLPTR));
- hide_comment_btn->setText(QApplication::translate("MainWindow", "Hide", Q_NULLPTR));
- label_12->setText(QApplication::translate("MainWindow", "Suggested autocomment if game ends right now:", Q_NULLPTR));
- autocomment_edit->setText(QString());
- set_and_show_autocomment_btn->setText(QApplication::translate("MainWindow", "Set+show", Q_NULLPTR));
- label_9->setText(QApplication::translate("MainWindow", "Lower third heading (HTML allowed):", Q_NULLPTR));
- label_10->setText(QApplication::translate("MainWindow", "Lower third subheading (HTML allowed):", Q_NULLPTR));
- show_lower_third_btn->setText(QApplication::translate("MainWindow", "Set + show lower third", Q_NULLPTR));
- hide_lower_third_btn->setText(QApplication::translate("MainWindow", "Hide lower third", Q_NULLPTR));
- } // retranslateUi
-
-};
-
-namespace Ui {
- class MainWindow: public Ui_MainWindow {};
-} // namespace Ui
-
-QT_END_NAMESPACE
-
-#endif // UI_MAINWINDOW_H