Initial commit. Contains a simple query tool.
This commit is contained in:
commit
edc6df25da
19 changed files with 1245 additions and 0 deletions
170
ui_serverproperties.h
Normal file
170
ui_serverproperties.h
Normal file
|
|
@ -0,0 +1,170 @@
|
|||
/********************************************************************************
|
||||
** Form generated from reading UI file 'serverproperties.ui'
|
||||
**
|
||||
** Created by: Qt User Interface Compiler version 5.7.1
|
||||
**
|
||||
** WARNING! All changes made in this file will be lost when recompiling UI file!
|
||||
********************************************************************************/
|
||||
|
||||
#ifndef UI_SERVERPROPERTIES_H
|
||||
#define UI_SERVERPROPERTIES_H
|
||||
|
||||
#include <QtCore/QVariant>
|
||||
#include <QtWidgets/QAction>
|
||||
#include <QtWidgets/QApplication>
|
||||
#include <QtWidgets/QButtonGroup>
|
||||
#include <QtWidgets/QComboBox>
|
||||
#include <QtWidgets/QDialog>
|
||||
#include <QtWidgets/QDialogButtonBox>
|
||||
#include <QtWidgets/QFormLayout>
|
||||
#include <QtWidgets/QFrame>
|
||||
#include <QtWidgets/QHeaderView>
|
||||
#include <QtWidgets/QLabel>
|
||||
#include <QtWidgets/QLineEdit>
|
||||
#include <QtWidgets/QSpinBox>
|
||||
#include <QtWidgets/QVBoxLayout>
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
|
||||
class Ui_ServerProperties
|
||||
{
|
||||
public:
|
||||
QVBoxLayout *verticalLayout;
|
||||
QFrame *frame;
|
||||
QFormLayout *formLayout;
|
||||
QLabel *label;
|
||||
QLineEdit *lineEdit;
|
||||
QLabel *label_2;
|
||||
QLineEdit *lineEdit_2;
|
||||
QLabel *label_3;
|
||||
QSpinBox *spinBox;
|
||||
QLabel *label_4;
|
||||
QComboBox *comboBox;
|
||||
QLabel *label_5;
|
||||
QLineEdit *lineEdit_3;
|
||||
QLabel *label_6;
|
||||
QLineEdit *lineEdit_4;
|
||||
QDialogButtonBox *buttonBox;
|
||||
|
||||
void setupUi(QDialog *ServerProperties)
|
||||
{
|
||||
if (ServerProperties->objectName().isEmpty())
|
||||
ServerProperties->setObjectName(QStringLiteral("ServerProperties"));
|
||||
ServerProperties->resize(326, 233);
|
||||
verticalLayout = new QVBoxLayout(ServerProperties);
|
||||
verticalLayout->setObjectName(QStringLiteral("verticalLayout"));
|
||||
frame = new QFrame(ServerProperties);
|
||||
frame->setObjectName(QStringLiteral("frame"));
|
||||
frame->setFrameShape(QFrame::StyledPanel);
|
||||
frame->setFrameShadow(QFrame::Raised);
|
||||
formLayout = new QFormLayout(frame);
|
||||
formLayout->setObjectName(QStringLiteral("formLayout"));
|
||||
label = new QLabel(frame);
|
||||
label->setObjectName(QStringLiteral("label"));
|
||||
|
||||
formLayout->setWidget(0, QFormLayout::LabelRole, label);
|
||||
|
||||
lineEdit = new QLineEdit(frame);
|
||||
lineEdit->setObjectName(QStringLiteral("lineEdit"));
|
||||
|
||||
formLayout->setWidget(0, QFormLayout::FieldRole, lineEdit);
|
||||
|
||||
label_2 = new QLabel(frame);
|
||||
label_2->setObjectName(QStringLiteral("label_2"));
|
||||
|
||||
formLayout->setWidget(1, QFormLayout::LabelRole, label_2);
|
||||
|
||||
lineEdit_2 = new QLineEdit(frame);
|
||||
lineEdit_2->setObjectName(QStringLiteral("lineEdit_2"));
|
||||
|
||||
formLayout->setWidget(1, QFormLayout::FieldRole, lineEdit_2);
|
||||
|
||||
label_3 = new QLabel(frame);
|
||||
label_3->setObjectName(QStringLiteral("label_3"));
|
||||
|
||||
formLayout->setWidget(2, QFormLayout::LabelRole, label_3);
|
||||
|
||||
spinBox = new QSpinBox(frame);
|
||||
spinBox->setObjectName(QStringLiteral("spinBox"));
|
||||
spinBox->setMaximum(65535);
|
||||
|
||||
formLayout->setWidget(2, QFormLayout::FieldRole, spinBox);
|
||||
|
||||
label_4 = new QLabel(frame);
|
||||
label_4->setObjectName(QStringLiteral("label_4"));
|
||||
|
||||
formLayout->setWidget(3, QFormLayout::LabelRole, label_4);
|
||||
|
||||
comboBox = new QComboBox(frame);
|
||||
comboBox->setObjectName(QStringLiteral("comboBox"));
|
||||
comboBox->setEditable(true);
|
||||
|
||||
formLayout->setWidget(3, QFormLayout::FieldRole, comboBox);
|
||||
|
||||
label_5 = new QLabel(frame);
|
||||
label_5->setObjectName(QStringLiteral("label_5"));
|
||||
|
||||
formLayout->setWidget(4, QFormLayout::LabelRole, label_5);
|
||||
|
||||
lineEdit_3 = new QLineEdit(frame);
|
||||
lineEdit_3->setObjectName(QStringLiteral("lineEdit_3"));
|
||||
|
||||
formLayout->setWidget(4, QFormLayout::FieldRole, lineEdit_3);
|
||||
|
||||
label_6 = new QLabel(frame);
|
||||
label_6->setObjectName(QStringLiteral("label_6"));
|
||||
|
||||
formLayout->setWidget(5, QFormLayout::LabelRole, label_6);
|
||||
|
||||
lineEdit_4 = new QLineEdit(frame);
|
||||
lineEdit_4->setObjectName(QStringLiteral("lineEdit_4"));
|
||||
lineEdit_4->setEchoMode(QLineEdit::Password);
|
||||
|
||||
formLayout->setWidget(5, QFormLayout::FieldRole, lineEdit_4);
|
||||
|
||||
|
||||
verticalLayout->addWidget(frame);
|
||||
|
||||
buttonBox = new QDialogButtonBox(ServerProperties);
|
||||
buttonBox->setObjectName(QStringLiteral("buttonBox"));
|
||||
buttonBox->setOrientation(Qt::Horizontal);
|
||||
buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Ok);
|
||||
|
||||
verticalLayout->addWidget(buttonBox);
|
||||
|
||||
|
||||
retranslateUi(ServerProperties);
|
||||
QObject::connect(buttonBox, SIGNAL(accepted()), ServerProperties, SLOT(accept()));
|
||||
QObject::connect(buttonBox, SIGNAL(rejected()), ServerProperties, SLOT(reject()));
|
||||
|
||||
comboBox->setCurrentIndex(0);
|
||||
|
||||
|
||||
QMetaObject::connectSlotsByName(ServerProperties);
|
||||
} // setupUi
|
||||
|
||||
void retranslateUi(QDialog *ServerProperties)
|
||||
{
|
||||
ServerProperties->setWindowTitle(QApplication::translate("ServerProperties", "Dialog", Q_NULLPTR));
|
||||
label->setText(QApplication::translate("ServerProperties", "Name", Q_NULLPTR));
|
||||
label_2->setText(QApplication::translate("ServerProperties", "Host", Q_NULLPTR));
|
||||
label_3->setText(QApplication::translate("ServerProperties", "Port", Q_NULLPTR));
|
||||
label_4->setText(QApplication::translate("ServerProperties", "Maintenance DB", Q_NULLPTR));
|
||||
comboBox->clear();
|
||||
comboBox->insertItems(0, QStringList()
|
||||
<< QApplication::translate("ServerProperties", "postgres", Q_NULLPTR)
|
||||
<< QApplication::translate("ServerProperties", "template1", Q_NULLPTR)
|
||||
);
|
||||
label_5->setText(QApplication::translate("ServerProperties", "Username", Q_NULLPTR));
|
||||
label_6->setText(QApplication::translate("ServerProperties", "Password", Q_NULLPTR));
|
||||
} // retranslateUi
|
||||
|
||||
};
|
||||
|
||||
namespace Ui {
|
||||
class ServerProperties: public Ui_ServerProperties {};
|
||||
} // namespace Ui
|
||||
|
||||
QT_END_NAMESPACE
|
||||
|
||||
#endif // UI_SERVERPROPERTIES_H
|
||||
Loading…
Add table
Add a link
Reference in a new issue