2011-04-27 10:05:43 +00:00
|
|
|
/********************************************************************************
|
|
|
|
** Form generated from reading UI file 'qsqlconnectiondialog.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 QSQLCONNECTIONDIALOG_H
|
|
|
|
#define QSQLCONNECTIONDIALOG_H
|
|
|
|
|
|
|
|
#include <QtCore/QVariant>
|
2011-09-22 13:09:37 +00:00
|
|
|
#include <QtWidgets/QAction>
|
|
|
|
#include <QtWidgets/QApplication>
|
|
|
|
#include <QtWidgets/QButtonGroup>
|
|
|
|
#include <QtWidgets/QCheckBox>
|
|
|
|
#include <QtWidgets/QComboBox>
|
|
|
|
#include <QtWidgets/QDialog>
|
|
|
|
#include <QtWidgets/QGridLayout>
|
|
|
|
#include <QtWidgets/QGroupBox>
|
|
|
|
#include <QtWidgets/QHBoxLayout>
|
|
|
|
#include <QtWidgets/QLabel>
|
|
|
|
#include <QtWidgets/QLineEdit>
|
|
|
|
#include <QtWidgets/QPushButton>
|
|
|
|
#include <QtWidgets/QSpacerItem>
|
|
|
|
#include <QtWidgets/QSpinBox>
|
|
|
|
#include <QtWidgets/QVBoxLayout>
|
2011-04-27 10:05:43 +00:00
|
|
|
|
|
|
|
QT_BEGIN_NAMESPACE
|
|
|
|
|
|
|
|
class Ui_QSqlConnectionDialogUi
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
QVBoxLayout *vboxLayout;
|
|
|
|
QGroupBox *connGroupBox;
|
|
|
|
QGridLayout *gridLayout;
|
|
|
|
QComboBox *comboDriver;
|
|
|
|
QLabel *textLabel4;
|
|
|
|
QLabel *textLabel2;
|
|
|
|
QLineEdit *editDatabase;
|
|
|
|
QSpinBox *portSpinBox;
|
|
|
|
QLabel *textLabel3;
|
|
|
|
QLineEdit *editPassword;
|
|
|
|
QLineEdit *editUsername;
|
|
|
|
QLineEdit *editHostname;
|
|
|
|
QLabel *textLabel5;
|
|
|
|
QLabel *textLabel5_2;
|
|
|
|
QLabel *textLabel4_2;
|
|
|
|
QHBoxLayout *hboxLayout;
|
|
|
|
QSpacerItem *spacerItem;
|
|
|
|
QCheckBox *dbCheckBox;
|
|
|
|
QHBoxLayout *hboxLayout1;
|
|
|
|
QSpacerItem *spacerItem1;
|
|
|
|
QPushButton *okButton;
|
|
|
|
QPushButton *cancelButton;
|
|
|
|
|
|
|
|
void setupUi(QDialog *QSqlConnectionDialogUi)
|
|
|
|
{
|
|
|
|
if (QSqlConnectionDialogUi->objectName().isEmpty())
|
2011-12-11 15:55:01 +00:00
|
|
|
QSqlConnectionDialogUi->setObjectName(QStringLiteral("QSqlConnectionDialogUi"));
|
2011-04-27 10:05:43 +00:00
|
|
|
QSqlConnectionDialogUi->resize(315, 302);
|
|
|
|
vboxLayout = new QVBoxLayout(QSqlConnectionDialogUi);
|
|
|
|
#ifndef Q_OS_MAC
|
|
|
|
vboxLayout->setSpacing(6);
|
|
|
|
#endif
|
|
|
|
vboxLayout->setContentsMargins(8, 8, 8, 8);
|
2011-12-11 15:55:01 +00:00
|
|
|
vboxLayout->setObjectName(QStringLiteral("vboxLayout"));
|
2011-04-27 10:05:43 +00:00
|
|
|
connGroupBox = new QGroupBox(QSqlConnectionDialogUi);
|
2011-12-11 15:55:01 +00:00
|
|
|
connGroupBox->setObjectName(QStringLiteral("connGroupBox"));
|
2011-04-27 10:05:43 +00:00
|
|
|
gridLayout = new QGridLayout(connGroupBox);
|
|
|
|
#ifndef Q_OS_MAC
|
|
|
|
gridLayout->setSpacing(6);
|
|
|
|
#endif
|
|
|
|
gridLayout->setContentsMargins(8, 8, 8, 8);
|
2011-12-11 15:55:01 +00:00
|
|
|
gridLayout->setObjectName(QStringLiteral("gridLayout"));
|
2011-04-27 10:05:43 +00:00
|
|
|
comboDriver = new QComboBox(connGroupBox);
|
2011-12-11 15:55:01 +00:00
|
|
|
comboDriver->setObjectName(QStringLiteral("comboDriver"));
|
2011-04-27 10:05:43 +00:00
|
|
|
|
|
|
|
gridLayout->addWidget(comboDriver, 0, 1, 1, 1);
|
|
|
|
|
|
|
|
textLabel4 = new QLabel(connGroupBox);
|
2011-12-11 15:55:01 +00:00
|
|
|
textLabel4->setObjectName(QStringLiteral("textLabel4"));
|
2011-04-27 10:05:43 +00:00
|
|
|
|
|
|
|
gridLayout->addWidget(textLabel4, 2, 0, 1, 1);
|
|
|
|
|
|
|
|
textLabel2 = new QLabel(connGroupBox);
|
2011-12-11 15:55:01 +00:00
|
|
|
textLabel2->setObjectName(QStringLiteral("textLabel2"));
|
2011-04-27 10:05:43 +00:00
|
|
|
|
|
|
|
gridLayout->addWidget(textLabel2, 0, 0, 1, 1);
|
|
|
|
|
|
|
|
editDatabase = new QLineEdit(connGroupBox);
|
2011-12-11 15:55:01 +00:00
|
|
|
editDatabase->setObjectName(QStringLiteral("editDatabase"));
|
2011-04-27 10:05:43 +00:00
|
|
|
|
|
|
|
gridLayout->addWidget(editDatabase, 1, 1, 1, 1);
|
|
|
|
|
|
|
|
portSpinBox = new QSpinBox(connGroupBox);
|
2011-12-11 15:55:01 +00:00
|
|
|
portSpinBox->setObjectName(QStringLiteral("portSpinBox"));
|
2011-04-27 10:05:43 +00:00
|
|
|
portSpinBox->setMaximum(65535);
|
|
|
|
portSpinBox->setMinimum(-1);
|
|
|
|
portSpinBox->setValue(-1);
|
|
|
|
|
|
|
|
gridLayout->addWidget(portSpinBox, 5, 1, 1, 1);
|
|
|
|
|
|
|
|
textLabel3 = new QLabel(connGroupBox);
|
2011-12-11 15:55:01 +00:00
|
|
|
textLabel3->setObjectName(QStringLiteral("textLabel3"));
|
2011-04-27 10:05:43 +00:00
|
|
|
|
|
|
|
gridLayout->addWidget(textLabel3, 1, 0, 1, 1);
|
|
|
|
|
|
|
|
editPassword = new QLineEdit(connGroupBox);
|
2011-12-11 15:55:01 +00:00
|
|
|
editPassword->setObjectName(QStringLiteral("editPassword"));
|
2011-04-27 10:05:43 +00:00
|
|
|
editPassword->setEchoMode(QLineEdit::Password);
|
|
|
|
|
|
|
|
gridLayout->addWidget(editPassword, 3, 1, 1, 1);
|
|
|
|
|
|
|
|
editUsername = new QLineEdit(connGroupBox);
|
2011-12-11 15:55:01 +00:00
|
|
|
editUsername->setObjectName(QStringLiteral("editUsername"));
|
2011-04-27 10:05:43 +00:00
|
|
|
|
|
|
|
gridLayout->addWidget(editUsername, 2, 1, 1, 1);
|
|
|
|
|
|
|
|
editHostname = new QLineEdit(connGroupBox);
|
2011-12-11 15:55:01 +00:00
|
|
|
editHostname->setObjectName(QStringLiteral("editHostname"));
|
2011-04-27 10:05:43 +00:00
|
|
|
|
|
|
|
gridLayout->addWidget(editHostname, 4, 1, 1, 1);
|
|
|
|
|
|
|
|
textLabel5 = new QLabel(connGroupBox);
|
2011-12-11 15:55:01 +00:00
|
|
|
textLabel5->setObjectName(QStringLiteral("textLabel5"));
|
2011-04-27 10:05:43 +00:00
|
|
|
|
|
|
|
gridLayout->addWidget(textLabel5, 4, 0, 1, 1);
|
|
|
|
|
|
|
|
textLabel5_2 = new QLabel(connGroupBox);
|
2011-12-11 15:55:01 +00:00
|
|
|
textLabel5_2->setObjectName(QStringLiteral("textLabel5_2"));
|
2011-04-27 10:05:43 +00:00
|
|
|
|
|
|
|
gridLayout->addWidget(textLabel5_2, 5, 0, 1, 1);
|
|
|
|
|
|
|
|
textLabel4_2 = new QLabel(connGroupBox);
|
2011-12-11 15:55:01 +00:00
|
|
|
textLabel4_2->setObjectName(QStringLiteral("textLabel4_2"));
|
2011-04-27 10:05:43 +00:00
|
|
|
|
|
|
|
gridLayout->addWidget(textLabel4_2, 3, 0, 1, 1);
|
|
|
|
|
|
|
|
|
|
|
|
vboxLayout->addWidget(connGroupBox);
|
|
|
|
|
|
|
|
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(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
|
|
|
|
|
|
|
|
hboxLayout->addItem(spacerItem);
|
|
|
|
|
|
|
|
dbCheckBox = new QCheckBox(QSqlConnectionDialogUi);
|
2011-12-11 15:55:01 +00:00
|
|
|
dbCheckBox->setObjectName(QStringLiteral("dbCheckBox"));
|
2011-04-27 10:05:43 +00:00
|
|
|
|
|
|
|
hboxLayout->addWidget(dbCheckBox);
|
|
|
|
|
|
|
|
|
|
|
|
vboxLayout->addLayout(hboxLayout);
|
|
|
|
|
|
|
|
hboxLayout1 = new QHBoxLayout();
|
|
|
|
#ifndef Q_OS_MAC
|
|
|
|
hboxLayout1->setSpacing(6);
|
|
|
|
#endif
|
|
|
|
hboxLayout1->setContentsMargins(0, 0, 0, 0);
|
2011-12-11 15:55:01 +00:00
|
|
|
hboxLayout1->setObjectName(QStringLiteral("hboxLayout1"));
|
2011-04-27 10:05:43 +00:00
|
|
|
spacerItem1 = new QSpacerItem(20, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
|
|
|
|
|
|
|
|
hboxLayout1->addItem(spacerItem1);
|
|
|
|
|
|
|
|
okButton = new QPushButton(QSqlConnectionDialogUi);
|
2011-12-11 15:55:01 +00:00
|
|
|
okButton->setObjectName(QStringLiteral("okButton"));
|
2011-04-27 10:05:43 +00:00
|
|
|
|
|
|
|
hboxLayout1->addWidget(okButton);
|
|
|
|
|
|
|
|
cancelButton = new QPushButton(QSqlConnectionDialogUi);
|
2011-12-11 15:55:01 +00:00
|
|
|
cancelButton->setObjectName(QStringLiteral("cancelButton"));
|
2011-04-27 10:05:43 +00:00
|
|
|
|
|
|
|
hboxLayout1->addWidget(cancelButton);
|
|
|
|
|
|
|
|
|
|
|
|
vboxLayout->addLayout(hboxLayout1);
|
|
|
|
|
|
|
|
#ifndef QT_NO_SHORTCUT
|
|
|
|
textLabel4->setBuddy(editUsername);
|
|
|
|
textLabel2->setBuddy(comboDriver);
|
|
|
|
textLabel3->setBuddy(editDatabase);
|
|
|
|
textLabel5->setBuddy(editHostname);
|
|
|
|
textLabel5_2->setBuddy(portSpinBox);
|
|
|
|
textLabel4_2->setBuddy(editPassword);
|
|
|
|
#endif // QT_NO_SHORTCUT
|
|
|
|
QWidget::setTabOrder(comboDriver, editDatabase);
|
|
|
|
QWidget::setTabOrder(editDatabase, editUsername);
|
|
|
|
QWidget::setTabOrder(editUsername, editPassword);
|
|
|
|
QWidget::setTabOrder(editPassword, editHostname);
|
|
|
|
QWidget::setTabOrder(editHostname, portSpinBox);
|
|
|
|
QWidget::setTabOrder(portSpinBox, dbCheckBox);
|
|
|
|
QWidget::setTabOrder(dbCheckBox, okButton);
|
|
|
|
QWidget::setTabOrder(okButton, cancelButton);
|
|
|
|
|
|
|
|
retranslateUi(QSqlConnectionDialogUi);
|
|
|
|
|
2015-04-21 06:25:28 +00:00
|
|
|
okButton->setDefault(true);
|
|
|
|
|
|
|
|
|
2011-04-27 10:05:43 +00:00
|
|
|
QMetaObject::connectSlotsByName(QSqlConnectionDialogUi);
|
|
|
|
} // setupUi
|
|
|
|
|
|
|
|
void retranslateUi(QDialog *QSqlConnectionDialogUi)
|
|
|
|
{
|
2017-08-28 14:42:50 +00:00
|
|
|
QSqlConnectionDialogUi->setWindowTitle(QApplication::translate("QSqlConnectionDialogUi", "Connect...", nullptr));
|
|
|
|
connGroupBox->setTitle(QApplication::translate("QSqlConnectionDialogUi", "Connection settings", nullptr));
|
|
|
|
textLabel4->setText(QApplication::translate("QSqlConnectionDialogUi", "&Username:", nullptr));
|
|
|
|
textLabel2->setText(QApplication::translate("QSqlConnectionDialogUi", "D&river", nullptr));
|
|
|
|
portSpinBox->setSpecialValueText(QApplication::translate("QSqlConnectionDialogUi", "Default", nullptr));
|
|
|
|
textLabel3->setText(QApplication::translate("QSqlConnectionDialogUi", "Database Name:", nullptr));
|
|
|
|
textLabel5->setText(QApplication::translate("QSqlConnectionDialogUi", "&Hostname:", nullptr));
|
|
|
|
textLabel5_2->setText(QApplication::translate("QSqlConnectionDialogUi", "P&ort:", nullptr));
|
|
|
|
textLabel4_2->setText(QApplication::translate("QSqlConnectionDialogUi", "&Password:", nullptr));
|
|
|
|
dbCheckBox->setText(QApplication::translate("QSqlConnectionDialogUi", "Us&e predefined in-memory database", nullptr));
|
|
|
|
okButton->setText(QApplication::translate("QSqlConnectionDialogUi", "&OK", nullptr));
|
|
|
|
cancelButton->setText(QApplication::translate("QSqlConnectionDialogUi", "&Cancel", nullptr));
|
2011-04-27 10:05:43 +00:00
|
|
|
} // retranslateUi
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
namespace Ui {
|
|
|
|
class QSqlConnectionDialogUi: public Ui_QSqlConnectionDialogUi {};
|
|
|
|
} // namespace Ui
|
|
|
|
|
|
|
|
QT_END_NAMESPACE
|
|
|
|
|
|
|
|
#endif // QSQLCONNECTIONDIALOG_H
|