/********************************************************************************
** 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/QLabel>
#include <QtWidgets/QLineEdit>
#include <QtWidgets/QPushButton>
#include <QtWidgets/QSpacerItem>
#include <QtWidgets/QTabWidget>
#include <QtWidgets/QVBoxLayout>
#include <QtWidgets/QWidget>

QT_BEGIN_NAMESPACE

class Ui_ConnectionDialog
{
public:
    QVBoxLayout *verticalLayout;
    QTabWidget *tabWidget;
    QWidget *tab;
    QGridLayout *gridLayout;
    QLabel *label_connection;
    QLabel *label_hostName;
    QLineEdit *lineEdit_password;
    QLabel *label_password;
    QLabel *label_userName;
    QLabel *label_dbType;
    QLineEdit *lineEdit_connection;
    QLineEdit *lineEdit_hostName;
    QLabel *label_port;
    QLineEdit *lineEdit_userName;
    QComboBox *comboBox_dbType;
    QWidget *widget;
    QHBoxLayout *horizontalLayout_2;
    QLineEdit *lineEdit_port;
    QLabel *label_error;
    QWidget *tab_2;
    QHBoxLayout *horizontalLayout;
    QSpacerItem *horizontalSpacer;
    QPushButton *btnOpen;
    QPushButton *btnCancle;

    void setupUi(QDialog *ConnectionDialog)
    {
        if (ConnectionDialog->objectName().isEmpty())
            ConnectionDialog->setObjectName("ConnectionDialog");
        ConnectionDialog->resize(379, 324);
        QIcon icon;
        icon.addFile(QString::fromUtf8(":/img/images/icon_database.png"), QSize(), QIcon::Mode::Normal, QIcon::State::Off);
        ConnectionDialog->setWindowIcon(icon);
        verticalLayout = new QVBoxLayout(ConnectionDialog);
        verticalLayout->setObjectName("verticalLayout");
        tabWidget = new QTabWidget(ConnectionDialog);
        tabWidget->setObjectName("tabWidget");
        tab = new QWidget();
        tab->setObjectName("tab");
        gridLayout = new QGridLayout(tab);
        gridLayout->setSpacing(0);
        gridLayout->setObjectName("gridLayout");
        gridLayout->setContentsMargins(18, 0, 18, 0);
        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_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);

        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_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_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);

        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_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);

        comboBox_dbType = new QComboBox(tab);
        QIcon icon1;
        icon1.addFile(QString::fromUtf8(":/img/images/icon_postgresql.png"), QSize(), QIcon::Mode::Normal, QIcon::State::Off);
        comboBox_dbType->addItem(icon1, QString());
        QIcon icon2;
        icon2.addFile(QString::fromUtf8(":/img/images/icon_mysql.png"), QSize(), QIcon::Mode::Normal, QIcon::State::Off);
        comboBox_dbType->addItem(icon2, 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);

        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 icon3;
        icon3.addFile(QString::fromUtf8(":/img/images/icon_setting.png"), QSize(), QIcon::Mode::Normal, QIcon::State::Off);
        tabWidget->addTab(tab, icon3, QString());
        tab_2 = new QWidget();
        tab_2->setObjectName("tab_2");
        QIcon icon4;
        icon4.addFile(QString::fromUtf8(":/img/images/icon_statistics.png"), QSize(), QIcon::Mode::Normal, QIcon::State::Off);
        tabWidget->addTab(tab_2, icon4, QString());

        verticalLayout->addWidget(tabWidget);

        horizontalLayout = new QHBoxLayout();
        horizontalLayout->setObjectName("horizontalLayout");
        horizontalSpacer = new QSpacerItem(40, 20, QSizePolicy::Policy::Expanding, QSizePolicy::Policy::Minimum);

        horizontalLayout->addItem(horizontalSpacer);

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

        horizontalLayout->addWidget(btnOpen);

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

        horizontalLayout->addWidget(btnCancle);


        verticalLayout->addLayout(horizontalLayout);


        retranslateUi(ConnectionDialog);

        tabWidget->setCurrentIndex(0);


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

    void retranslateUi(QDialog *ConnectionDialog)
    {
        ConnectionDialog->setWindowTitle(QCoreApplication::translate("ConnectionDialog", "\346\226\260\345\273\272\351\223\276\346\216\245", nullptr));
        label_connection->setText(QCoreApplication::translate("ConnectionDialog", "\351\223\276\346\216\245\345\220\215\347\247\260\357\274\232", 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_password->setText(QCoreApplication::translate("ConnectionDialog", "\345\257\206\347\240\201\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_port->setText(QCoreApplication::translate("ConnectionDialog", "\347\253\257\345\217\243\345\217\267\357\274\232", nullptr));
        comboBox_dbType->setItemText(0, QCoreApplication::translate("ConnectionDialog", "PostgreSQL", nullptr));
        comboBox_dbType->setItemText(1, QCoreApplication::translate("ConnectionDialog", "MySQL", 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));
        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
