These are build files and shouldn't have been in the project folder anyway.
This commit is contained in:
parent
ef620489ee
commit
998389e371
4 changed files with 0 additions and 785 deletions
|
|
@ -1,290 +0,0 @@
|
|||
/********************************************************************************
|
||||
** 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 *edtName;
|
||||
QLabel *label_2;
|
||||
QLineEdit *edtHost;
|
||||
QLabel *label_3;
|
||||
QSpinBox *spinPort;
|
||||
QLabel *label_5;
|
||||
QLineEdit *edtUser;
|
||||
QLabel *label_6;
|
||||
QLineEdit *edtPassword;
|
||||
QLabel *label_4;
|
||||
QLineEdit *edtDbname;
|
||||
QComboBox *cmbbxSsl;
|
||||
QLabel *label_7;
|
||||
QLabel *label_8;
|
||||
QLineEdit *edtCert;
|
||||
QLabel *label_9;
|
||||
QLineEdit *edtKey;
|
||||
QLabel *label_10;
|
||||
QLineEdit *edtRootCert;
|
||||
QLabel *label_11;
|
||||
QLineEdit *edtCrl;
|
||||
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);
|
||||
|
||||
edtName = new QLineEdit(layoutWidget);
|
||||
edtName->setObjectName(QStringLiteral("edtName"));
|
||||
|
||||
formLayout_2->setWidget(0, QFormLayout::FieldRole, edtName);
|
||||
|
||||
label_2 = new QLabel(layoutWidget);
|
||||
label_2->setObjectName(QStringLiteral("label_2"));
|
||||
|
||||
formLayout_2->setWidget(1, QFormLayout::LabelRole, label_2);
|
||||
|
||||
edtHost = new QLineEdit(layoutWidget);
|
||||
edtHost->setObjectName(QStringLiteral("edtHost"));
|
||||
|
||||
formLayout_2->setWidget(1, QFormLayout::FieldRole, edtHost);
|
||||
|
||||
label_3 = new QLabel(layoutWidget);
|
||||
label_3->setObjectName(QStringLiteral("label_3"));
|
||||
|
||||
formLayout_2->setWidget(2, QFormLayout::LabelRole, label_3);
|
||||
|
||||
spinPort = new QSpinBox(layoutWidget);
|
||||
spinPort->setObjectName(QStringLiteral("spinPort"));
|
||||
spinPort->setMaximum(65535);
|
||||
|
||||
formLayout_2->setWidget(2, QFormLayout::FieldRole, spinPort);
|
||||
|
||||
label_5 = new QLabel(layoutWidget);
|
||||
label_5->setObjectName(QStringLiteral("label_5"));
|
||||
|
||||
formLayout_2->setWidget(3, QFormLayout::LabelRole, label_5);
|
||||
|
||||
edtUser = new QLineEdit(layoutWidget);
|
||||
edtUser->setObjectName(QStringLiteral("edtUser"));
|
||||
|
||||
formLayout_2->setWidget(3, QFormLayout::FieldRole, edtUser);
|
||||
|
||||
label_6 = new QLabel(layoutWidget);
|
||||
label_6->setObjectName(QStringLiteral("label_6"));
|
||||
|
||||
formLayout_2->setWidget(4, QFormLayout::LabelRole, label_6);
|
||||
|
||||
edtPassword = new QLineEdit(layoutWidget);
|
||||
edtPassword->setObjectName(QStringLiteral("edtPassword"));
|
||||
edtPassword->setEchoMode(QLineEdit::Password);
|
||||
|
||||
formLayout_2->setWidget(4, QFormLayout::FieldRole, edtPassword);
|
||||
|
||||
label_4 = new QLabel(layoutWidget);
|
||||
label_4->setObjectName(QStringLiteral("label_4"));
|
||||
|
||||
formLayout_2->setWidget(5, QFormLayout::LabelRole, label_4);
|
||||
|
||||
edtDbname = new QLineEdit(layoutWidget);
|
||||
edtDbname->setObjectName(QStringLiteral("edtDbname"));
|
||||
|
||||
formLayout_2->setWidget(5, QFormLayout::FieldRole, edtDbname);
|
||||
|
||||
cmbbxSsl = new QComboBox(layoutWidget);
|
||||
cmbbxSsl->setObjectName(QStringLiteral("cmbbxSsl"));
|
||||
|
||||
formLayout_2->setWidget(6, QFormLayout::FieldRole, cmbbxSsl);
|
||||
|
||||
label_7 = new QLabel(layoutWidget);
|
||||
label_7->setObjectName(QStringLiteral("label_7"));
|
||||
|
||||
formLayout_2->setWidget(6, QFormLayout::LabelRole, label_7);
|
||||
|
||||
label_8 = new QLabel(layoutWidget);
|
||||
label_8->setObjectName(QStringLiteral("label_8"));
|
||||
|
||||
formLayout_2->setWidget(7, QFormLayout::LabelRole, label_8);
|
||||
|
||||
edtCert = new QLineEdit(layoutWidget);
|
||||
edtCert->setObjectName(QStringLiteral("edtCert"));
|
||||
|
||||
formLayout_2->setWidget(7, QFormLayout::FieldRole, edtCert);
|
||||
|
||||
label_9 = new QLabel(layoutWidget);
|
||||
label_9->setObjectName(QStringLiteral("label_9"));
|
||||
|
||||
formLayout_2->setWidget(8, QFormLayout::LabelRole, label_9);
|
||||
|
||||
edtKey = new QLineEdit(layoutWidget);
|
||||
edtKey->setObjectName(QStringLiteral("edtKey"));
|
||||
|
||||
formLayout_2->setWidget(8, QFormLayout::FieldRole, edtKey);
|
||||
|
||||
label_10 = new QLabel(layoutWidget);
|
||||
label_10->setObjectName(QStringLiteral("label_10"));
|
||||
|
||||
formLayout_2->setWidget(9, QFormLayout::LabelRole, label_10);
|
||||
|
||||
edtRootCert = new QLineEdit(layoutWidget);
|
||||
edtRootCert->setObjectName(QStringLiteral("edtRootCert"));
|
||||
|
||||
formLayout_2->setWidget(9, QFormLayout::FieldRole, edtRootCert);
|
||||
|
||||
label_11 = new QLabel(layoutWidget);
|
||||
label_11->setObjectName(QStringLiteral("label_11"));
|
||||
|
||||
formLayout_2->setWidget(10, QFormLayout::LabelRole, label_11);
|
||||
|
||||
edtCrl = new QLineEdit(layoutWidget);
|
||||
edtCrl->setObjectName(QStringLiteral("edtCrl"));
|
||||
|
||||
formLayout_2->setWidget(10, QFormLayout::FieldRole, edtCrl);
|
||||
|
||||
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);
|
||||
|
||||
cmbbxSsl->setCurrentIndex(2);
|
||||
|
||||
|
||||
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_5->setText(QApplication::translate("ConnectionManagerWindow", "Username", Q_NULLPTR));
|
||||
label_6->setText(QApplication::translate("ConnectionManagerWindow", "Password", Q_NULLPTR));
|
||||
label_4->setText(QApplication::translate("ConnectionManagerWindow", "Database", Q_NULLPTR));
|
||||
cmbbxSsl->clear();
|
||||
cmbbxSsl->insertItems(0, QStringList()
|
||||
<< QApplication::translate("ConnectionManagerWindow", "reject", Q_NULLPTR)
|
||||
<< QApplication::translate("ConnectionManagerWindow", "allow", Q_NULLPTR)
|
||||
<< QApplication::translate("ConnectionManagerWindow", "prefer", Q_NULLPTR)
|
||||
<< QApplication::translate("ConnectionManagerWindow", "require", Q_NULLPTR)
|
||||
<< QApplication::translate("ConnectionManagerWindow", "verify-ca", Q_NULLPTR)
|
||||
<< QApplication::translate("ConnectionManagerWindow", "verify-full", Q_NULLPTR)
|
||||
);
|
||||
label_7->setText(QApplication::translate("ConnectionManagerWindow", "SSL", Q_NULLPTR));
|
||||
label_8->setText(QApplication::translate("ConnectionManagerWindow", "Certificate", Q_NULLPTR));
|
||||
label_9->setText(QApplication::translate("ConnectionManagerWindow", "Key", Q_NULLPTR));
|
||||
label_10->setText(QApplication::translate("ConnectionManagerWindow", "Root cert.", Q_NULLPTR));
|
||||
label_11->setText(QApplication::translate("ConnectionManagerWindow", "Revocation list", 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
|
||||
|
|
@ -1,86 +0,0 @@
|
|||
/********************************************************************************
|
||||
** Form generated from reading UI file 'databasewindow.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_DATABASEWINDOW_H
|
||||
#define UI_DATABASEWINDOW_H
|
||||
|
||||
#include <QtCore/QVariant>
|
||||
#include <QtWidgets/QAction>
|
||||
#include <QtWidgets/QApplication>
|
||||
#include <QtWidgets/QButtonGroup>
|
||||
#include <QtWidgets/QHeaderView>
|
||||
#include <QtWidgets/QMainWindow>
|
||||
#include <QtWidgets/QMenuBar>
|
||||
#include <QtWidgets/QStatusBar>
|
||||
#include <QtWidgets/QTabWidget>
|
||||
#include <QtWidgets/QVBoxLayout>
|
||||
#include <QtWidgets/QWidget>
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
|
||||
class Ui_DatabaseWindow
|
||||
{
|
||||
public:
|
||||
QWidget *centralwidget;
|
||||
QVBoxLayout *verticalLayout;
|
||||
QTabWidget *tabWidget;
|
||||
QWidget *tab;
|
||||
QWidget *tab_2;
|
||||
QMenuBar *menubar;
|
||||
QStatusBar *statusbar;
|
||||
|
||||
void setupUi(QMainWindow *DatabaseWindow)
|
||||
{
|
||||
if (DatabaseWindow->objectName().isEmpty())
|
||||
DatabaseWindow->setObjectName(QStringLiteral("DatabaseWindow"));
|
||||
DatabaseWindow->resize(800, 600);
|
||||
centralwidget = new QWidget(DatabaseWindow);
|
||||
centralwidget->setObjectName(QStringLiteral("centralwidget"));
|
||||
verticalLayout = new QVBoxLayout(centralwidget);
|
||||
verticalLayout->setObjectName(QStringLiteral("verticalLayout"));
|
||||
tabWidget = new QTabWidget(centralwidget);
|
||||
tabWidget->setObjectName(QStringLiteral("tabWidget"));
|
||||
tab = new QWidget();
|
||||
tab->setObjectName(QStringLiteral("tab"));
|
||||
tabWidget->addTab(tab, QString());
|
||||
tab_2 = new QWidget();
|
||||
tab_2->setObjectName(QStringLiteral("tab_2"));
|
||||
tabWidget->addTab(tab_2, QString());
|
||||
|
||||
verticalLayout->addWidget(tabWidget);
|
||||
|
||||
DatabaseWindow->setCentralWidget(centralwidget);
|
||||
menubar = new QMenuBar(DatabaseWindow);
|
||||
menubar->setObjectName(QStringLiteral("menubar"));
|
||||
menubar->setGeometry(QRect(0, 0, 800, 25));
|
||||
DatabaseWindow->setMenuBar(menubar);
|
||||
statusbar = new QStatusBar(DatabaseWindow);
|
||||
statusbar->setObjectName(QStringLiteral("statusbar"));
|
||||
DatabaseWindow->setStatusBar(statusbar);
|
||||
|
||||
retranslateUi(DatabaseWindow);
|
||||
|
||||
QMetaObject::connectSlotsByName(DatabaseWindow);
|
||||
} // setupUi
|
||||
|
||||
void retranslateUi(QMainWindow *DatabaseWindow)
|
||||
{
|
||||
DatabaseWindow->setWindowTitle(QApplication::translate("DatabaseWindow", "MainWindow", Q_NULLPTR));
|
||||
tabWidget->setTabText(tabWidget->indexOf(tab), QApplication::translate("DatabaseWindow", "Tab 1", Q_NULLPTR));
|
||||
tabWidget->setTabText(tabWidget->indexOf(tab_2), QApplication::translate("DatabaseWindow", "Tab 2", Q_NULLPTR));
|
||||
} // retranslateUi
|
||||
|
||||
};
|
||||
|
||||
namespace Ui {
|
||||
class DatabaseWindow: public Ui_DatabaseWindow {};
|
||||
} // namespace Ui
|
||||
|
||||
QT_END_NAMESPACE
|
||||
|
||||
#endif // UI_DATABASEWINDOW_H
|
||||
239
ui_mainwindow.h
239
ui_mainwindow.h
|
|
@ -1,239 +0,0 @@
|
|||
/********************************************************************************
|
||||
** Form generated from reading UI file 'mainwindow.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_MAINWINDOW_H
|
||||
#define UI_MAINWINDOW_H
|
||||
|
||||
#include <QtCore/QVariant>
|
||||
#include <QtWidgets/QAction>
|
||||
#include <QtWidgets/QApplication>
|
||||
#include <QtWidgets/QButtonGroup>
|
||||
#include <QtWidgets/QGridLayout>
|
||||
#include <QtWidgets/QHeaderView>
|
||||
#include <QtWidgets/QLabel>
|
||||
#include <QtWidgets/QLineEdit>
|
||||
#include <QtWidgets/QMainWindow>
|
||||
#include <QtWidgets/QMenu>
|
||||
#include <QtWidgets/QMenuBar>
|
||||
#include <QtWidgets/QPlainTextEdit>
|
||||
#include <QtWidgets/QSplitter>
|
||||
#include <QtWidgets/QStatusBar>
|
||||
#include <QtWidgets/QTabWidget>
|
||||
#include <QtWidgets/QTableView>
|
||||
#include <QtWidgets/QTextEdit>
|
||||
#include <QtWidgets/QToolBar>
|
||||
#include <QtWidgets/QTreeView>
|
||||
#include <QtWidgets/QVBoxLayout>
|
||||
#include <QtWidgets/QWidget>
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
|
||||
class Ui_MainWindow
|
||||
{
|
||||
public:
|
||||
QAction *actionLoad_SQL;
|
||||
QAction *actionSave_SQL;
|
||||
QAction *actionExport_data;
|
||||
QAction *actionClose;
|
||||
QAction *actionAbout;
|
||||
QWidget *centralWidget;
|
||||
QVBoxLayout *verticalLayout;
|
||||
QLineEdit *connectionStringEdit;
|
||||
QSplitter *splitter;
|
||||
QTextEdit *queryEdit;
|
||||
QTabWidget *tabWidget;
|
||||
QWidget *messageTab;
|
||||
QGridLayout *gridLayout_2;
|
||||
QTextEdit *messagesEdit;
|
||||
QWidget *dataTab;
|
||||
QGridLayout *gridLayout;
|
||||
QTableView *ResultView;
|
||||
QWidget *explainTab;
|
||||
QGridLayout *gridLayout_3;
|
||||
QTreeView *explainTreeView;
|
||||
QLabel *lblTimes;
|
||||
QWidget *logTab;
|
||||
QVBoxLayout *verticalLayout_2;
|
||||
QPlainTextEdit *edtLog;
|
||||
QMenuBar *menuBar;
|
||||
QMenu *menuTest;
|
||||
QMenu *menuHelp;
|
||||
QToolBar *mainToolBar;
|
||||
QStatusBar *statusBar;
|
||||
|
||||
void setupUi(QMainWindow *MainWindow)
|
||||
{
|
||||
if (MainWindow->objectName().isEmpty())
|
||||
MainWindow->setObjectName(QStringLiteral("MainWindow"));
|
||||
MainWindow->resize(726, 589);
|
||||
actionLoad_SQL = new QAction(MainWindow);
|
||||
actionLoad_SQL->setObjectName(QStringLiteral("actionLoad_SQL"));
|
||||
actionSave_SQL = new QAction(MainWindow);
|
||||
actionSave_SQL->setObjectName(QStringLiteral("actionSave_SQL"));
|
||||
actionExport_data = new QAction(MainWindow);
|
||||
actionExport_data->setObjectName(QStringLiteral("actionExport_data"));
|
||||
actionClose = new QAction(MainWindow);
|
||||
actionClose->setObjectName(QStringLiteral("actionClose"));
|
||||
actionAbout = new QAction(MainWindow);
|
||||
actionAbout->setObjectName(QStringLiteral("actionAbout"));
|
||||
centralWidget = new QWidget(MainWindow);
|
||||
centralWidget->setObjectName(QStringLiteral("centralWidget"));
|
||||
verticalLayout = new QVBoxLayout(centralWidget);
|
||||
verticalLayout->setSpacing(6);
|
||||
verticalLayout->setContentsMargins(11, 11, 11, 11);
|
||||
verticalLayout->setObjectName(QStringLiteral("verticalLayout"));
|
||||
verticalLayout->setContentsMargins(8, 8, 8, 8);
|
||||
connectionStringEdit = new QLineEdit(centralWidget);
|
||||
connectionStringEdit->setObjectName(QStringLiteral("connectionStringEdit"));
|
||||
|
||||
verticalLayout->addWidget(connectionStringEdit);
|
||||
|
||||
splitter = new QSplitter(centralWidget);
|
||||
splitter->setObjectName(QStringLiteral("splitter"));
|
||||
splitter->setOrientation(Qt::Vertical);
|
||||
queryEdit = new QTextEdit(splitter);
|
||||
queryEdit->setObjectName(QStringLiteral("queryEdit"));
|
||||
splitter->addWidget(queryEdit);
|
||||
tabWidget = new QTabWidget(splitter);
|
||||
tabWidget->setObjectName(QStringLiteral("tabWidget"));
|
||||
messageTab = new QWidget();
|
||||
messageTab->setObjectName(QStringLiteral("messageTab"));
|
||||
gridLayout_2 = new QGridLayout(messageTab);
|
||||
gridLayout_2->setSpacing(6);
|
||||
gridLayout_2->setContentsMargins(11, 11, 11, 11);
|
||||
gridLayout_2->setObjectName(QStringLiteral("gridLayout_2"));
|
||||
gridLayout_2->setContentsMargins(4, 4, 4, 4);
|
||||
messagesEdit = new QTextEdit(messageTab);
|
||||
messagesEdit->setObjectName(QStringLiteral("messagesEdit"));
|
||||
messagesEdit->setReadOnly(true);
|
||||
|
||||
gridLayout_2->addWidget(messagesEdit, 0, 0, 1, 1);
|
||||
|
||||
tabWidget->addTab(messageTab, QString());
|
||||
dataTab = new QWidget();
|
||||
dataTab->setObjectName(QStringLiteral("dataTab"));
|
||||
gridLayout = new QGridLayout(dataTab);
|
||||
gridLayout->setSpacing(6);
|
||||
gridLayout->setContentsMargins(11, 11, 11, 11);
|
||||
gridLayout->setObjectName(QStringLiteral("gridLayout"));
|
||||
gridLayout->setContentsMargins(4, 4, 4, 4);
|
||||
ResultView = new QTableView(dataTab);
|
||||
ResultView->setObjectName(QStringLiteral("ResultView"));
|
||||
QFont font;
|
||||
font.setFamily(QStringLiteral("Source Sans Pro"));
|
||||
font.setPointSize(10);
|
||||
ResultView->setFont(font);
|
||||
ResultView->setEditTriggers(QAbstractItemView::NoEditTriggers);
|
||||
ResultView->setAlternatingRowColors(true);
|
||||
ResultView->setVerticalScrollMode(QAbstractItemView::ScrollPerPixel);
|
||||
ResultView->setHorizontalScrollMode(QAbstractItemView::ScrollPerPixel);
|
||||
ResultView->setWordWrap(false);
|
||||
ResultView->verticalHeader()->setMinimumSectionSize(20);
|
||||
|
||||
gridLayout->addWidget(ResultView, 0, 0, 1, 1);
|
||||
|
||||
tabWidget->addTab(dataTab, QString());
|
||||
explainTab = new QWidget();
|
||||
explainTab->setObjectName(QStringLiteral("explainTab"));
|
||||
gridLayout_3 = new QGridLayout(explainTab);
|
||||
gridLayout_3->setSpacing(6);
|
||||
gridLayout_3->setContentsMargins(11, 11, 11, 11);
|
||||
gridLayout_3->setObjectName(QStringLiteral("gridLayout_3"));
|
||||
gridLayout_3->setContentsMargins(2, 2, 2, 2);
|
||||
explainTreeView = new QTreeView(explainTab);
|
||||
explainTreeView->setObjectName(QStringLiteral("explainTreeView"));
|
||||
explainTreeView->setEditTriggers(QAbstractItemView::NoEditTriggers);
|
||||
explainTreeView->setProperty("showDropIndicator", QVariant(false));
|
||||
explainTreeView->setAlternatingRowColors(true);
|
||||
explainTreeView->setIndentation(10);
|
||||
explainTreeView->setUniformRowHeights(false);
|
||||
explainTreeView->header()->setStretchLastSection(false);
|
||||
|
||||
gridLayout_3->addWidget(explainTreeView, 1, 0, 1, 1);
|
||||
|
||||
lblTimes = new QLabel(explainTab);
|
||||
lblTimes->setObjectName(QStringLiteral("lblTimes"));
|
||||
|
||||
gridLayout_3->addWidget(lblTimes, 0, 0, 1, 1);
|
||||
|
||||
tabWidget->addTab(explainTab, QString());
|
||||
logTab = new QWidget();
|
||||
logTab->setObjectName(QStringLiteral("logTab"));
|
||||
verticalLayout_2 = new QVBoxLayout(logTab);
|
||||
verticalLayout_2->setSpacing(6);
|
||||
verticalLayout_2->setContentsMargins(11, 11, 11, 11);
|
||||
verticalLayout_2->setObjectName(QStringLiteral("verticalLayout_2"));
|
||||
edtLog = new QPlainTextEdit(logTab);
|
||||
edtLog->setObjectName(QStringLiteral("edtLog"));
|
||||
|
||||
verticalLayout_2->addWidget(edtLog);
|
||||
|
||||
tabWidget->addTab(logTab, QString());
|
||||
splitter->addWidget(tabWidget);
|
||||
|
||||
verticalLayout->addWidget(splitter);
|
||||
|
||||
MainWindow->setCentralWidget(centralWidget);
|
||||
menuBar = new QMenuBar(MainWindow);
|
||||
menuBar->setObjectName(QStringLiteral("menuBar"));
|
||||
menuBar->setGeometry(QRect(0, 0, 726, 25));
|
||||
menuTest = new QMenu(menuBar);
|
||||
menuTest->setObjectName(QStringLiteral("menuTest"));
|
||||
menuHelp = new QMenu(menuBar);
|
||||
menuHelp->setObjectName(QStringLiteral("menuHelp"));
|
||||
MainWindow->setMenuBar(menuBar);
|
||||
mainToolBar = new QToolBar(MainWindow);
|
||||
mainToolBar->setObjectName(QStringLiteral("mainToolBar"));
|
||||
MainWindow->addToolBar(Qt::TopToolBarArea, mainToolBar);
|
||||
statusBar = new QStatusBar(MainWindow);
|
||||
statusBar->setObjectName(QStringLiteral("statusBar"));
|
||||
MainWindow->setStatusBar(statusBar);
|
||||
|
||||
menuBar->addAction(menuTest->menuAction());
|
||||
menuBar->addAction(menuHelp->menuAction());
|
||||
menuTest->addAction(actionLoad_SQL);
|
||||
menuTest->addAction(actionSave_SQL);
|
||||
menuTest->addAction(actionExport_data);
|
||||
menuTest->addSeparator();
|
||||
menuTest->addAction(actionClose);
|
||||
menuHelp->addAction(actionAbout);
|
||||
|
||||
retranslateUi(MainWindow);
|
||||
|
||||
tabWidget->setCurrentIndex(1);
|
||||
|
||||
|
||||
QMetaObject::connectSlotsByName(MainWindow);
|
||||
} // setupUi
|
||||
|
||||
void retranslateUi(QMainWindow *MainWindow)
|
||||
{
|
||||
MainWindow->setWindowTitle(QApplication::translate("MainWindow", "MainWindow", Q_NULLPTR));
|
||||
actionLoad_SQL->setText(QApplication::translate("MainWindow", "Load SQL", Q_NULLPTR));
|
||||
actionSave_SQL->setText(QApplication::translate("MainWindow", "Save SQL", Q_NULLPTR));
|
||||
actionExport_data->setText(QApplication::translate("MainWindow", "Export data", Q_NULLPTR));
|
||||
actionClose->setText(QApplication::translate("MainWindow", "Close", Q_NULLPTR));
|
||||
actionAbout->setText(QApplication::translate("MainWindow", "About", Q_NULLPTR));
|
||||
tabWidget->setTabText(tabWidget->indexOf(messageTab), QApplication::translate("MainWindow", "Messages", Q_NULLPTR));
|
||||
tabWidget->setTabText(tabWidget->indexOf(dataTab), QApplication::translate("MainWindow", "Data", Q_NULLPTR));
|
||||
lblTimes->setText(QString());
|
||||
tabWidget->setTabText(tabWidget->indexOf(explainTab), QApplication::translate("MainWindow", "Explain", Q_NULLPTR));
|
||||
tabWidget->setTabText(tabWidget->indexOf(logTab), QApplication::translate("MainWindow", "Log", Q_NULLPTR));
|
||||
menuTest->setTitle(QApplication::translate("MainWindow", "File", Q_NULLPTR));
|
||||
menuHelp->setTitle(QApplication::translate("MainWindow", "Help", Q_NULLPTR));
|
||||
} // retranslateUi
|
||||
|
||||
};
|
||||
|
||||
namespace Ui {
|
||||
class MainWindow: public Ui_MainWindow {};
|
||||
} // namespace Ui
|
||||
|
||||
QT_END_NAMESPACE
|
||||
|
||||
#endif // UI_MAINWINDOW_H
|
||||
|
|
@ -1,170 +0,0 @@
|
|||
/********************************************************************************
|
||||
** 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