223 lines
9.2 KiB
C
223 lines
9.2 KiB
C
|
|
/********************************************************************************
|
||
|
|
** Form generated from reading UI file 'connectionmanagerwindow.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_CONNECTIONMANAGERWINDOW_H
|
||
|
|
#define UI_CONNECTIONMANAGERWINDOW_H
|
||
|
|
|
||
|
|
#include <QtCore/QVariant>
|
||
|
|
#include <QtWidgets/QAction>
|
||
|
|
#include <QtWidgets/QApplication>
|
||
|
|
#include <QtWidgets/QButtonGroup>
|
||
|
|
#include <QtWidgets/QComboBox>
|
||
|
|
#include <QtWidgets/QFormLayout>
|
||
|
|
#include <QtWidgets/QHeaderView>
|
||
|
|
#include <QtWidgets/QLabel>
|
||
|
|
#include <QtWidgets/QLineEdit>
|
||
|
|
#include <QtWidgets/QListView>
|
||
|
|
#include <QtWidgets/QMainWindow>
|
||
|
|
#include <QtWidgets/QMenuBar>
|
||
|
|
#include <QtWidgets/QSpinBox>
|
||
|
|
#include <QtWidgets/QSplitter>
|
||
|
|
#include <QtWidgets/QStatusBar>
|
||
|
|
#include <QtWidgets/QToolBar>
|
||
|
|
#include <QtWidgets/QVBoxLayout>
|
||
|
|
#include <QtWidgets/QWidget>
|
||
|
|
|
||
|
|
QT_BEGIN_NAMESPACE
|
||
|
|
|
||
|
|
class Ui_ConnectionManagerWindow
|
||
|
|
{
|
||
|
|
public:
|
||
|
|
QAction *actionAdd_Connection;
|
||
|
|
QAction *actionDelete_connection;
|
||
|
|
QAction *actionConnect;
|
||
|
|
QWidget *centralwidget;
|
||
|
|
QVBoxLayout *verticalLayout;
|
||
|
|
QSplitter *splitter;
|
||
|
|
QListView *listView;
|
||
|
|
QWidget *layoutWidget;
|
||
|
|
QFormLayout *formLayout_2;
|
||
|
|
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;
|
||
|
|
QMenuBar *menubar;
|
||
|
|
QStatusBar *statusbar;
|
||
|
|
QToolBar *toolBar;
|
||
|
|
|
||
|
|
void setupUi(QMainWindow *ConnectionManagerWindow)
|
||
|
|
{
|
||
|
|
if (ConnectionManagerWindow->objectName().isEmpty())
|
||
|
|
ConnectionManagerWindow->setObjectName(QStringLiteral("ConnectionManagerWindow"));
|
||
|
|
ConnectionManagerWindow->resize(800, 600);
|
||
|
|
actionAdd_Connection = new QAction(ConnectionManagerWindow);
|
||
|
|
actionAdd_Connection->setObjectName(QStringLiteral("actionAdd_Connection"));
|
||
|
|
QIcon icon;
|
||
|
|
icon.addFile(QStringLiteral("../../../Users/eelke/fatcow-hosting-icons-900/server_add.png"), QSize(), QIcon::Normal, QIcon::Off);
|
||
|
|
icon.addFile(QStringLiteral("../../../Users/eelke/icons/server_add.png"), QSize(), QIcon::Normal, QIcon::On);
|
||
|
|
actionAdd_Connection->setIcon(icon);
|
||
|
|
actionDelete_connection = new QAction(ConnectionManagerWindow);
|
||
|
|
actionDelete_connection->setObjectName(QStringLiteral("actionDelete_connection"));
|
||
|
|
QIcon icon1;
|
||
|
|
icon1.addFile(QStringLiteral("../../../Users/eelke/fatcow-hosting-icons-900/server_delete.png"), QSize(), QIcon::Normal, QIcon::Off);
|
||
|
|
icon1.addFile(QStringLiteral("../../../Users/eelke/icons/server_delete.png"), QSize(), QIcon::Normal, QIcon::On);
|
||
|
|
actionDelete_connection->setIcon(icon1);
|
||
|
|
actionConnect = new QAction(ConnectionManagerWindow);
|
||
|
|
actionConnect->setObjectName(QStringLiteral("actionConnect"));
|
||
|
|
QIcon icon2;
|
||
|
|
icon2.addFile(QStringLiteral("../../../Users/eelke/fatcow-hosting-icons-900/server_go.png"), QSize(), QIcon::Normal, QIcon::Off);
|
||
|
|
actionConnect->setIcon(icon2);
|
||
|
|
centralwidget = new QWidget(ConnectionManagerWindow);
|
||
|
|
centralwidget->setObjectName(QStringLiteral("centralwidget"));
|
||
|
|
verticalLayout = new QVBoxLayout(centralwidget);
|
||
|
|
verticalLayout->setObjectName(QStringLiteral("verticalLayout"));
|
||
|
|
splitter = new QSplitter(centralwidget);
|
||
|
|
splitter->setObjectName(QStringLiteral("splitter"));
|
||
|
|
splitter->setOrientation(Qt::Horizontal);
|
||
|
|
listView = new QListView(splitter);
|
||
|
|
listView->setObjectName(QStringLiteral("listView"));
|
||
|
|
listView->setAlternatingRowColors(true);
|
||
|
|
listView->setUniformItemSizes(true);
|
||
|
|
splitter->addWidget(listView);
|
||
|
|
layoutWidget = new QWidget(splitter);
|
||
|
|
layoutWidget->setObjectName(QStringLiteral("layoutWidget"));
|
||
|
|
formLayout_2 = new QFormLayout(layoutWidget);
|
||
|
|
formLayout_2->setObjectName(QStringLiteral("formLayout_2"));
|
||
|
|
formLayout_2->setContentsMargins(0, 0, 0, 0);
|
||
|
|
label = new QLabel(layoutWidget);
|
||
|
|
label->setObjectName(QStringLiteral("label"));
|
||
|
|
|
||
|
|
formLayout_2->setWidget(0, QFormLayout::LabelRole, label);
|
||
|
|
|
||
|
|
lineEdit = new QLineEdit(layoutWidget);
|
||
|
|
lineEdit->setObjectName(QStringLiteral("lineEdit"));
|
||
|
|
|
||
|
|
formLayout_2->setWidget(0, QFormLayout::FieldRole, lineEdit);
|
||
|
|
|
||
|
|
label_2 = new QLabel(layoutWidget);
|
||
|
|
label_2->setObjectName(QStringLiteral("label_2"));
|
||
|
|
|
||
|
|
formLayout_2->setWidget(1, QFormLayout::LabelRole, label_2);
|
||
|
|
|
||
|
|
lineEdit_2 = new QLineEdit(layoutWidget);
|
||
|
|
lineEdit_2->setObjectName(QStringLiteral("lineEdit_2"));
|
||
|
|
|
||
|
|
formLayout_2->setWidget(1, QFormLayout::FieldRole, lineEdit_2);
|
||
|
|
|
||
|
|
label_3 = new QLabel(layoutWidget);
|
||
|
|
label_3->setObjectName(QStringLiteral("label_3"));
|
||
|
|
|
||
|
|
formLayout_2->setWidget(2, QFormLayout::LabelRole, label_3);
|
||
|
|
|
||
|
|
spinBox = new QSpinBox(layoutWidget);
|
||
|
|
spinBox->setObjectName(QStringLiteral("spinBox"));
|
||
|
|
spinBox->setMaximum(65535);
|
||
|
|
|
||
|
|
formLayout_2->setWidget(2, QFormLayout::FieldRole, spinBox);
|
||
|
|
|
||
|
|
label_4 = new QLabel(layoutWidget);
|
||
|
|
label_4->setObjectName(QStringLiteral("label_4"));
|
||
|
|
|
||
|
|
formLayout_2->setWidget(3, QFormLayout::LabelRole, label_4);
|
||
|
|
|
||
|
|
comboBox = new QComboBox(layoutWidget);
|
||
|
|
comboBox->setObjectName(QStringLiteral("comboBox"));
|
||
|
|
comboBox->setEditable(true);
|
||
|
|
|
||
|
|
formLayout_2->setWidget(3, QFormLayout::FieldRole, comboBox);
|
||
|
|
|
||
|
|
label_5 = new QLabel(layoutWidget);
|
||
|
|
label_5->setObjectName(QStringLiteral("label_5"));
|
||
|
|
|
||
|
|
formLayout_2->setWidget(4, QFormLayout::LabelRole, label_5);
|
||
|
|
|
||
|
|
lineEdit_3 = new QLineEdit(layoutWidget);
|
||
|
|
lineEdit_3->setObjectName(QStringLiteral("lineEdit_3"));
|
||
|
|
|
||
|
|
formLayout_2->setWidget(4, QFormLayout::FieldRole, lineEdit_3);
|
||
|
|
|
||
|
|
label_6 = new QLabel(layoutWidget);
|
||
|
|
label_6->setObjectName(QStringLiteral("label_6"));
|
||
|
|
|
||
|
|
formLayout_2->setWidget(5, QFormLayout::LabelRole, label_6);
|
||
|
|
|
||
|
|
lineEdit_4 = new QLineEdit(layoutWidget);
|
||
|
|
lineEdit_4->setObjectName(QStringLiteral("lineEdit_4"));
|
||
|
|
lineEdit_4->setEchoMode(QLineEdit::Password);
|
||
|
|
|
||
|
|
formLayout_2->setWidget(5, QFormLayout::FieldRole, lineEdit_4);
|
||
|
|
|
||
|
|
splitter->addWidget(layoutWidget);
|
||
|
|
|
||
|
|
verticalLayout->addWidget(splitter);
|
||
|
|
|
||
|
|
ConnectionManagerWindow->setCentralWidget(centralwidget);
|
||
|
|
menubar = new QMenuBar(ConnectionManagerWindow);
|
||
|
|
menubar->setObjectName(QStringLiteral("menubar"));
|
||
|
|
menubar->setGeometry(QRect(0, 0, 800, 25));
|
||
|
|
ConnectionManagerWindow->setMenuBar(menubar);
|
||
|
|
statusbar = new QStatusBar(ConnectionManagerWindow);
|
||
|
|
statusbar->setObjectName(QStringLiteral("statusbar"));
|
||
|
|
ConnectionManagerWindow->setStatusBar(statusbar);
|
||
|
|
toolBar = new QToolBar(ConnectionManagerWindow);
|
||
|
|
toolBar->setObjectName(QStringLiteral("toolBar"));
|
||
|
|
toolBar->setMovable(false);
|
||
|
|
toolBar->setFloatable(false);
|
||
|
|
ConnectionManagerWindow->addToolBar(Qt::TopToolBarArea, toolBar);
|
||
|
|
|
||
|
|
toolBar->addAction(actionConnect);
|
||
|
|
toolBar->addAction(actionAdd_Connection);
|
||
|
|
toolBar->addAction(actionDelete_connection);
|
||
|
|
|
||
|
|
retranslateUi(ConnectionManagerWindow);
|
||
|
|
|
||
|
|
comboBox->setCurrentIndex(0);
|
||
|
|
|
||
|
|
|
||
|
|
QMetaObject::connectSlotsByName(ConnectionManagerWindow);
|
||
|
|
} // setupUi
|
||
|
|
|
||
|
|
void retranslateUi(QMainWindow *ConnectionManagerWindow)
|
||
|
|
{
|
||
|
|
ConnectionManagerWindow->setWindowTitle(QApplication::translate("ConnectionManagerWindow", "MainWindow", Q_NULLPTR));
|
||
|
|
actionAdd_Connection->setText(QApplication::translate("ConnectionManagerWindow", "Add Connection", Q_NULLPTR));
|
||
|
|
actionDelete_connection->setText(QApplication::translate("ConnectionManagerWindow", "Delete connection", Q_NULLPTR));
|
||
|
|
actionDelete_connection->setIconText(QApplication::translate("ConnectionManagerWindow", "Delete", Q_NULLPTR));
|
||
|
|
actionConnect->setText(QApplication::translate("ConnectionManagerWindow", "Connect", Q_NULLPTR));
|
||
|
|
label->setText(QApplication::translate("ConnectionManagerWindow", "Name", Q_NULLPTR));
|
||
|
|
label_2->setText(QApplication::translate("ConnectionManagerWindow", "Host", Q_NULLPTR));
|
||
|
|
label_3->setText(QApplication::translate("ConnectionManagerWindow", "Port", Q_NULLPTR));
|
||
|
|
label_4->setText(QApplication::translate("ConnectionManagerWindow", "Maintenance DB", Q_NULLPTR));
|
||
|
|
comboBox->clear();
|
||
|
|
comboBox->insertItems(0, QStringList()
|
||
|
|
<< QApplication::translate("ConnectionManagerWindow", "postgres", Q_NULLPTR)
|
||
|
|
<< QApplication::translate("ConnectionManagerWindow", "template1", Q_NULLPTR)
|
||
|
|
);
|
||
|
|
label_5->setText(QApplication::translate("ConnectionManagerWindow", "Username", Q_NULLPTR));
|
||
|
|
label_6->setText(QApplication::translate("ConnectionManagerWindow", "Password", Q_NULLPTR));
|
||
|
|
toolBar->setWindowTitle(QApplication::translate("ConnectionManagerWindow", "toolBar", Q_NULLPTR));
|
||
|
|
} // retranslateUi
|
||
|
|
|
||
|
|
};
|
||
|
|
|
||
|
|
namespace Ui {
|
||
|
|
class ConnectionManagerWindow: public Ui_ConnectionManagerWindow {};
|
||
|
|
} // namespace Ui
|
||
|
|
|
||
|
|
QT_END_NAMESPACE
|
||
|
|
|
||
|
|
#endif // UI_CONNECTIONMANAGERWINDOW_H
|