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