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

#ifndef UI_ISETUPDATABASE_H
#define UI_ISETUPDATABASE_H

#include <QtCore/QVariant>
#include <QtGui/QIcon>
#include <QtWidgets/QAbstractButton>
#include <QtWidgets/QApplication>
#include <QtWidgets/QButtonGroup>
#include <QtWidgets/QCheckBox>
#include <QtWidgets/QDialog>
#include <QtWidgets/QDialogButtonBox>
#include <QtWidgets/QFormLayout>
#include <QtWidgets/QFrame>
#include <QtWidgets/QGridLayout>
#include <QtWidgets/QHBoxLayout>
#include <QtWidgets/QLabel>
#include <QtWidgets/QLineEdit>
#include <QtWidgets/QRadioButton>
#include <QtWidgets/QSpacerItem>
#include <QtWidgets/QToolButton>
#include <QtWidgets/QVBoxLayout>

QT_BEGIN_NAMESPACE

class Ui_ISetupDatabase
{
public:
    QVBoxLayout *verticalLayout;
    QGridLayout *gridLayout;
    QLineEdit *lineName;
    QLabel *label_2;
    QFrame *line;
    QFrame *line_2;
    QFrame *frameSqlite;
    QHBoxLayout *horizontalLayout_2;
    QLabel *label_5;
    QLabel *labelFilename;
    QToolButton *toolNewDB;
    QToolButton *toolAddDB;
    QFrame *frame;
    QVBoxLayout *verticalLayout_2;
    QRadioButton *radioMysql;
    QSpacerItem *verticalSpacer_2;
    QFrame *frame_2;
    QVBoxLayout *verticalLayout_3;
    QRadioButton *radioSqlite;
    QFrame *frameMysql;
    QFormLayout *formLayout;
    QLabel *label;
    QHBoxLayout *horizontalLayout;
    QLineEdit *lineServer;
    QLabel *label_7;
    QLineEdit *linePort;
    QLabel *label_3;
    QLineEdit *lineUser;
    QLabel *label_4;
    QLineEdit *linePasswd;
    QCheckBox *checkMySQLNoPasswd;
    QLabel *label_6;
    QSpacerItem *verticalSpacer;
    QLabel *label_8;
    QDialogButtonBox *buttonBox;
    QButtonGroup *buttonGroup;

    void setupUi(QDialog *ISetupDatabase)
    {
        if (ISetupDatabase->objectName().isEmpty())
            ISetupDatabase->setObjectName("ISetupDatabase");
        ISetupDatabase->resize(500, 412);
        verticalLayout = new QVBoxLayout(ISetupDatabase);
        verticalLayout->setObjectName("verticalLayout");
        gridLayout = new QGridLayout();
        gridLayout->setObjectName("gridLayout");
        lineName = new QLineEdit(ISetupDatabase);
        lineName->setObjectName("lineName");

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

        label_2 = new QLabel(ISetupDatabase);
        label_2->setObjectName("label_2");

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

        line = new QFrame(ISetupDatabase);
        line->setObjectName("line");
        line->setFrameShape(QFrame::Shape::HLine);
        line->setFrameShadow(QFrame::Shadow::Sunken);

        gridLayout->addWidget(line, 1, 1, 1, 1);

        line_2 = new QFrame(ISetupDatabase);
        line_2->setObjectName("line_2");
        line_2->setFrameShape(QFrame::Shape::HLine);
        line_2->setFrameShadow(QFrame::Shadow::Sunken);

        gridLayout->addWidget(line_2, 3, 1, 1, 1);

        frameSqlite = new QFrame(ISetupDatabase);
        frameSqlite->setObjectName("frameSqlite");
        frameSqlite->setFrameShape(QFrame::NoFrame);
        frameSqlite->setFrameShadow(QFrame::Plain);
        horizontalLayout_2 = new QHBoxLayout(frameSqlite);
        horizontalLayout_2->setObjectName("horizontalLayout_2");
        label_5 = new QLabel(frameSqlite);
        label_5->setObjectName("label_5");
        QSizePolicy sizePolicy(QSizePolicy::Policy::Maximum, QSizePolicy::Policy::Preferred);
        sizePolicy.setHorizontalStretch(0);
        sizePolicy.setVerticalStretch(0);
        sizePolicy.setHeightForWidth(label_5->sizePolicy().hasHeightForWidth());
        label_5->setSizePolicy(sizePolicy);

        horizontalLayout_2->addWidget(label_5);

        labelFilename = new QLabel(frameSqlite);
        labelFilename->setObjectName("labelFilename");

        horizontalLayout_2->addWidget(labelFilename);

        toolNewDB = new QToolButton(frameSqlite);
        toolNewDB->setObjectName("toolNewDB");
        QIcon icon;
        icon.addFile(QString::fromUtf8(":/icons/32x32/Add.png"), QSize(), QIcon::Mode::Normal, QIcon::State::Off);
        toolNewDB->setIcon(icon);

        horizontalLayout_2->addWidget(toolNewDB);

        toolAddDB = new QToolButton(frameSqlite);
        toolAddDB->setObjectName("toolAddDB");
        QIcon icon1;
        icon1.addFile(QString::fromUtf8(":/icons/32x32/PathBlue.png"), QSize(), QIcon::Mode::Normal, QIcon::State::Off);
        toolAddDB->setIcon(icon1);

        horizontalLayout_2->addWidget(toolAddDB);


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

        frame = new QFrame(ISetupDatabase);
        frame->setObjectName("frame");
        frame->setFrameShape(QFrame::NoFrame);
        frame->setFrameShadow(QFrame::Plain);
        verticalLayout_2 = new QVBoxLayout(frame);
        verticalLayout_2->setObjectName("verticalLayout_2");
        radioMysql = new QRadioButton(frame);
        buttonGroup = new QButtonGroup(ISetupDatabase);
        buttonGroup->setObjectName("buttonGroup");
        buttonGroup->addButton(radioMysql);
        radioMysql->setObjectName("radioMysql");
        radioMysql->setAutoExclusive(true);

        verticalLayout_2->addWidget(radioMysql);

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

        verticalLayout_2->addItem(verticalSpacer_2);


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

        frame_2 = new QFrame(ISetupDatabase);
        frame_2->setObjectName("frame_2");
        frame_2->setFrameShape(QFrame::NoFrame);
        frame_2->setFrameShadow(QFrame::Plain);
        verticalLayout_3 = new QVBoxLayout(frame_2);
        verticalLayout_3->setObjectName("verticalLayout_3");
        radioSqlite = new QRadioButton(frame_2);
        buttonGroup->addButton(radioSqlite);
        radioSqlite->setObjectName("radioSqlite");
        radioSqlite->setChecked(true);
        radioSqlite->setAutoExclusive(true);

        verticalLayout_3->addWidget(radioSqlite);


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

        frameMysql = new QFrame(ISetupDatabase);
        frameMysql->setObjectName("frameMysql");
        frameMysql->setFrameShape(QFrame::NoFrame);
        frameMysql->setFrameShadow(QFrame::Plain);
        formLayout = new QFormLayout(frameMysql);
        formLayout->setObjectName("formLayout");
        label = new QLabel(frameMysql);
        label->setObjectName("label");

        formLayout->setWidget(0, QFormLayout::ItemRole::LabelRole, label);

        horizontalLayout = new QHBoxLayout();
        horizontalLayout->setObjectName("horizontalLayout");
        lineServer = new QLineEdit(frameMysql);
        lineServer->setObjectName("lineServer");

        horizontalLayout->addWidget(lineServer);

        label_7 = new QLabel(frameMysql);
        label_7->setObjectName("label_7");

        horizontalLayout->addWidget(label_7);

        linePort = new QLineEdit(frameMysql);
        linePort->setObjectName("linePort");
        QSizePolicy sizePolicy1(QSizePolicy::Policy::Maximum, QSizePolicy::Policy::Fixed);
        sizePolicy1.setHorizontalStretch(0);
        sizePolicy1.setVerticalStretch(0);
        sizePolicy1.setHeightForWidth(linePort->sizePolicy().hasHeightForWidth());
        linePort->setSizePolicy(sizePolicy1);

        horizontalLayout->addWidget(linePort);


        formLayout->setLayout(0, QFormLayout::ItemRole::FieldRole, horizontalLayout);

        label_3 = new QLabel(frameMysql);
        label_3->setObjectName("label_3");

        formLayout->setWidget(1, QFormLayout::ItemRole::LabelRole, label_3);

        lineUser = new QLineEdit(frameMysql);
        lineUser->setObjectName("lineUser");

        formLayout->setWidget(1, QFormLayout::ItemRole::FieldRole, lineUser);

        label_4 = new QLabel(frameMysql);
        label_4->setObjectName("label_4");

        formLayout->setWidget(2, QFormLayout::ItemRole::LabelRole, label_4);

        linePasswd = new QLineEdit(frameMysql);
        linePasswd->setObjectName("linePasswd");
        linePasswd->setEchoMode(QLineEdit::Password);

        formLayout->setWidget(2, QFormLayout::ItemRole::FieldRole, linePasswd);

        checkMySQLNoPasswd = new QCheckBox(frameMysql);
        checkMySQLNoPasswd->setObjectName("checkMySQLNoPasswd");

        formLayout->setWidget(3, QFormLayout::ItemRole::FieldRole, checkMySQLNoPasswd);

        label_6 = new QLabel(frameMysql);
        label_6->setObjectName("label_6");
        QSizePolicy sizePolicy2(QSizePolicy::Policy::Preferred, QSizePolicy::Policy::Expanding);
        sizePolicy2.setHorizontalStretch(0);
        sizePolicy2.setVerticalStretch(0);
        sizePolicy2.setHeightForWidth(label_6->sizePolicy().hasHeightForWidth());
        label_6->setSizePolicy(sizePolicy2);
        label_6->setWordWrap(true);

        formLayout->setWidget(4, QFormLayout::ItemRole::FieldRole, label_6);

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

        formLayout->setItem(6, QFormLayout::ItemRole::FieldRole, verticalSpacer);

        label_8 = new QLabel(frameMysql);
        label_8->setObjectName("label_8");
        label_8->setWordWrap(true);

        formLayout->setWidget(5, QFormLayout::ItemRole::FieldRole, label_8);


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


        verticalLayout->addLayout(gridLayout);

        buttonBox = new QDialogButtonBox(ISetupDatabase);
        buttonBox->setObjectName("buttonBox");
        buttonBox->setOrientation(Qt::Horizontal);
        buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Ok);

        verticalLayout->addWidget(buttonBox);


        retranslateUi(ISetupDatabase);
        QObject::connect(buttonBox, &QDialogButtonBox::accepted, ISetupDatabase, qOverload<>(&QDialog::accept));
        QObject::connect(buttonBox, &QDialogButtonBox::rejected, ISetupDatabase, qOverload<>(&QDialog::reject));

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

    void retranslateUi(QDialog *ISetupDatabase)
    {
        ISetupDatabase->setWindowTitle(QCoreApplication::translate("ISetupDatabase", "Add database...", nullptr));
        label_2->setText(QCoreApplication::translate("ISetupDatabase", "Name", nullptr));
        label_5->setText(QCoreApplication::translate("ISetupDatabase", "File:", nullptr));
        labelFilename->setText(QCoreApplication::translate("ISetupDatabase", "-", nullptr));
#if QT_CONFIG(tooltip)
        toolNewDB->setToolTip(QCoreApplication::translate("ISetupDatabase", "Add new database.", nullptr));
#endif // QT_CONFIG(tooltip)
        toolNewDB->setText(QCoreApplication::translate("ISetupDatabase", "...", nullptr));
#if QT_CONFIG(tooltip)
        toolAddDB->setToolTip(QCoreApplication::translate("ISetupDatabase", "Open existing database.", nullptr));
#endif // QT_CONFIG(tooltip)
        toolAddDB->setText(QCoreApplication::translate("ISetupDatabase", "...", nullptr));
        radioMysql->setText(QCoreApplication::translate("ISetupDatabase", "MySQL", nullptr));
        radioSqlite->setText(QCoreApplication::translate("ISetupDatabase", "SQLite", nullptr));
        label->setText(QCoreApplication::translate("ISetupDatabase", "Server", nullptr));
        label_7->setText(QCoreApplication::translate("ISetupDatabase", "Port", nullptr));
        linePort->setInputMask(QCoreApplication::translate("ISetupDatabase", "00000", nullptr));
        label_3->setText(QCoreApplication::translate("ISetupDatabase", "User", nullptr));
        label_4->setText(QCoreApplication::translate("ISetupDatabase", "Password", nullptr));
        checkMySQLNoPasswd->setText(QCoreApplication::translate("ISetupDatabase", "Do not use a password.", nullptr));
        label_6->setText(QCoreApplication::translate("ISetupDatabase", "<p align=\"justify\"><span style=\" font-weight:600;\">Caution!</span> It is recommended to leave the password blank, as QMapShack will store it as plain text. If you don't give a password you will be asked for it on each startup.</p>", nullptr));
        label_8->setText(QCoreApplication::translate("ISetupDatabase", "<b>Port:</b> Leave the port field empty to use the default port.", nullptr));
    } // retranslateUi

};

namespace Ui {
    class ISetupDatabase: public Ui_ISetupDatabase {};
} // namespace Ui

QT_END_NAMESPACE

#endif // UI_ISETUPDATABASE_H
