|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
/********************************************************************************
** Form generated from reading UI file 'loginscreen.ui'
**
** Created by: Qt User Interface Compiler version 5.0.2
**
** WARNING! All changes made in this file will be lost when recompiling UI file!
********************************************************************************/
#ifndef UI_LOGINSCREEN_H
#define UI_LOGINSCREEN_H
#include <QtCore/QVariant>
#include <QtWidgets/QAction>
#include <QtWidgets/QApplication>
#include <QtWidgets/QButtonGroup>
#include <QtWidgets/QDialog>
#include <QtWidgets/QGridLayout>
#include <QtWidgets/QHeaderView>
#include <QtWidgets/QLabel>
#include <QtWidgets/QLineEdit>
#include <QtWidgets/QPushButton>
#include <QtWidgets/QSpacerItem>
#include <QtWidgets/QWidget>
QT_BEGIN_NAMESPACE
class Ui_LoginScreen
{
public:
QGridLayout *gridLayout;
QLabel *titleLabel;
QWidget *buttonBox;
QGridLayout *gridLayout_2;
QPushButton *cancelButton;
QPushButton *connectButton;
QSpacerItem *buttonHorizSpacer;
|
|
37
38
|
QSpacerItem *verticalSpacer;
QSpacerItem *topSpacer;
|
|
39
|
QSpacerItem *leftSpacer;
|
|
40
41
42
|
QLineEdit *nickEdit;
QLineEdit *serverURLEdit;
QSpacerItem *rightSpacer;
|
|
43
44
45
46
47
|
void setupUi(QDialog *LoginScreen)
{
if (LoginScreen->objectName().isEmpty())
LoginScreen->setObjectName(QStringLiteral("LoginScreen"));
|
|
48
49
50
51
52
53
|
LoginScreen->resize(402, 173);
QSizePolicy sizePolicy(QSizePolicy::Fixed, QSizePolicy::Fixed);
sizePolicy.setHorizontalStretch(0);
sizePolicy.setVerticalStretch(0);
sizePolicy.setHeightForWidth(LoginScreen->sizePolicy().hasHeightForWidth());
LoginScreen->setSizePolicy(sizePolicy);
|
|
54
55
56
57
|
gridLayout = new QGridLayout(LoginScreen);
gridLayout->setObjectName(QStringLiteral("gridLayout"));
titleLabel = new QLabel(LoginScreen);
titleLabel->setObjectName(QStringLiteral("titleLabel"));
|
|
58
59
60
61
62
|
QSizePolicy sizePolicy1(QSizePolicy::Preferred, QSizePolicy::Maximum);
sizePolicy1.setHorizontalStretch(0);
sizePolicy1.setVerticalStretch(0);
sizePolicy1.setHeightForWidth(titleLabel->sizePolicy().hasHeightForWidth());
titleLabel->setSizePolicy(sizePolicy1);
|
|
63
64
65
66
67
68
|
titleLabel->setMaximumSize(QSize(16777215, 20));
gridLayout->addWidget(titleLabel, 1, 1, 1, 1);
buttonBox = new QWidget(LoginScreen);
buttonBox->setObjectName(QStringLiteral("buttonBox"));
|
|
69
70
|
sizePolicy1.setHeightForWidth(buttonBox->sizePolicy().hasHeightForWidth());
buttonBox->setSizePolicy(sizePolicy1);
|
|
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
|
gridLayout_2 = new QGridLayout(buttonBox);
gridLayout_2->setObjectName(QStringLiteral("gridLayout_2"));
cancelButton = new QPushButton(buttonBox);
cancelButton->setObjectName(QStringLiteral("cancelButton"));
gridLayout_2->addWidget(cancelButton, 0, 2, 1, 1);
connectButton = new QPushButton(buttonBox);
connectButton->setObjectName(QStringLiteral("connectButton"));
gridLayout_2->addWidget(connectButton, 0, 1, 1, 1);
buttonHorizSpacer = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
gridLayout_2->addItem(buttonHorizSpacer, 0, 0, 1, 1);
|
|
88
89
90
91
92
93
94
95
96
|
gridLayout->addWidget(buttonBox, 7, 1, 1, 1);
verticalSpacer = new QSpacerItem(20, 10, QSizePolicy::Minimum, QSizePolicy::Fixed);
gridLayout->addItem(verticalSpacer, 2, 1, 1, 1);
topSpacer = new QSpacerItem(20, 5, QSizePolicy::Minimum, QSizePolicy::Fixed);
gridLayout->addItem(topSpacer, 0, 1, 1, 1);
|
|
97
98
99
100
101
|
leftSpacer = new QSpacerItem(10, 20, QSizePolicy::Minimum, QSizePolicy::Minimum);
gridLayout->addItem(leftSpacer, 3, 0, 1, 1);
|
|
102
103
|
nickEdit = new QLineEdit(LoginScreen);
nickEdit->setObjectName(QStringLiteral("nickEdit"));
|
|
104
|
|
|
105
|
gridLayout->addWidget(nickEdit, 3, 1, 1, 1);
|
|
106
|
|
|
107
108
|
serverURLEdit = new QLineEdit(LoginScreen);
serverURLEdit->setObjectName(QStringLiteral("serverURLEdit"));
|
|
109
|
|
|
110
111
112
113
114
|
gridLayout->addWidget(serverURLEdit, 4, 1, 1, 1);
rightSpacer = new QSpacerItem(10, 20, QSizePolicy::Minimum, QSizePolicy::Minimum);
gridLayout->addItem(rightSpacer, 4, 2, 1, 1);
|
|
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
|
retranslateUi(LoginScreen);
QMetaObject::connectSlotsByName(LoginScreen);
} // setupUi
void retranslateUi(QDialog *LoginScreen)
{
LoginScreen->setWindowTitle(QApplication::translate("LoginScreen", "Login", 0));
titleLabel->setText(QApplication::translate("LoginScreen", "Log in to chatroom", 0));
cancelButton->setText(QApplication::translate("LoginScreen", "Cancel", 0));
connectButton->setText(QApplication::translate("LoginScreen", "OK", 0));
} // retranslateUi
};
namespace Ui {
class LoginScreen: public Ui_LoginScreen {};
} // namespace Ui
QT_END_NAMESPACE
#endif // UI_LOGINSCREEN_H
|