|
1 /******************************************************************************** |
|
2 ** Form generated from reading UI file 'qsqlconnectiondialog.ui' |
|
3 ** |
|
4 ** Created: Fri Sep 4 10:17:14 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 QSQLCONNECTIONDIALOG_H |
|
11 #define QSQLCONNECTIONDIALOG_H |
|
12 |
|
13 #include <QtCore/QVariant> |
|
14 #include <QtGui/QAction> |
|
15 #include <QtGui/QApplication> |
|
16 #include <QtGui/QButtonGroup> |
|
17 #include <QtGui/QCheckBox> |
|
18 #include <QtGui/QComboBox> |
|
19 #include <QtGui/QDialog> |
|
20 #include <QtGui/QGridLayout> |
|
21 #include <QtGui/QGroupBox> |
|
22 #include <QtGui/QHBoxLayout> |
|
23 #include <QtGui/QHeaderView> |
|
24 #include <QtGui/QLabel> |
|
25 #include <QtGui/QLineEdit> |
|
26 #include <QtGui/QPushButton> |
|
27 #include <QtGui/QSpacerItem> |
|
28 #include <QtGui/QSpinBox> |
|
29 #include <QtGui/QVBoxLayout> |
|
30 |
|
31 QT_BEGIN_NAMESPACE |
|
32 |
|
33 class Ui_QSqlConnectionDialogUi |
|
34 { |
|
35 public: |
|
36 QVBoxLayout *vboxLayout; |
|
37 QGroupBox *connGroupBox; |
|
38 QGridLayout *gridLayout; |
|
39 QComboBox *comboDriver; |
|
40 QLabel *textLabel4; |
|
41 QLabel *textLabel2; |
|
42 QLineEdit *editDatabase; |
|
43 QSpinBox *portSpinBox; |
|
44 QLabel *textLabel3; |
|
45 QLineEdit *editPassword; |
|
46 QLineEdit *editUsername; |
|
47 QLineEdit *editHostname; |
|
48 QLabel *textLabel5; |
|
49 QLabel *textLabel5_2; |
|
50 QLabel *textLabel4_2; |
|
51 QHBoxLayout *hboxLayout; |
|
52 QSpacerItem *spacerItem; |
|
53 QCheckBox *dbCheckBox; |
|
54 QHBoxLayout *hboxLayout1; |
|
55 QSpacerItem *spacerItem1; |
|
56 QPushButton *okButton; |
|
57 QPushButton *cancelButton; |
|
58 |
|
59 void setupUi(QDialog *QSqlConnectionDialogUi) |
|
60 { |
|
61 if (QSqlConnectionDialogUi->objectName().isEmpty()) |
|
62 QSqlConnectionDialogUi->setObjectName(QString::fromUtf8("QSqlConnectionDialogUi")); |
|
63 QSqlConnectionDialogUi->resize(315, 302); |
|
64 vboxLayout = new QVBoxLayout(QSqlConnectionDialogUi); |
|
65 #ifndef Q_OS_MAC |
|
66 vboxLayout->setSpacing(6); |
|
67 #endif |
|
68 vboxLayout->setContentsMargins(8, 8, 8, 8); |
|
69 vboxLayout->setObjectName(QString::fromUtf8("vboxLayout")); |
|
70 connGroupBox = new QGroupBox(QSqlConnectionDialogUi); |
|
71 connGroupBox->setObjectName(QString::fromUtf8("connGroupBox")); |
|
72 gridLayout = new QGridLayout(connGroupBox); |
|
73 #ifndef Q_OS_MAC |
|
74 gridLayout->setSpacing(6); |
|
75 #endif |
|
76 gridLayout->setContentsMargins(8, 8, 8, 8); |
|
77 gridLayout->setObjectName(QString::fromUtf8("gridLayout")); |
|
78 comboDriver = new QComboBox(connGroupBox); |
|
79 comboDriver->setObjectName(QString::fromUtf8("comboDriver")); |
|
80 |
|
81 gridLayout->addWidget(comboDriver, 0, 1, 1, 1); |
|
82 |
|
83 textLabel4 = new QLabel(connGroupBox); |
|
84 textLabel4->setObjectName(QString::fromUtf8("textLabel4")); |
|
85 |
|
86 gridLayout->addWidget(textLabel4, 2, 0, 1, 1); |
|
87 |
|
88 textLabel2 = new QLabel(connGroupBox); |
|
89 textLabel2->setObjectName(QString::fromUtf8("textLabel2")); |
|
90 |
|
91 gridLayout->addWidget(textLabel2, 0, 0, 1, 1); |
|
92 |
|
93 editDatabase = new QLineEdit(connGroupBox); |
|
94 editDatabase->setObjectName(QString::fromUtf8("editDatabase")); |
|
95 |
|
96 gridLayout->addWidget(editDatabase, 1, 1, 1, 1); |
|
97 |
|
98 portSpinBox = new QSpinBox(connGroupBox); |
|
99 portSpinBox->setObjectName(QString::fromUtf8("portSpinBox")); |
|
100 portSpinBox->setMaximum(65535); |
|
101 portSpinBox->setMinimum(-1); |
|
102 portSpinBox->setValue(-1); |
|
103 |
|
104 gridLayout->addWidget(portSpinBox, 5, 1, 1, 1); |
|
105 |
|
106 textLabel3 = new QLabel(connGroupBox); |
|
107 textLabel3->setObjectName(QString::fromUtf8("textLabel3")); |
|
108 |
|
109 gridLayout->addWidget(textLabel3, 1, 0, 1, 1); |
|
110 |
|
111 editPassword = new QLineEdit(connGroupBox); |
|
112 editPassword->setObjectName(QString::fromUtf8("editPassword")); |
|
113 editPassword->setEchoMode(QLineEdit::Password); |
|
114 |
|
115 gridLayout->addWidget(editPassword, 3, 1, 1, 1); |
|
116 |
|
117 editUsername = new QLineEdit(connGroupBox); |
|
118 editUsername->setObjectName(QString::fromUtf8("editUsername")); |
|
119 |
|
120 gridLayout->addWidget(editUsername, 2, 1, 1, 1); |
|
121 |
|
122 editHostname = new QLineEdit(connGroupBox); |
|
123 editHostname->setObjectName(QString::fromUtf8("editHostname")); |
|
124 |
|
125 gridLayout->addWidget(editHostname, 4, 1, 1, 1); |
|
126 |
|
127 textLabel5 = new QLabel(connGroupBox); |
|
128 textLabel5->setObjectName(QString::fromUtf8("textLabel5")); |
|
129 |
|
130 gridLayout->addWidget(textLabel5, 4, 0, 1, 1); |
|
131 |
|
132 textLabel5_2 = new QLabel(connGroupBox); |
|
133 textLabel5_2->setObjectName(QString::fromUtf8("textLabel5_2")); |
|
134 |
|
135 gridLayout->addWidget(textLabel5_2, 5, 0, 1, 1); |
|
136 |
|
137 textLabel4_2 = new QLabel(connGroupBox); |
|
138 textLabel4_2->setObjectName(QString::fromUtf8("textLabel4_2")); |
|
139 |
|
140 gridLayout->addWidget(textLabel4_2, 3, 0, 1, 1); |
|
141 |
|
142 |
|
143 vboxLayout->addWidget(connGroupBox); |
|
144 |
|
145 hboxLayout = new QHBoxLayout(); |
|
146 #ifndef Q_OS_MAC |
|
147 hboxLayout->setSpacing(6); |
|
148 #endif |
|
149 hboxLayout->setContentsMargins(0, 0, 0, 0); |
|
150 hboxLayout->setObjectName(QString::fromUtf8("hboxLayout")); |
|
151 spacerItem = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); |
|
152 |
|
153 hboxLayout->addItem(spacerItem); |
|
154 |
|
155 dbCheckBox = new QCheckBox(QSqlConnectionDialogUi); |
|
156 dbCheckBox->setObjectName(QString::fromUtf8("dbCheckBox")); |
|
157 |
|
158 hboxLayout->addWidget(dbCheckBox); |
|
159 |
|
160 |
|
161 vboxLayout->addLayout(hboxLayout); |
|
162 |
|
163 hboxLayout1 = new QHBoxLayout(); |
|
164 #ifndef Q_OS_MAC |
|
165 hboxLayout1->setSpacing(6); |
|
166 #endif |
|
167 hboxLayout1->setContentsMargins(0, 0, 0, 0); |
|
168 hboxLayout1->setObjectName(QString::fromUtf8("hboxLayout1")); |
|
169 spacerItem1 = new QSpacerItem(20, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); |
|
170 |
|
171 hboxLayout1->addItem(spacerItem1); |
|
172 |
|
173 okButton = new QPushButton(QSqlConnectionDialogUi); |
|
174 okButton->setObjectName(QString::fromUtf8("okButton")); |
|
175 okButton->setDefault(true); |
|
176 |
|
177 hboxLayout1->addWidget(okButton); |
|
178 |
|
179 cancelButton = new QPushButton(QSqlConnectionDialogUi); |
|
180 cancelButton->setObjectName(QString::fromUtf8("cancelButton")); |
|
181 |
|
182 hboxLayout1->addWidget(cancelButton); |
|
183 |
|
184 |
|
185 vboxLayout->addLayout(hboxLayout1); |
|
186 |
|
187 #ifndef QT_NO_SHORTCUT |
|
188 textLabel4->setBuddy(editUsername); |
|
189 textLabel2->setBuddy(comboDriver); |
|
190 textLabel3->setBuddy(editDatabase); |
|
191 textLabel5->setBuddy(editHostname); |
|
192 textLabel5_2->setBuddy(portSpinBox); |
|
193 textLabel4_2->setBuddy(editPassword); |
|
194 #endif // QT_NO_SHORTCUT |
|
195 QWidget::setTabOrder(comboDriver, editDatabase); |
|
196 QWidget::setTabOrder(editDatabase, editUsername); |
|
197 QWidget::setTabOrder(editUsername, editPassword); |
|
198 QWidget::setTabOrder(editPassword, editHostname); |
|
199 QWidget::setTabOrder(editHostname, portSpinBox); |
|
200 QWidget::setTabOrder(portSpinBox, dbCheckBox); |
|
201 QWidget::setTabOrder(dbCheckBox, okButton); |
|
202 QWidget::setTabOrder(okButton, cancelButton); |
|
203 |
|
204 retranslateUi(QSqlConnectionDialogUi); |
|
205 |
|
206 QMetaObject::connectSlotsByName(QSqlConnectionDialogUi); |
|
207 } // setupUi |
|
208 |
|
209 void retranslateUi(QDialog *QSqlConnectionDialogUi) |
|
210 { |
|
211 QSqlConnectionDialogUi->setWindowTitle(QApplication::translate("QSqlConnectionDialogUi", "Connect...", 0, QApplication::UnicodeUTF8)); |
|
212 connGroupBox->setTitle(QApplication::translate("QSqlConnectionDialogUi", "Connection settings", 0, QApplication::UnicodeUTF8)); |
|
213 textLabel4->setText(QApplication::translate("QSqlConnectionDialogUi", "&Username:", 0, QApplication::UnicodeUTF8)); |
|
214 textLabel2->setText(QApplication::translate("QSqlConnectionDialogUi", "D&river", 0, QApplication::UnicodeUTF8)); |
|
215 portSpinBox->setSpecialValueText(QApplication::translate("QSqlConnectionDialogUi", "Default", 0, QApplication::UnicodeUTF8)); |
|
216 textLabel3->setText(QApplication::translate("QSqlConnectionDialogUi", "Database Name:", 0, QApplication::UnicodeUTF8)); |
|
217 textLabel5->setText(QApplication::translate("QSqlConnectionDialogUi", "&Hostname:", 0, QApplication::UnicodeUTF8)); |
|
218 textLabel5_2->setText(QApplication::translate("QSqlConnectionDialogUi", "P&ort:", 0, QApplication::UnicodeUTF8)); |
|
219 textLabel4_2->setText(QApplication::translate("QSqlConnectionDialogUi", "&Password:", 0, QApplication::UnicodeUTF8)); |
|
220 dbCheckBox->setText(QApplication::translate("QSqlConnectionDialogUi", "Us&e predefined in-memory database", 0, QApplication::UnicodeUTF8)); |
|
221 okButton->setText(QApplication::translate("QSqlConnectionDialogUi", "&OK", 0, QApplication::UnicodeUTF8)); |
|
222 cancelButton->setText(QApplication::translate("QSqlConnectionDialogUi", "&Cancel", 0, QApplication::UnicodeUTF8)); |
|
223 } // retranslateUi |
|
224 |
|
225 }; |
|
226 |
|
227 namespace Ui { |
|
228 class QSqlConnectionDialogUi: public Ui_QSqlConnectionDialogUi {}; |
|
229 } // namespace Ui |
|
230 |
|
231 QT_END_NAMESPACE |
|
232 |
|
233 #endif // QSQLCONNECTIONDIALOG_H |