mirror of
https://github.com/crystalidea/qt6windows7.git
synced 2024-12-02 08:33:00 +08:00
130 lines
4.1 KiB
C
130 lines
4.1 KiB
C
|
/********************************************************************************
|
||
|
** Form generated from reading UI file 'chatsetnickname.ui'
|
||
|
**
|
||
|
** Created by: Qt User Interface Compiler version 6.0.0
|
||
|
**
|
||
|
** WARNING! All changes made in this file will be lost when recompiling UI file!
|
||
|
********************************************************************************/
|
||
|
|
||
|
#ifndef CHATSETNICKNAME_H
|
||
|
#define CHATSETNICKNAME_H
|
||
|
|
||
|
#include <QtCore/QVariant>
|
||
|
#include <QtWidgets/QApplication>
|
||
|
#include <QtWidgets/QDialog>
|
||
|
#include <QtWidgets/QHBoxLayout>
|
||
|
#include <QtWidgets/QLabel>
|
||
|
#include <QtWidgets/QLineEdit>
|
||
|
#include <QtWidgets/QPushButton>
|
||
|
#include <QtWidgets/QSpacerItem>
|
||
|
#include <QtWidgets/QVBoxLayout>
|
||
|
|
||
|
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())
|
||
|
NicknameDialog->setObjectName("NicknameDialog");
|
||
|
NicknameDialog->resize(396, 105);
|
||
|
QSizePolicy sizePolicy(QSizePolicy::Minimum, QSizePolicy::Minimum);
|
||
|
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
|
||
|
vboxLayout->setObjectName("vboxLayout");
|
||
|
vboxLayout1 = new QVBoxLayout();
|
||
|
#ifndef Q_OS_MAC
|
||
|
vboxLayout1->setSpacing(6);
|
||
|
#endif
|
||
|
#ifndef Q_OS_MAC
|
||
|
vboxLayout1->setContentsMargins(0, 0, 0, 0);
|
||
|
#endif
|
||
|
vboxLayout1->setObjectName("vboxLayout1");
|
||
|
label = new QLabel(NicknameDialog);
|
||
|
label->setObjectName("label");
|
||
|
sizePolicy.setHeightForWidth(label->sizePolicy().hasHeightForWidth());
|
||
|
label->setSizePolicy(sizePolicy);
|
||
|
|
||
|
vboxLayout1->addWidget(label);
|
||
|
|
||
|
nickname = new QLineEdit(NicknameDialog);
|
||
|
nickname->setObjectName("nickname");
|
||
|
|
||
|
vboxLayout1->addWidget(nickname);
|
||
|
|
||
|
|
||
|
vboxLayout->addLayout(vboxLayout1);
|
||
|
|
||
|
hboxLayout = new QHBoxLayout();
|
||
|
#ifndef Q_OS_MAC
|
||
|
hboxLayout->setSpacing(6);
|
||
|
#endif
|
||
|
hboxLayout->setContentsMargins(0, 0, 0, 0);
|
||
|
hboxLayout->setObjectName("hboxLayout");
|
||
|
spacerItem = new QSpacerItem(131, 31, QSizePolicy::Expanding, QSizePolicy::Minimum);
|
||
|
|
||
|
hboxLayout->addItem(spacerItem);
|
||
|
|
||
|
okButton = new QPushButton(NicknameDialog);
|
||
|
okButton->setObjectName("okButton");
|
||
|
|
||
|
hboxLayout->addWidget(okButton);
|
||
|
|
||
|
cancelButton = new QPushButton(NicknameDialog);
|
||
|
cancelButton->setObjectName("cancelButton");
|
||
|
|
||
|
hboxLayout->addWidget(cancelButton);
|
||
|
|
||
|
spacerItem1 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
|
||
|
|
||
|
hboxLayout->addItem(spacerItem1);
|
||
|
|
||
|
|
||
|
vboxLayout->addLayout(hboxLayout);
|
||
|
|
||
|
|
||
|
retranslateUi(NicknameDialog);
|
||
|
QObject::connect(okButton, &QPushButton::clicked, NicknameDialog, qOverload<>(&QDialog::accept));
|
||
|
QObject::connect(cancelButton, &QPushButton::clicked, NicknameDialog, qOverload<>(&QDialog::reject));
|
||
|
|
||
|
QMetaObject::connectSlotsByName(NicknameDialog);
|
||
|
} // setupUi
|
||
|
|
||
|
void retranslateUi(QDialog *NicknameDialog)
|
||
|
{
|
||
|
NicknameDialog->setWindowTitle(QCoreApplication::translate("NicknameDialog", "Set nickname", nullptr));
|
||
|
label->setText(QCoreApplication::translate("NicknameDialog", "New nickname:", nullptr));
|
||
|
okButton->setText(QCoreApplication::translate("NicknameDialog", "OK", nullptr));
|
||
|
cancelButton->setText(QCoreApplication::translate("NicknameDialog", "Cancel", nullptr));
|
||
|
} // retranslateUi
|
||
|
|
||
|
};
|
||
|
|
||
|
namespace Ui {
|
||
|
class NicknameDialog: public Ui_NicknameDialog {};
|
||
|
} // namespace Ui
|
||
|
|
||
|
QT_END_NAMESPACE
|
||
|
|
||
|
#endif // CHATSETNICKNAME_H
|