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

#ifndef UI_DATABASECONFIG_H
#define UI_DATABASECONFIG_H

#include <QtCore/QVariant>
#include <QtWidgets/QApplication>
#include <QtWidgets/QCheckBox>
#include <QtWidgets/QFrame>
#include <QtWidgets/QGridLayout>
#include <QtWidgets/QGroupBox>
#include <QtWidgets/QLabel>
#include <QtWidgets/QLineEdit>
#include <QtWidgets/QPlainTextEdit>
#include <QtWidgets/QPushButton>
#include <QtWidgets/QSpacerItem>
#include <QtWidgets/QSpinBox>
#include <QtWidgets/QVBoxLayout>
#include <QtWidgets/QWidget>
#include <klocalizedstring.h>

QT_BEGIN_NAMESPACE

class Ui_DatabaseConfig
{
public:
    QGridLayout *gridLayout;
    QCheckBox *kcfg_UseServer;
    QGroupBox *group_Connection;
    QVBoxLayout *verticalLayout_3;
    QGridLayout *gridLayout_3;
    QLabel *label_Host;
    QLineEdit *kcfg_Host;
    QLabel *label_Port;
    QSpinBox *kcfg_Port;
    QLabel *label_User;
    QLineEdit *kcfg_Password;
    QLabel *label_Password;
    QLineEdit *kcfg_User;
    QLabel *label_Database;
    QLineEdit *kcfg_Database;
    QPushButton *button_Test;
    QFrame *frame_info;
    QVBoxLayout *verticalLayout;
    QLabel *label_Info;
    QLabel *label_SQL;
    QPlainTextEdit *text_SQL;
    QSpacerItem *spacer;

    void setupUi(QWidget *DatabaseConfig)
    {
        if (DatabaseConfig->objectName().isEmpty())
            DatabaseConfig->setObjectName("DatabaseConfig");
        DatabaseConfig->resize(339, 500);
        gridLayout = new QGridLayout(DatabaseConfig);
        gridLayout->setObjectName("gridLayout");
        kcfg_UseServer = new QCheckBox(DatabaseConfig);
        kcfg_UseServer->setObjectName("kcfg_UseServer");

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

        group_Connection = new QGroupBox(DatabaseConfig);
        group_Connection->setObjectName("group_Connection");
        verticalLayout_3 = new QVBoxLayout(group_Connection);
        verticalLayout_3->setObjectName("verticalLayout_3");
        gridLayout_3 = new QGridLayout();
        gridLayout_3->setObjectName("gridLayout_3");
        label_Host = new QLabel(group_Connection);
        label_Host->setObjectName("label_Host");
        label_Host->setTextFormat(Qt::AutoText);
        label_Host->setAlignment(Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter);

        gridLayout_3->addWidget(label_Host, 0, 0, 1, 1);

        kcfg_Host = new QLineEdit(group_Connection);
        kcfg_Host->setObjectName("kcfg_Host");
        kcfg_Host->setText(QString::fromUtf8(""));

        gridLayout_3->addWidget(kcfg_Host, 0, 1, 1, 3);

        label_Port = new QLabel(group_Connection);
        label_Port->setObjectName("label_Port");
        QSizePolicy sizePolicy(QSizePolicy::Policy::Maximum, QSizePolicy::Policy::Preferred);
        sizePolicy.setHorizontalStretch(0);
        sizePolicy.setVerticalStretch(0);
        sizePolicy.setHeightForWidth(label_Port->sizePolicy().hasHeightForWidth());
        label_Port->setSizePolicy(sizePolicy);
        label_Port->setTextFormat(Qt::AutoText);
        label_Port->setAlignment(Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter);
        label_Port->setMargin(2);

        gridLayout_3->addWidget(label_Port, 0, 4, 1, 1);

        kcfg_Port = new QSpinBox(group_Connection);
        kcfg_Port->setObjectName("kcfg_Port");
        kcfg_Port->setMaximum(65535);

        gridLayout_3->addWidget(kcfg_Port, 0, 5, 1, 1);

        label_User = new QLabel(group_Connection);
        label_User->setObjectName("label_User");
        label_User->setTextFormat(Qt::AutoText);
        label_User->setAlignment(Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter);

        gridLayout_3->addWidget(label_User, 1, 0, 1, 1);

        kcfg_Password = new QLineEdit(group_Connection);
        kcfg_Password->setObjectName("kcfg_Password");
        kcfg_Password->setInputMask(QString::fromUtf8(""));
        kcfg_Password->setText(QString::fromUtf8(""));
        kcfg_Password->setEchoMode(QLineEdit::Password);

        gridLayout_3->addWidget(kcfg_Password, 2, 1, 1, 5);

        label_Password = new QLabel(group_Connection);
        label_Password->setObjectName("label_Password");
        label_Password->setTextFormat(Qt::AutoText);
        label_Password->setAlignment(Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter);

        gridLayout_3->addWidget(label_Password, 2, 0, 1, 1);

        kcfg_User = new QLineEdit(group_Connection);
        kcfg_User->setObjectName("kcfg_User");
        kcfg_User->setText(QString::fromUtf8(""));

        gridLayout_3->addWidget(kcfg_User, 1, 1, 1, 5);

        label_Database = new QLabel(group_Connection);
        label_Database->setObjectName("label_Database");
        label_Database->setTextFormat(Qt::AutoText);
        label_Database->setAlignment(Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter);

        gridLayout_3->addWidget(label_Database, 3, 0, 1, 1);

        kcfg_Database = new QLineEdit(group_Connection);
        kcfg_Database->setObjectName("kcfg_Database");
        kcfg_Database->setText(QString::fromUtf8(""));

        gridLayout_3->addWidget(kcfg_Database, 3, 1, 1, 5);

        button_Test = new QPushButton(group_Connection);
        button_Test->setObjectName("button_Test");

        gridLayout_3->addWidget(button_Test, 4, 1, 1, 5);


        verticalLayout_3->addLayout(gridLayout_3);

        frame_info = new QFrame(group_Connection);
        frame_info->setObjectName("frame_info");
        frame_info->setFrameShape(QFrame::StyledPanel);
        frame_info->setFrameShadow(QFrame::Raised);
        verticalLayout = new QVBoxLayout(frame_info);
        verticalLayout->setObjectName("verticalLayout");
        label_Info = new QLabel(frame_info);
        label_Info->setObjectName("label_Info");
        label_Info->setWordWrap(true);

        verticalLayout->addWidget(label_Info);

        label_SQL = new QLabel(frame_info);
        label_SQL->setObjectName("label_SQL");
        label_SQL->setWordWrap(true);

        verticalLayout->addWidget(label_SQL);

        text_SQL = new QPlainTextEdit(frame_info);
        text_SQL->setObjectName("text_SQL");
        text_SQL->viewport()->setProperty("cursor", QVariant(QCursor(Qt::CursorShape::ArrowCursor)));
        text_SQL->setAcceptDrops(false);
        text_SQL->setReadOnly(true);

        verticalLayout->addWidget(text_SQL);


        verticalLayout_3->addWidget(frame_info);

        spacer = new QSpacerItem(0, 0, QSizePolicy::Policy::Minimum, QSizePolicy::Policy::Expanding);

        verticalLayout_3->addItem(spacer);


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

#if QT_CONFIG(shortcut)
        label_Host->setBuddy(kcfg_Host);
        label_Port->setBuddy(kcfg_Port);
        label_User->setBuddy(kcfg_User);
        label_Password->setBuddy(kcfg_Password);
        label_Database->setBuddy(kcfg_Database);
        label_SQL->setBuddy(text_SQL);
#endif // QT_CONFIG(shortcut)

        retranslateUi(DatabaseConfig);

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

    void retranslateUi(QWidget *DatabaseConfig)
    {
#if QT_CONFIG(tooltip)
        kcfg_UseServer->setToolTip(tr2i18n("Check to enable the use of an external database. By default there is already an embedded MySQL database running.", nullptr));
#endif // QT_CONFIG(tooltip)
#if QT_CONFIG(whatsthis)
        kcfg_UseServer->setWhatsThis(tr2i18n("Check to enable the use of an external database. By default there is already an embedded MySQL database running.", nullptr));
#endif // QT_CONFIG(whatsthis)
        kcfg_UseServer->setText(tr2i18n("Use &external MySQL database", nullptr));
        group_Connection->setTitle(tr2i18n("Connection Settings", nullptr));
        label_Host->setText(tr2i18n("&Server:", nullptr));
#if QT_CONFIG(tooltip)
        kcfg_Host->setToolTip(tr2i18n("Enter the name of the existing MySQL server\n"
"", nullptr));
#endif // QT_CONFIG(tooltip)
        label_Port->setText(tr2i18n("P&ort:", nullptr));
#if QT_CONFIG(tooltip)
        kcfg_Port->setToolTip(tr2i18n("Enter the port number to access the server. Default is port 3306.\n"
"", nullptr));
#endif // QT_CONFIG(tooltip)
        label_User->setText(tr2i18n("&Username:", nullptr));
#if QT_CONFIG(tooltip)
        kcfg_Password->setToolTip(tr2i18n("Enter the password for the default user.\n"
"", nullptr));
#endif // QT_CONFIG(tooltip)
        label_Password->setText(tr2i18n("&Password:", nullptr));
#if QT_CONFIG(tooltip)
        kcfg_User->setToolTip(tr2i18n("Enter the username to access the database with full access privileges.\n"
"", nullptr));
#endif // QT_CONFIG(tooltip)
        label_Database->setText(tr2i18n("&Database:", nullptr));
#if QT_CONFIG(tooltip)
        kcfg_Database->setToolTip(tr2i18n("Enter the name of the database. Default preset is amarokdb.\n"
"", nullptr));
#endif // QT_CONFIG(tooltip)
        button_Test->setText(tr2i18n("Test database connection", nullptr));
        label_Info->setText(tr2i18n("Amarok expects the above database and user account to already exist. This user also requires full access to the database. Changes only take effect after Amarok is restarted.", nullptr));
        label_SQL->setText(tr2i18n("If your database is not already set up, you can use the following S&QL commands (after replacing the password with the correct one):", nullptr));
        (void)DatabaseConfig;
    } // retranslateUi

};

namespace Ui {
    class DatabaseConfig: public Ui_DatabaseConfig {};
} // namespace Ui

QT_END_NAMESPACE

#endif // DATABASECONFIG_H

