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