/********************************************************************************
** Form generated from reading UI file 'connectionDialog.ui'
**
** Created by: Qt User Interface Compiler version 6.7.2
**
** WARNING! All changes made in this file will be lost when recompiling UI file!
********************************************************************************/

#ifndef UI_CONNECTIONDIALOG_H
#define UI_CONNECTIONDIALOG_H

#include <QtCore/QVariant>
#include <QtGui/QIcon>
#include <QtWidgets/QApplication>
#include <QtWidgets/QComboBox>
#include <QtWidgets/QDialog>
#include <QtWidgets/QGridLayout>
#include <QtWidgets/QHBoxLayout>
#include <QtWidgets/QHeaderView>
#include <QtWidgets/QLabel>
#include <QtWidgets/QLineEdit>
#include <QtWidgets/QPlainTextEdit>
#include <QtWidgets/QPushButton>
#include <QtWidgets/QSpacerItem>
#include <QtWidgets/QSplitter>
#include <QtWidgets/QTabWidget>
#include <QtWidgets/QTableWidget>
#include <QtWidgets/QVBoxLayout>
#include <QtWidgets/QWidget>

QT_BEGIN_NAMESPACE

class Ui_ConnectionDialog
{
public:
    QVBoxLayout *verticalLayout_3;
    QSplitter *splitter;
    QWidget *connectionIListWidget;
    QVBoxLayout *verticalLayout_2;
    QTableWidget *connectionList;
    QHBoxLayout *horizontalLayout_3;
    QPushButton *btnAdd;
    QSpacerItem *horizontalSpacer_2;
    QPushButton *btnRemove;
    QWidget *connectionInfoWidget;
    QVBoxLayout *verticalLayout;
    QTabWidget *tabWidget;
    QWidget *tab;
    QGridLayout *gridLayout;
    QComboBox *comboBox_dbType;
    QLineEdit *lineEdit_hostName;
    QLabel *label_hostName;
    QLabel *label_port;
    QLineEdit *lineEdit_userName;
    QLineEdit *lineEdit_password;
    QLabel *label_userName;
    QLabel *label_dbType;
    QLineEdit *lineEdit_connection;
    QLabel *label_connection;
    QLabel *label_password;
    QLabel *label_dbComment;
    QPlainTextEdit *plainTextEdit;
    QWidget *widget;
    QHBoxLayout *horizontalLayout_2;
    QLineEdit *lineEdit_port;
    QLabel *label_error;
    QWidget *tab_2;
    QHBoxLayout *horizontalLayout;
    QPushButton *btnSave;
    QSpacerItem *horizontalSpacer;
    QPushButton *btnOpen;
    QPushButton *btnCancle;

    void setupUi(QDialog *ConnectionDialog)
    {
        if (ConnectionDialog->objectName().isEmpty())
            ConnectionDialog->setObjectName("ConnectionDialog");
        ConnectionDialog->resize(681, 445);
        QIcon icon;
        icon.addFile(QString::fromUtf8(":/img/images/icon_database.png"), QSize(), QIcon::Mode::Normal, QIcon::State::Off);
        ConnectionDialog->setWindowIcon(icon);
        ConnectionDialog->setStyleSheet(QString::fromUtf8(""));
        verticalLayout_3 = new QVBoxLayout(ConnectionDialog);
        verticalLayout_3->setSpacing(0);
        verticalLayout_3->setObjectName("verticalLayout_3");
        verticalLayout_3->setContentsMargins(0, 0, 0, 0);
        splitter = new QSplitter(ConnectionDialog);
        splitter->setObjectName("splitter");
        splitter->setOrientation(Qt::Orientation::Horizontal);
        connectionIListWidget = new QWidget(splitter);
        connectionIListWidget->setObjectName("connectionIListWidget");
        verticalLayout_2 = new QVBoxLayout(connectionIListWidget);
        verticalLayout_2->setObjectName("verticalLayout_2");
        verticalLayout_2->setContentsMargins(-1, -1, 0, -1);
        connectionList = new QTableWidget(connectionIListWidget);
        if (connectionList->columnCount() < 2)
            connectionList->setColumnCount(2);
        QTableWidgetItem *__qtablewidgetitem = new QTableWidgetItem();
        connectionList->setHorizontalHeaderItem(0, __qtablewidgetitem);
        QTableWidgetItem *__qtablewidgetitem1 = new QTableWidgetItem();
        connectionList->setHorizontalHeaderItem(1, __qtablewidgetitem1);
        connectionList->setObjectName("connectionList");
        connectionList->setStyleSheet(QString::fromUtf8(""));
        connectionList->setShowGrid(false);
        connectionList->verticalHeader()->setVisible(false);

        verticalLayout_2->addWidget(connectionList);

        horizontalLayout_3 = new QHBoxLayout();
        horizontalLayout_3->setObjectName("horizontalLayout_3");
        btnAdd = new QPushButton(connectionIListWidget);
        btnAdd->setObjectName("btnAdd");
        btnAdd->setMinimumSize(QSize(86, 31));
        btnAdd->setMaximumSize(QSize(86, 31));
        QIcon icon1;
        icon1.addFile(QString::fromUtf8(":/img/images/icon_add.png"), QSize(), QIcon::Mode::Normal, QIcon::State::Off);
        btnAdd->setIcon(icon1);

        horizontalLayout_3->addWidget(btnAdd);

        horizontalSpacer_2 = new QSpacerItem(38, 28, QSizePolicy::Policy::Expanding, QSizePolicy::Policy::Minimum);

        horizontalLayout_3->addItem(horizontalSpacer_2);

        btnRemove = new QPushButton(connectionIListWidget);
        btnRemove->setObjectName("btnRemove");
        btnRemove->setMinimumSize(QSize(86, 31));
        btnRemove->setMaximumSize(QSize(86, 31));
        QIcon icon2;
        icon2.addFile(QString::fromUtf8(":/img/images/icon_remove.png"), QSize(), QIcon::Mode::Normal, QIcon::State::Off);
        btnRemove->setIcon(icon2);

        horizontalLayout_3->addWidget(btnRemove);


        verticalLayout_2->addLayout(horizontalLayout_3);

        splitter->addWidget(connectionIListWidget);
        connectionInfoWidget = new QWidget(splitter);
        connectionInfoWidget->setObjectName("connectionInfoWidget");
        verticalLayout = new QVBoxLayout(connectionInfoWidget);
        verticalLayout->setObjectName("verticalLayout");
        verticalLayout->setContentsMargins(9, 9, 9, 9);
        tabWidget = new QTabWidget(connectionInfoWidget);
        tabWidget->setObjectName("tabWidget");
        tabWidget->setStyleSheet(QString::fromUtf8(""));
        tab = new QWidget();
        tab->setObjectName("tab");
        gridLayout = new QGridLayout(tab);
        gridLayout->setObjectName("gridLayout");
        gridLayout->setHorizontalSpacing(0);
        gridLayout->setVerticalSpacing(10);
        gridLayout->setContentsMargins(18, 10, 18, 0);
        comboBox_dbType = new QComboBox(tab);
        QIcon icon3;
        icon3.addFile(QString::fromUtf8(":/img/images/icon_postgresql.png"), QSize(), QIcon::Mode::Normal, QIcon::State::Off);
        comboBox_dbType->addItem(icon3, QString());
        QIcon icon4;
        icon4.addFile(QString::fromUtf8(":/img/images/icon_mysql.png"), QSize(), QIcon::Mode::Normal, QIcon::State::Off);
        comboBox_dbType->addItem(icon4, QString());
        comboBox_dbType->setObjectName("comboBox_dbType");
        comboBox_dbType->setMinimumSize(QSize(0, 26));
        comboBox_dbType->setMaximumSize(QSize(16777215, 26));

        gridLayout->addWidget(comboBox_dbType, 8, 1, 1, 1);

        lineEdit_hostName = new QLineEdit(tab);
        lineEdit_hostName->setObjectName("lineEdit_hostName");
        lineEdit_hostName->setMinimumSize(QSize(0, 21));
        lineEdit_hostName->setMaximumSize(QSize(16777215, 21));
        lineEdit_hostName->setMaxLength(30);

        gridLayout->addWidget(lineEdit_hostName, 2, 1, 1, 1);

        label_hostName = new QLabel(tab);
        label_hostName->setObjectName("label_hostName");
        label_hostName->setMinimumSize(QSize(91, 21));
        label_hostName->setMaximumSize(QSize(91, 21));

        gridLayout->addWidget(label_hostName, 2, 0, 1, 1);

        label_port = new QLabel(tab);
        label_port->setObjectName("label_port");
        label_port->setMinimumSize(QSize(91, 21));
        label_port->setMaximumSize(QSize(91, 21));

        gridLayout->addWidget(label_port, 4, 0, 1, 1);

        lineEdit_userName = new QLineEdit(tab);
        lineEdit_userName->setObjectName("lineEdit_userName");
        lineEdit_userName->setMinimumSize(QSize(0, 21));
        lineEdit_userName->setMaximumSize(QSize(16777215, 21));
        lineEdit_userName->setMaxLength(30);

        gridLayout->addWidget(lineEdit_userName, 5, 1, 1, 1);

        lineEdit_password = new QLineEdit(tab);
        lineEdit_password->setObjectName("lineEdit_password");
        lineEdit_password->setMinimumSize(QSize(0, 21));
        lineEdit_password->setMaximumSize(QSize(16777215, 21));
        lineEdit_password->setMaxLength(30);
        lineEdit_password->setEchoMode(QLineEdit::EchoMode::Password);

        gridLayout->addWidget(lineEdit_password, 6, 1, 1, 1);

        label_userName = new QLabel(tab);
        label_userName->setObjectName("label_userName");
        label_userName->setMinimumSize(QSize(91, 21));
        label_userName->setMaximumSize(QSize(91, 21));

        gridLayout->addWidget(label_userName, 5, 0, 1, 1);

        label_dbType = new QLabel(tab);
        label_dbType->setObjectName("label_dbType");
        label_dbType->setMinimumSize(QSize(91, 21));
        label_dbType->setMaximumSize(QSize(91, 21));

        gridLayout->addWidget(label_dbType, 8, 0, 1, 1);

        lineEdit_connection = new QLineEdit(tab);
        lineEdit_connection->setObjectName("lineEdit_connection");
        lineEdit_connection->setMinimumSize(QSize(0, 21));
        lineEdit_connection->setMaximumSize(QSize(16777215, 21));
        lineEdit_connection->setMaxLength(30);

        gridLayout->addWidget(lineEdit_connection, 0, 1, 1, 1);

        label_connection = new QLabel(tab);
        label_connection->setObjectName("label_connection");
        label_connection->setMinimumSize(QSize(91, 21));
        label_connection->setMaximumSize(QSize(91, 21));

        gridLayout->addWidget(label_connection, 0, 0, 1, 1);

        label_password = new QLabel(tab);
        label_password->setObjectName("label_password");
        label_password->setMinimumSize(QSize(91, 21));
        label_password->setMaximumSize(QSize(91, 21));

        gridLayout->addWidget(label_password, 6, 0, 1, 1);

        label_dbComment = new QLabel(tab);
        label_dbComment->setObjectName("label_dbComment");
        label_dbComment->setMinimumSize(QSize(91, 21));
        label_dbComment->setMaximumSize(QSize(91, 21));

        gridLayout->addWidget(label_dbComment, 9, 0, 1, 1);

        plainTextEdit = new QPlainTextEdit(tab);
        plainTextEdit->setObjectName("plainTextEdit");
        plainTextEdit->setStyleSheet(QString::fromUtf8(""));

        gridLayout->addWidget(plainTextEdit, 9, 1, 1, 1);

        widget = new QWidget(tab);
        widget->setObjectName("widget");
        horizontalLayout_2 = new QHBoxLayout(widget);
        horizontalLayout_2->setObjectName("horizontalLayout_2");
        horizontalLayout_2->setContentsMargins(0, 0, 0, 0);
        lineEdit_port = new QLineEdit(widget);
        lineEdit_port->setObjectName("lineEdit_port");
        lineEdit_port->setMinimumSize(QSize(51, 21));
        lineEdit_port->setMaximumSize(QSize(51, 21));

        horizontalLayout_2->addWidget(lineEdit_port);

        label_error = new QLabel(widget);
        label_error->setObjectName("label_error");
        label_error->setStyleSheet(QString::fromUtf8("color: rgb(255, 0, 0);"));
        label_error->setAlignment(Qt::AlignmentFlag::AlignCenter);

        horizontalLayout_2->addWidget(label_error);


        gridLayout->addWidget(widget, 4, 1, 1, 1);

        QIcon icon5;
        icon5.addFile(QString::fromUtf8(":/img/images/icon_setting.png"), QSize(), QIcon::Mode::Normal, QIcon::State::Off);
        tabWidget->addTab(tab, icon5, QString());
        tab_2 = new QWidget();
        tab_2->setObjectName("tab_2");
        QIcon icon6;
        icon6.addFile(QString::fromUtf8(":/img/images/icon_statistics.png"), QSize(), QIcon::Mode::Normal, QIcon::State::Off);
        tabWidget->addTab(tab_2, icon6, QString());

        verticalLayout->addWidget(tabWidget);

        horizontalLayout = new QHBoxLayout();
        horizontalLayout->setObjectName("horizontalLayout");
        btnSave = new QPushButton(connectionInfoWidget);
        btnSave->setObjectName("btnSave");
        btnSave->setMinimumSize(QSize(86, 31));
        btnSave->setMaximumSize(QSize(86, 31));

        horizontalLayout->addWidget(btnSave);

        horizontalSpacer = new QSpacerItem(40, 20, QSizePolicy::Policy::Expanding, QSizePolicy::Policy::Minimum);

        horizontalLayout->addItem(horizontalSpacer);

        btnOpen = new QPushButton(connectionInfoWidget);
        btnOpen->setObjectName("btnOpen");
        btnOpen->setMinimumSize(QSize(86, 31));
        btnOpen->setMaximumSize(QSize(86, 31));

        horizontalLayout->addWidget(btnOpen);

        btnCancle = new QPushButton(connectionInfoWidget);
        btnCancle->setObjectName("btnCancle");
        btnCancle->setMinimumSize(QSize(86, 31));
        btnCancle->setMaximumSize(QSize(86, 31));

        horizontalLayout->addWidget(btnCancle);


        verticalLayout->addLayout(horizontalLayout);

        splitter->addWidget(connectionInfoWidget);

        verticalLayout_3->addWidget(splitter);


        retranslateUi(ConnectionDialog);

        tabWidget->setCurrentIndex(0);


        QMetaObject::connectSlotsByName(ConnectionDialog);
    } // setupUi

    void retranslateUi(QDialog *ConnectionDialog)
    {
        ConnectionDialog->setWindowTitle(QCoreApplication::translate("ConnectionDialog", "\344\274\232\350\257\235\347\256\241\347\220\206", nullptr));
        QTableWidgetItem *___qtablewidgetitem = connectionList->horizontalHeaderItem(0);
        ___qtablewidgetitem->setText(QCoreApplication::translate("ConnectionDialog", "\345\220\215\347\247\260", nullptr));
        QTableWidgetItem *___qtablewidgetitem1 = connectionList->horizontalHeaderItem(1);
        ___qtablewidgetitem1->setText(QCoreApplication::translate("ConnectionDialog", "\345\244\207\346\263\250", nullptr));
        btnAdd->setText(QCoreApplication::translate("ConnectionDialog", "\346\267\273\345\212\240", nullptr));
        btnRemove->setText(QCoreApplication::translate("ConnectionDialog", "\345\210\240\351\231\244", nullptr));
        comboBox_dbType->setItemText(0, QCoreApplication::translate("ConnectionDialog", "PostgreSQL", nullptr));
        comboBox_dbType->setItemText(1, QCoreApplication::translate("ConnectionDialog", "MySQL", nullptr));

        label_hostName->setText(QCoreApplication::translate("ConnectionDialog", "\344\270\273\346\234\272\345\220\215/IP\345\234\260\345\235\200\357\274\232", nullptr));
        label_port->setText(QCoreApplication::translate("ConnectionDialog", "\347\253\257\345\217\243\345\217\267\357\274\232", nullptr));
        label_userName->setText(QCoreApplication::translate("ConnectionDialog", "\347\224\250\346\210\267\345\220\215\357\274\232", nullptr));
        label_dbType->setText(QCoreApplication::translate("ConnectionDialog", "\346\225\260\346\215\256\345\272\223\347\261\273\345\236\213\357\274\232", nullptr));
        label_connection->setText(QCoreApplication::translate("ConnectionDialog", "\351\223\276\346\216\245\345\220\215\347\247\260\357\274\232", nullptr));
        label_password->setText(QCoreApplication::translate("ConnectionDialog", "\345\257\206\347\240\201\357\274\232", nullptr));
        label_dbComment->setText(QCoreApplication::translate("ConnectionDialog", "\345\244\207\346\263\250\357\274\232", nullptr));
        lineEdit_port->setText(QCoreApplication::translate("ConnectionDialog", "5432", nullptr));
        label_error->setText(QString());
        tabWidget->setTabText(tabWidget->indexOf(tab), QCoreApplication::translate("ConnectionDialog", "\351\205\215\347\275\256", nullptr));
        tabWidget->setTabText(tabWidget->indexOf(tab_2), QCoreApplication::translate("ConnectionDialog", "\347\273\237\350\256\241", nullptr));
        btnSave->setText(QCoreApplication::translate("ConnectionDialog", "\344\277\235\345\255\230", nullptr));
        btnOpen->setText(QCoreApplication::translate("ConnectionDialog", "\346\211\223\345\274\200", nullptr));
        btnCancle->setText(QCoreApplication::translate("ConnectionDialog", "\345\217\226\346\266\210", nullptr));
    } // retranslateUi

};

namespace Ui {
    class ConnectionDialog: public Ui_ConnectionDialog {};
} // namespace Ui

QT_END_NAMESPACE

#endif // UI_CONNECTIONDIALOG_H
