293 lines
14 KiB
C++
293 lines
14 KiB
C++
/********************************************************************************
|
|
** Form generated from reading UI file 'mainwindow.ui'
|
|
**
|
|
** Created by: Qt User Interface Compiler version 5.12.4
|
|
**
|
|
** 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/QDialogButtonBox>
|
|
#include <QtWidgets/QGroupBox>
|
|
#include <QtWidgets/QLabel>
|
|
#include <QtWidgets/QLineEdit>
|
|
#include <QtWidgets/QMainWindow>
|
|
#include <QtWidgets/QMenu>
|
|
#include <QtWidgets/QMenuBar>
|
|
#include <QtWidgets/QPushButton>
|
|
#include <QtWidgets/QRadioButton>
|
|
#include <QtWidgets/QWidget>
|
|
|
|
QT_BEGIN_NAMESPACE
|
|
|
|
class Ui_MainWindow
|
|
{
|
|
public:
|
|
QAction *actionProgramierer_und_Designer;
|
|
QAction *actionMarkus;
|
|
QWidget *centralWidget;
|
|
QGroupBox *groupBox;
|
|
QPushButton *field_9;
|
|
QPushButton *field_8;
|
|
QPushButton *field_2;
|
|
QPushButton *field_6;
|
|
QPushButton *field_5;
|
|
QPushButton *field_1;
|
|
QPushButton *field_7;
|
|
QPushButton *field_4;
|
|
QPushButton *field_3;
|
|
QPushButton *Connect_to_Server;
|
|
QLineEdit *InfoBox_1;
|
|
QLineEdit *InfoBox_2;
|
|
QLineEdit *nameLine;
|
|
QLineEdit *lineEditGewoneneSpiele;
|
|
QLabel *label;
|
|
QLabel *label_2;
|
|
QLineEdit *lineEditVerloreneSpiele;
|
|
QLineEdit *lineEditUnentschiedeneSpiele;
|
|
QLabel *label_3;
|
|
QLineEdit *proxyIp;
|
|
QLabel *label_4;
|
|
QLabel *label_5;
|
|
QLineEdit *lineEditGenerName;
|
|
QLabel *label_6;
|
|
QDialogButtonBox *replayButton;
|
|
QLineEdit *ProxyPort;
|
|
QRadioButton *proxyVerwenden;
|
|
QLabel *neuesSpielLable;
|
|
QPushButton *pushButtonVerbingTrennen;
|
|
QLineEdit *serverIp;
|
|
QLineEdit *serverPort;
|
|
QLabel *label_7;
|
|
QRadioButton *serverVerwenden;
|
|
QMenuBar *menuBar;
|
|
QMenu *menuInfo;
|
|
|
|
void setupUi(QMainWindow *MainWindow)
|
|
{
|
|
if (MainWindow->objectName().isEmpty())
|
|
MainWindow->setObjectName(QString::fromUtf8("MainWindow"));
|
|
MainWindow->resize(545, 416);
|
|
MainWindow->setMinimumSize(QSize(545, 416));
|
|
MainWindow->setMaximumSize(QSize(545, 416));
|
|
actionProgramierer_und_Designer = new QAction(MainWindow);
|
|
actionProgramierer_und_Designer->setObjectName(QString::fromUtf8("actionProgramierer_und_Designer"));
|
|
actionMarkus = new QAction(MainWindow);
|
|
actionMarkus->setObjectName(QString::fromUtf8("actionMarkus"));
|
|
centralWidget = new QWidget(MainWindow);
|
|
centralWidget->setObjectName(QString::fromUtf8("centralWidget"));
|
|
groupBox = new QGroupBox(centralWidget);
|
|
groupBox->setObjectName(QString::fromUtf8("groupBox"));
|
|
groupBox->setGeometry(QRect(160, 80, 221, 241));
|
|
field_9 = new QPushButton(groupBox);
|
|
field_9->setObjectName(QString::fromUtf8("field_9"));
|
|
field_9->setGeometry(QRect(150, 170, 61, 61));
|
|
QFont font;
|
|
font.setPointSize(20);
|
|
font.setBold(false);
|
|
font.setItalic(false);
|
|
font.setUnderline(false);
|
|
font.setWeight(50);
|
|
font.setStrikeOut(false);
|
|
font.setKerning(true);
|
|
field_9->setFont(font);
|
|
field_8 = new QPushButton(groupBox);
|
|
field_8->setObjectName(QString::fromUtf8("field_8"));
|
|
field_8->setGeometry(QRect(80, 170, 61, 61));
|
|
field_8->setFont(font);
|
|
field_2 = new QPushButton(groupBox);
|
|
field_2->setObjectName(QString::fromUtf8("field_2"));
|
|
field_2->setGeometry(QRect(80, 30, 61, 61));
|
|
field_2->setFont(font);
|
|
field_6 = new QPushButton(groupBox);
|
|
field_6->setObjectName(QString::fromUtf8("field_6"));
|
|
field_6->setGeometry(QRect(150, 100, 61, 61));
|
|
field_6->setFont(font);
|
|
field_5 = new QPushButton(groupBox);
|
|
field_5->setObjectName(QString::fromUtf8("field_5"));
|
|
field_5->setGeometry(QRect(80, 100, 61, 61));
|
|
field_5->setFont(font);
|
|
field_1 = new QPushButton(groupBox);
|
|
field_1->setObjectName(QString::fromUtf8("field_1"));
|
|
field_1->setGeometry(QRect(10, 30, 61, 61));
|
|
field_1->setFont(font);
|
|
field_7 = new QPushButton(groupBox);
|
|
field_7->setObjectName(QString::fromUtf8("field_7"));
|
|
field_7->setGeometry(QRect(10, 170, 61, 61));
|
|
field_7->setFont(font);
|
|
field_4 = new QPushButton(groupBox);
|
|
field_4->setObjectName(QString::fromUtf8("field_4"));
|
|
field_4->setGeometry(QRect(10, 100, 61, 61));
|
|
field_4->setFont(font);
|
|
field_3 = new QPushButton(groupBox);
|
|
field_3->setObjectName(QString::fromUtf8("field_3"));
|
|
field_3->setGeometry(QRect(150, 30, 61, 61));
|
|
field_3->setFont(font);
|
|
Connect_to_Server = new QPushButton(centralWidget);
|
|
Connect_to_Server->setObjectName(QString::fromUtf8("Connect_to_Server"));
|
|
Connect_to_Server->setGeometry(QRect(180, 330, 181, 41));
|
|
InfoBox_1 = new QLineEdit(centralWidget);
|
|
InfoBox_1->setObjectName(QString::fromUtf8("InfoBox_1"));
|
|
InfoBox_1->setGeometry(QRect(50, 20, 451, 27));
|
|
InfoBox_1->setAlignment(Qt::AlignCenter);
|
|
InfoBox_1->setReadOnly(true);
|
|
InfoBox_2 = new QLineEdit(centralWidget);
|
|
InfoBox_2->setObjectName(QString::fromUtf8("InfoBox_2"));
|
|
InfoBox_2->setGeometry(QRect(50, 60, 451, 27));
|
|
InfoBox_2->setAlignment(Qt::AlignCenter);
|
|
InfoBox_2->setReadOnly(true);
|
|
nameLine = new QLineEdit(centralWidget);
|
|
nameLine->setObjectName(QString::fromUtf8("nameLine"));
|
|
nameLine->setGeometry(QRect(400, 130, 121, 27));
|
|
nameLine->setAlignment(Qt::AlignCenter);
|
|
lineEditGewoneneSpiele = new QLineEdit(centralWidget);
|
|
lineEditGewoneneSpiele->setObjectName(QString::fromUtf8("lineEditGewoneneSpiele"));
|
|
lineEditGewoneneSpiele->setEnabled(false);
|
|
lineEditGewoneneSpiele->setGeometry(QRect(20, 130, 61, 31));
|
|
lineEditGewoneneSpiele->setAlignment(Qt::AlignCenter);
|
|
lineEditGewoneneSpiele->setReadOnly(true);
|
|
label = new QLabel(centralWidget);
|
|
label->setObjectName(QString::fromUtf8("label"));
|
|
label->setGeometry(QRect(20, 110, 131, 17));
|
|
label_2 = new QLabel(centralWidget);
|
|
label_2->setObjectName(QString::fromUtf8("label_2"));
|
|
label_2->setGeometry(QRect(20, 170, 111, 17));
|
|
lineEditVerloreneSpiele = new QLineEdit(centralWidget);
|
|
lineEditVerloreneSpiele->setObjectName(QString::fromUtf8("lineEditVerloreneSpiele"));
|
|
lineEditVerloreneSpiele->setEnabled(false);
|
|
lineEditVerloreneSpiele->setGeometry(QRect(20, 190, 61, 27));
|
|
lineEditVerloreneSpiele->setAlignment(Qt::AlignCenter);
|
|
lineEditVerloreneSpiele->setReadOnly(true);
|
|
lineEditUnentschiedeneSpiele = new QLineEdit(centralWidget);
|
|
lineEditUnentschiedeneSpiele->setObjectName(QString::fromUtf8("lineEditUnentschiedeneSpiele"));
|
|
lineEditUnentschiedeneSpiele->setEnabled(false);
|
|
lineEditUnentschiedeneSpiele->setGeometry(QRect(20, 250, 61, 27));
|
|
lineEditUnentschiedeneSpiele->setAlignment(Qt::AlignCenter);
|
|
lineEditUnentschiedeneSpiele->setReadOnly(true);
|
|
label_3 = new QLabel(centralWidget);
|
|
label_3->setObjectName(QString::fromUtf8("label_3"));
|
|
label_3->setGeometry(QRect(20, 230, 111, 17));
|
|
proxyIp = new QLineEdit(centralWidget);
|
|
proxyIp->setObjectName(QString::fromUtf8("proxyIp"));
|
|
proxyIp->setEnabled(false);
|
|
proxyIp->setGeometry(QRect(400, 300, 71, 27));
|
|
label_4 = new QLabel(centralWidget);
|
|
label_4->setObjectName(QString::fromUtf8("label_4"));
|
|
label_4->setGeometry(QRect(400, 110, 111, 20));
|
|
label_5 = new QLabel(centralWidget);
|
|
label_5->setObjectName(QString::fromUtf8("label_5"));
|
|
label_5->setGeometry(QRect(400, 280, 101, 20));
|
|
lineEditGenerName = new QLineEdit(centralWidget);
|
|
lineEditGenerName->setObjectName(QString::fromUtf8("lineEditGenerName"));
|
|
lineEditGenerName->setEnabled(false);
|
|
lineEditGenerName->setGeometry(QRect(400, 190, 121, 27));
|
|
lineEditGenerName->setAlignment(Qt::AlignCenter);
|
|
lineEditGenerName->setReadOnly(true);
|
|
label_6 = new QLabel(centralWidget);
|
|
label_6->setObjectName(QString::fromUtf8("label_6"));
|
|
label_6->setGeometry(QRect(400, 170, 121, 20));
|
|
replayButton = new QDialogButtonBox(centralWidget);
|
|
replayButton->setObjectName(QString::fromUtf8("replayButton"));
|
|
replayButton->setGeometry(QRect(190, 350, 171, 31));
|
|
replayButton->setStandardButtons(QDialogButtonBox::No|QDialogButtonBox::Yes);
|
|
replayButton->setCenterButtons(false);
|
|
ProxyPort = new QLineEdit(centralWidget);
|
|
ProxyPort->setObjectName(QString::fromUtf8("ProxyPort"));
|
|
ProxyPort->setEnabled(false);
|
|
ProxyPort->setGeometry(QRect(480, 300, 51, 27));
|
|
proxyVerwenden = new QRadioButton(centralWidget);
|
|
proxyVerwenden->setObjectName(QString::fromUtf8("proxyVerwenden"));
|
|
proxyVerwenden->setGeometry(QRect(400, 330, 151, 22));
|
|
neuesSpielLable = new QLabel(centralWidget);
|
|
neuesSpielLable->setObjectName(QString::fromUtf8("neuesSpielLable"));
|
|
neuesSpielLable->setGeometry(QRect(230, 310, 101, 41));
|
|
pushButtonVerbingTrennen = new QPushButton(centralWidget);
|
|
pushButtonVerbingTrennen->setObjectName(QString::fromUtf8("pushButtonVerbingTrennen"));
|
|
pushButtonVerbingTrennen->setGeometry(QRect(180, 330, 181, 27));
|
|
serverIp = new QLineEdit(centralWidget);
|
|
serverIp->setObjectName(QString::fromUtf8("serverIp"));
|
|
serverIp->setEnabled(false);
|
|
serverIp->setGeometry(QRect(20, 300, 71, 27));
|
|
serverIp->setReadOnly(false);
|
|
serverPort = new QLineEdit(centralWidget);
|
|
serverPort->setObjectName(QString::fromUtf8("serverPort"));
|
|
serverPort->setEnabled(false);
|
|
serverPort->setGeometry(QRect(100, 300, 51, 27));
|
|
label_7 = new QLabel(centralWidget);
|
|
label_7->setObjectName(QString::fromUtf8("label_7"));
|
|
label_7->setGeometry(QRect(20, 280, 121, 17));
|
|
serverVerwenden = new QRadioButton(centralWidget);
|
|
serverVerwenden->setObjectName(QString::fromUtf8("serverVerwenden"));
|
|
serverVerwenden->setGeometry(QRect(20, 330, 141, 22));
|
|
serverVerwenden->setAutoExclusive(false);
|
|
MainWindow->setCentralWidget(centralWidget);
|
|
menuBar = new QMenuBar(MainWindow);
|
|
menuBar->setObjectName(QString::fromUtf8("menuBar"));
|
|
menuBar->setGeometry(QRect(0, 0, 545, 25));
|
|
menuInfo = new QMenu(menuBar);
|
|
menuInfo->setObjectName(QString::fromUtf8("menuInfo"));
|
|
MainWindow->setMenuBar(menuBar);
|
|
|
|
menuBar->addAction(menuInfo->menuAction());
|
|
menuInfo->addAction(actionProgramierer_und_Designer);
|
|
menuInfo->addAction(actionMarkus);
|
|
|
|
retranslateUi(MainWindow);
|
|
|
|
QMetaObject::connectSlotsByName(MainWindow);
|
|
} // setupUi
|
|
|
|
void retranslateUi(QMainWindow *MainWindow)
|
|
{
|
|
MainWindow->setWindowTitle(QApplication::translate("MainWindow", "TicTacToe Multiplayer", nullptr));
|
|
actionProgramierer_und_Designer->setText(QApplication::translate("MainWindow", "Programierer und Designer:", nullptr));
|
|
actionMarkus->setText(QApplication::translate("MainWindow", "Markus", nullptr));
|
|
groupBox->setTitle(QString());
|
|
field_9->setText(QString());
|
|
field_8->setText(QString());
|
|
field_2->setText(QString());
|
|
field_6->setText(QString());
|
|
field_5->setText(QString());
|
|
field_1->setText(QString());
|
|
field_7->setText(QString());
|
|
field_4->setText(QString());
|
|
field_3->setText(QString());
|
|
Connect_to_Server->setText(QApplication::translate("MainWindow", "Verbinde mit Server", nullptr));
|
|
nameLine->setText(QString());
|
|
nameLine->setPlaceholderText(QApplication::translate("MainWindow", "Dein Name", nullptr));
|
|
lineEditGewoneneSpiele->setText(QApplication::translate("MainWindow", "0", nullptr));
|
|
label->setText(QApplication::translate("MainWindow", "Gewonnene Spiele:", nullptr));
|
|
label_2->setText(QApplication::translate("MainWindow", "Verlorene Spiele", nullptr));
|
|
lineEditVerloreneSpiele->setText(QApplication::translate("MainWindow", "0", nullptr));
|
|
lineEditUnentschiedeneSpiele->setText(QApplication::translate("MainWindow", "0", nullptr));
|
|
label_3->setText(QApplication::translate("MainWindow", "Unentschieden:", nullptr));
|
|
proxyIp->setPlaceholderText(QApplication::translate("MainWindow", "127.0.0.1", nullptr));
|
|
label_4->setText(QApplication::translate("MainWindow", "Name:", nullptr));
|
|
label_5->setText(QApplication::translate("MainWindow", "Socks4 Proxy:", nullptr));
|
|
label_6->setText(QApplication::translate("MainWindow", "Du spielst gegen:", nullptr));
|
|
ProxyPort->setPlaceholderText(QApplication::translate("MainWindow", "9150", nullptr));
|
|
proxyVerwenden->setText(QApplication::translate("MainWindow", "Proxy verwenden", nullptr));
|
|
neuesSpielLable->setText(QApplication::translate("MainWindow", "Neues Spiel ?", nullptr));
|
|
pushButtonVerbingTrennen->setText(QApplication::translate("MainWindow", "Verbindung trennen", nullptr));
|
|
serverIp->setPlaceholderText(QApplication::translate("MainWindow", "127.0.0.1", nullptr));
|
|
serverPort->setPlaceholderText(QApplication::translate("MainWindow", "30356", nullptr));
|
|
label_7->setText(QApplication::translate("MainWindow", "Server Addresse:", nullptr));
|
|
serverVerwenden->setText(QApplication::translate("MainWindow", "Eigener Server", nullptr));
|
|
menuInfo->setTitle(QApplication::translate("MainWindow", "Info", nullptr));
|
|
} // retranslateUi
|
|
|
|
};
|
|
|
|
namespace Ui {
|
|
class MainWindow: public Ui_MainWindow {};
|
|
} // namespace Ui
|
|
|
|
QT_END_NAMESPACE
|
|
|
|
#endif // UI_MAINWINDOW_H
|