1/********************************************************************************
2** Form generated from reading UI file 'chatsetnickname.ui'
3**
4** Created by: Qt User Interface Compiler version 6.0.0
5**
6** WARNING! All changes made in this file will be lost when recompiling UI file!
7********************************************************************************/
8
9#ifndef UI_CHATSETNICKNAME_H
10#define UI_CHATSETNICKNAME_H
11
12#include <QtCore/QVariant>
13#include <QtWidgets/QApplication>
14#include <QtWidgets/QDialog>
15#include <QtWidgets/QHBoxLayout>
16#include <QtWidgets/QLabel>
17#include <QtWidgets/QLineEdit>
18#include <QtWidgets/QPushButton>
19#include <QtWidgets/QSpacerItem>
20#include <QtWidgets/QVBoxLayout>
21
22QT_BEGIN_NAMESPACE
23
24class Ui_NicknameDialog
25{
26public:
27 QVBoxLayout *vboxLayout;
28 QVBoxLayout *vboxLayout1;
29 QLabel *label;
30 QLineEdit *nickname;
31 QHBoxLayout *hboxLayout;
32 QSpacerItem *spacerItem;
33 QPushButton *okButton;
34 QPushButton *cancelButton;
35 QSpacerItem *spacerItem1;
36
37 void setupUi(QDialog *NicknameDialog)
38 {
39 if (NicknameDialog->objectName().isEmpty())
40 NicknameDialog->setObjectName(QString::fromUtf8("NicknameDialog"));
41 NicknameDialog->resize(396, 105);
42 QSizePolicy sizePolicy(QSizePolicy::Minimum, QSizePolicy::Minimum);
43 sizePolicy.setHorizontalStretch(0);
44 sizePolicy.setVerticalStretch(0);
45 sizePolicy.setHeightForWidth(NicknameDialog->sizePolicy().hasHeightForWidth());
46 NicknameDialog->setSizePolicy(sizePolicy);
47 vboxLayout = new QVBoxLayout(NicknameDialog);
48#ifndef Q_OS_MAC
49 vboxLayout->setSpacing(6);
50#endif
51#ifndef Q_OS_MAC
52 vboxLayout->setContentsMargins(9, 9, 9, 9);
53#endif
54 vboxLayout->setObjectName(QString::fromUtf8("vboxLayout"));
55 vboxLayout1 = new QVBoxLayout();
56#ifndef Q_OS_MAC
57 vboxLayout1->setSpacing(6);
58#endif
59#ifndef Q_OS_MAC
60 vboxLayout1->setContentsMargins(0, 0, 0, 0);
61#endif
62 vboxLayout1->setObjectName(QString::fromUtf8("vboxLayout1"));
63 label = new QLabel(NicknameDialog);
64 label->setObjectName(QString::fromUtf8("label"));
65 sizePolicy.setHeightForWidth(label->sizePolicy().hasHeightForWidth());
66 label->setSizePolicy(sizePolicy);
67
68 vboxLayout1->addWidget(label);
69
70 nickname = new QLineEdit(NicknameDialog);
71 nickname->setObjectName(QString::fromUtf8("nickname"));
72
73 vboxLayout1->addWidget(nickname);
74
75
76 vboxLayout->addLayout(vboxLayout1);
77
78 hboxLayout = new QHBoxLayout();
79#ifndef Q_OS_MAC
80 hboxLayout->setSpacing(6);
81#endif
82 hboxLayout->setContentsMargins(0, 0, 0, 0);
83 hboxLayout->setObjectName(QString::fromUtf8("hboxLayout"));
84 spacerItem = new QSpacerItem(131, 31, QSizePolicy::Expanding, QSizePolicy::Minimum);
85
86 hboxLayout->addItem(spacerItem);
87
88 okButton = new QPushButton(NicknameDialog);
89 okButton->setObjectName(QString::fromUtf8("okButton"));
90
91 hboxLayout->addWidget(okButton);
92
93 cancelButton = new QPushButton(NicknameDialog);
94 cancelButton->setObjectName(QString::fromUtf8("cancelButton"));
95
96 hboxLayout->addWidget(cancelButton);
97
98 spacerItem1 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
99
100 hboxLayout->addItem(spacerItem1);
101
102
103 vboxLayout->addLayout(hboxLayout);
104
105
106 retranslateUi(NicknameDialog);
107 QObject::connect(okButton, &QPushButton::clicked, NicknameDialog, &QDialog::accept);
108 QObject::connect(cancelButton, &QPushButton::clicked, NicknameDialog, &QDialog::reject);
109
110 QMetaObject::connectSlotsByName(NicknameDialog);
111 } // setupUi
112
113 void retranslateUi(QDialog *NicknameDialog)
114 {
115 NicknameDialog->setWindowTitle(QCoreApplication::translate("NicknameDialog", "Set nickname", nullptr));
116 label->setText(QCoreApplication::translate("NicknameDialog", "New nickname:", nullptr));
117 okButton->setText(QCoreApplication::translate("NicknameDialog", "OK", nullptr));
118 cancelButton->setText(QCoreApplication::translate("NicknameDialog", "Cancel", nullptr));
119 } // retranslateUi
120
121};
122
123namespace Ui {
124 class NicknameDialog: public Ui_NicknameDialog {};
125} // namespace Ui
126
127QT_END_NAMESPACE
128
129#endif // UI_CHATSETNICKNAME_H
130