2011-04-27 10:05:43 +00:00
|
|
|
/********************************************************************************
|
|
|
|
** Form generated from reading UI file 'chatsetnickname.ui'
|
|
|
|
**
|
2012-12-13 12:48:18 +00:00
|
|
|
** Created by: Qt User Interface Compiler version 5.0.0
|
2011-04-27 10:05:43 +00:00
|
|
|
**
|
|
|
|
** WARNING! All changes made in this file will be lost when recompiling UI file!
|
|
|
|
********************************************************************************/
|
|
|
|
|
|
|
|
#ifndef CHATSETNICKNAME_H
|
|
|
|
#define CHATSETNICKNAME_H
|
|
|
|
|
|
|
|
#include <QtCore/QVariant>
|
2011-09-22 13:09:37 +00:00
|
|
|
#include <QtWidgets/QAction>
|
|
|
|
#include <QtWidgets/QApplication>
|
|
|
|
#include <QtWidgets/QButtonGroup>
|
|
|
|
#include <QtWidgets/QDialog>
|
|
|
|
#include <QtWidgets/QHBoxLayout>
|
|
|
|
#include <QtWidgets/QHeaderView>
|
|
|
|
#include <QtWidgets/QLabel>
|
|
|
|
#include <QtWidgets/QLineEdit>
|
|
|
|
#include <QtWidgets/QPushButton>
|
|
|
|
#include <QtWidgets/QSpacerItem>
|
|
|
|
#include <QtWidgets/QVBoxLayout>
|
2011-04-27 10:05:43 +00:00
|
|
|
|
|
|
|
QT_BEGIN_NAMESPACE
|
|
|
|
|
|
|
|
class Ui_NicknameDialog
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
QVBoxLayout *vboxLayout;
|
|
|
|
QVBoxLayout *vboxLayout1;
|
|
|
|
QLabel *label;
|
|
|
|
QLineEdit *nickname;
|
|
|
|
QHBoxLayout *hboxLayout;
|
|
|
|
QSpacerItem *spacerItem;
|
|
|
|
QPushButton *okButton;
|
|
|
|
QPushButton *cancelButton;
|
|
|
|
QSpacerItem *spacerItem1;
|
|
|
|
|
|
|
|
void setupUi(QDialog *NicknameDialog)
|
|
|
|
{
|
|
|
|
if (NicknameDialog->objectName().isEmpty())
|
2011-12-11 15:55:01 +00:00
|
|
|
NicknameDialog->setObjectName(QStringLiteral("NicknameDialog"));
|
2011-04-27 10:05:43 +00:00
|
|
|
NicknameDialog->resize(396, 105);
|
|
|
|
QSizePolicy sizePolicy(static_cast<QSizePolicy::Policy>(1), static_cast<QSizePolicy::Policy>(1));
|
|
|
|
sizePolicy.setHorizontalStretch(0);
|
|
|
|
sizePolicy.setVerticalStretch(0);
|
|
|
|
sizePolicy.setHeightForWidth(NicknameDialog->sizePolicy().hasHeightForWidth());
|
|
|
|
NicknameDialog->setSizePolicy(sizePolicy);
|
|
|
|
vboxLayout = new QVBoxLayout(NicknameDialog);
|
|
|
|
#ifndef Q_OS_MAC
|
|
|
|
vboxLayout->setSpacing(6);
|
|
|
|
#endif
|
|
|
|
#ifndef Q_OS_MAC
|
|
|
|
vboxLayout->setContentsMargins(9, 9, 9, 9);
|
|
|
|
#endif
|
2011-12-11 15:55:01 +00:00
|
|
|
vboxLayout->setObjectName(QStringLiteral("vboxLayout"));
|
2011-04-27 10:05:43 +00:00
|
|
|
vboxLayout1 = new QVBoxLayout();
|
|
|
|
#ifndef Q_OS_MAC
|
|
|
|
vboxLayout1->setSpacing(6);
|
|
|
|
#endif
|
|
|
|
#ifndef Q_OS_MAC
|
|
|
|
vboxLayout1->setContentsMargins(0, 0, 0, 0);
|
|
|
|
#endif
|
2011-12-11 15:55:01 +00:00
|
|
|
vboxLayout1->setObjectName(QStringLiteral("vboxLayout1"));
|
2011-04-27 10:05:43 +00:00
|
|
|
label = new QLabel(NicknameDialog);
|
2011-12-11 15:55:01 +00:00
|
|
|
label->setObjectName(QStringLiteral("label"));
|
2011-04-27 10:05:43 +00:00
|
|
|
sizePolicy.setHeightForWidth(label->sizePolicy().hasHeightForWidth());
|
|
|
|
label->setSizePolicy(sizePolicy);
|
|
|
|
|
|
|
|
vboxLayout1->addWidget(label);
|
|
|
|
|
|
|
|
nickname = new QLineEdit(NicknameDialog);
|
2011-12-11 15:55:01 +00:00
|
|
|
nickname->setObjectName(QStringLiteral("nickname"));
|
2011-04-27 10:05:43 +00:00
|
|
|
|
|
|
|
vboxLayout1->addWidget(nickname);
|
|
|
|
|
|
|
|
|
|
|
|
vboxLayout->addLayout(vboxLayout1);
|
|
|
|
|
|
|
|
hboxLayout = new QHBoxLayout();
|
|
|
|
#ifndef Q_OS_MAC
|
|
|
|
hboxLayout->setSpacing(6);
|
|
|
|
#endif
|
|
|
|
hboxLayout->setContentsMargins(0, 0, 0, 0);
|
2011-12-11 15:55:01 +00:00
|
|
|
hboxLayout->setObjectName(QStringLiteral("hboxLayout"));
|
2011-04-27 10:05:43 +00:00
|
|
|
spacerItem = new QSpacerItem(131, 31, QSizePolicy::Expanding, QSizePolicy::Minimum);
|
|
|
|
|
|
|
|
hboxLayout->addItem(spacerItem);
|
|
|
|
|
|
|
|
okButton = new QPushButton(NicknameDialog);
|
2011-12-11 15:55:01 +00:00
|
|
|
okButton->setObjectName(QStringLiteral("okButton"));
|
2011-04-27 10:05:43 +00:00
|
|
|
|
|
|
|
hboxLayout->addWidget(okButton);
|
|
|
|
|
|
|
|
cancelButton = new QPushButton(NicknameDialog);
|
2011-12-11 15:55:01 +00:00
|
|
|
cancelButton->setObjectName(QStringLiteral("cancelButton"));
|
2011-04-27 10:05:43 +00:00
|
|
|
|
|
|
|
hboxLayout->addWidget(cancelButton);
|
|
|
|
|
|
|
|
spacerItem1 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
|
|
|
|
|
|
|
|
hboxLayout->addItem(spacerItem1);
|
|
|
|
|
|
|
|
|
|
|
|
vboxLayout->addLayout(hboxLayout);
|
|
|
|
|
|
|
|
|
|
|
|
retranslateUi(NicknameDialog);
|
|
|
|
QObject::connect(okButton, SIGNAL(clicked()), NicknameDialog, SLOT(accept()));
|
|
|
|
QObject::connect(cancelButton, SIGNAL(clicked()), NicknameDialog, SLOT(reject()));
|
|
|
|
|
|
|
|
QMetaObject::connectSlotsByName(NicknameDialog);
|
|
|
|
} // setupUi
|
|
|
|
|
|
|
|
void retranslateUi(QDialog *NicknameDialog)
|
|
|
|
{
|
2012-05-17 00:37:23 +00:00
|
|
|
NicknameDialog->setWindowTitle(QApplication::translate("NicknameDialog", "Set nickname", 0));
|
|
|
|
label->setText(QApplication::translate("NicknameDialog", "New nickname:", 0));
|
|
|
|
okButton->setText(QApplication::translate("NicknameDialog", "OK", 0));
|
|
|
|
cancelButton->setText(QApplication::translate("NicknameDialog", "Cancel", 0));
|
2011-04-27 10:05:43 +00:00
|
|
|
} // retranslateUi
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
namespace Ui {
|
|
|
|
class NicknameDialog: public Ui_NicknameDialog {};
|
|
|
|
} // namespace Ui
|
|
|
|
|
|
|
|
QT_END_NAMESPACE
|
|
|
|
|
|
|
|
#endif // CHATSETNICKNAME_H
|