#include <ui_connectiondialog.h>


Public Member Functions | |
| void | setupUi (QDialog *ConnectionDialogUi) |
| void | retranslateUi (QDialog *ConnectionDialogUi) |
Public Attributes | |
| 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 Ui_ConnectionDialogUi::retranslateUi | ( | QDialog * | ConnectionDialogUi | ) | [inline] |
Referenced by setupUi().
{
ConnectionDialogUi->setWindowTitle(QApplication::translate("ConnectionDialogUi", "Connect...", 0, QApplication::UnicodeUTF8));
connGroupBox->setTitle(QApplication::translate("ConnectionDialogUi", "Connection settings", 0, QApplication::UnicodeUTF8));
textLabel4->setText(QApplication::translate("ConnectionDialogUi", "&Username:", 0, QApplication::UnicodeUTF8));
textLabel2->setText(QApplication::translate("ConnectionDialogUi", "D&river", 0, QApplication::UnicodeUTF8));
portSpinBox->setSpecialValueText(QApplication::translate("ConnectionDialogUi", "Default", 0, QApplication::UnicodeUTF8));
textLabel3->setText(QApplication::translate("ConnectionDialogUi", "Database Name:", 0, QApplication::UnicodeUTF8));
textLabel5->setText(QApplication::translate("ConnectionDialogUi", "&Hostname:", 0, QApplication::UnicodeUTF8));
textLabel5_2->setText(QApplication::translate("ConnectionDialogUi", "P&ort:", 0, QApplication::UnicodeUTF8));
textLabel4_2->setText(QApplication::translate("ConnectionDialogUi", "&Password:", 0, QApplication::UnicodeUTF8));
dbCheckBox->setText(QApplication::translate("ConnectionDialogUi", "Us&e predefined in-memory database", 0, QApplication::UnicodeUTF8));
okButton->setText(QApplication::translate("ConnectionDialogUi", "&OK", 0, QApplication::UnicodeUTF8));
cancelButton->setText(QApplication::translate("ConnectionDialogUi", "&Cancel", 0, QApplication::UnicodeUTF8));
} // retranslateUi
| void Ui_ConnectionDialogUi::setupUi | ( | QDialog * | ConnectionDialogUi | ) | [inline] |
Referenced by ConnectionDialog::ConnectionDialog().
{
if (ConnectionDialogUi->objectName().isEmpty())
ConnectionDialogUi->setObjectName(QString::fromUtf8("ConnectionDialogUi"));
ConnectionDialogUi->resize(315, 302);
vboxLayout = new QVBoxLayout(ConnectionDialogUi);
#ifndef Q_OS_MAC
vboxLayout->setSpacing(6);
#endif
vboxLayout->setContentsMargins(8, 8, 8, 8);
vboxLayout->setObjectName(QString::fromUtf8("vboxLayout"));
connGroupBox = new QGroupBox(ConnectionDialogUi);
connGroupBox->setObjectName(QString::fromUtf8("connGroupBox"));
gridLayout = new QGridLayout(connGroupBox);
#ifndef Q_OS_MAC
gridLayout->setSpacing(6);
#endif
gridLayout->setContentsMargins(8, 8, 8, 8);
gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
comboDriver = new QComboBox(connGroupBox);
comboDriver->setObjectName(QString::fromUtf8("comboDriver"));
gridLayout->addWidget(comboDriver, 0, 1, 1, 1);
textLabel4 = new QLabel(connGroupBox);
textLabel4->setObjectName(QString::fromUtf8("textLabel4"));
gridLayout->addWidget(textLabel4, 2, 0, 1, 1);
textLabel2 = new QLabel(connGroupBox);
textLabel2->setObjectName(QString::fromUtf8("textLabel2"));
gridLayout->addWidget(textLabel2, 0, 0, 1, 1);
editDatabase = new QLineEdit(connGroupBox);
editDatabase->setObjectName(QString::fromUtf8("editDatabase"));
gridLayout->addWidget(editDatabase, 1, 1, 1, 1);
portSpinBox = new QSpinBox(connGroupBox);
portSpinBox->setObjectName(QString::fromUtf8("portSpinBox"));
portSpinBox->setMinimum(-1);
portSpinBox->setMaximum(65535);
portSpinBox->setValue(-1);
gridLayout->addWidget(portSpinBox, 5, 1, 1, 1);
textLabel3 = new QLabel(connGroupBox);
textLabel3->setObjectName(QString::fromUtf8("textLabel3"));
gridLayout->addWidget(textLabel3, 1, 0, 1, 1);
editPassword = new QLineEdit(connGroupBox);
editPassword->setObjectName(QString::fromUtf8("editPassword"));
editPassword->setEchoMode(QLineEdit::Password);
gridLayout->addWidget(editPassword, 3, 1, 1, 1);
editUsername = new QLineEdit(connGroupBox);
editUsername->setObjectName(QString::fromUtf8("editUsername"));
gridLayout->addWidget(editUsername, 2, 1, 1, 1);
editHostname = new QLineEdit(connGroupBox);
editHostname->setObjectName(QString::fromUtf8("editHostname"));
gridLayout->addWidget(editHostname, 4, 1, 1, 1);
textLabel5 = new QLabel(connGroupBox);
textLabel5->setObjectName(QString::fromUtf8("textLabel5"));
gridLayout->addWidget(textLabel5, 4, 0, 1, 1);
textLabel5_2 = new QLabel(connGroupBox);
textLabel5_2->setObjectName(QString::fromUtf8("textLabel5_2"));
gridLayout->addWidget(textLabel5_2, 5, 0, 1, 1);
textLabel4_2 = new QLabel(connGroupBox);
textLabel4_2->setObjectName(QString::fromUtf8("textLabel4_2"));
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);
hboxLayout->setObjectName(QString::fromUtf8("hboxLayout"));
spacerItem = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
hboxLayout->addItem(spacerItem);
dbCheckBox = new QCheckBox(ConnectionDialogUi);
dbCheckBox->setObjectName(QString::fromUtf8("dbCheckBox"));
hboxLayout->addWidget(dbCheckBox);
vboxLayout->addLayout(hboxLayout);
hboxLayout1 = new QHBoxLayout();
#ifndef Q_OS_MAC
hboxLayout1->setSpacing(6);
#endif
hboxLayout1->setContentsMargins(0, 0, 0, 0);
hboxLayout1->setObjectName(QString::fromUtf8("hboxLayout1"));
spacerItem1 = new QSpacerItem(20, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
hboxLayout1->addItem(spacerItem1);
okButton = new QPushButton(ConnectionDialogUi);
okButton->setObjectName(QString::fromUtf8("okButton"));
okButton->setDefault(true);
hboxLayout1->addWidget(okButton);
cancelButton = new QPushButton(ConnectionDialogUi);
cancelButton->setObjectName(QString::fromUtf8("cancelButton"));
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(ConnectionDialogUi);
QMetaObject::connectSlotsByName(ConnectionDialogUi);
} // setupUi
Referenced by retranslateUi(), and setupUi().
Referenced by ConnectionDialog::ConnectionDialog(), ConnectionDialog::driverName(), and setupUi().
Referenced by retranslateUi(), and setupUi().
Referenced by ConnectionDialog::ConnectionDialog(), retranslateUi(), setupUi(), and ConnectionDialog::useInMemoryDatabase().
Referenced by ConnectionDialog::ConnectionDialog(), ConnectionDialog::databaseName(), and setupUi().
Referenced by ConnectionDialog::ConnectionDialog(), ConnectionDialog::hostName(), and setupUi().
Referenced by ConnectionDialog::password(), and setupUi().
Referenced by ConnectionDialog::ConnectionDialog(), setupUi(), and ConnectionDialog::userName().
Referenced by setupUi().
Referenced by setupUi().
Referenced by setupUi().
Referenced by retranslateUi(), and setupUi().
Referenced by ConnectionDialog::ConnectionDialog(), ConnectionDialog::port(), retranslateUi(), and setupUi().
Referenced by setupUi().
Referenced by setupUi().
Referenced by retranslateUi(), and setupUi().
Referenced by retranslateUi(), and setupUi().
Referenced by retranslateUi(), and setupUi().
Referenced by retranslateUi(), and setupUi().
Referenced by retranslateUi(), and setupUi().
Referenced by retranslateUi(), and setupUi().
Referenced by setupUi().
1.7.1