#include <klocalizedstring.h>

/*
Used for configuring libkcddb.
*/

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

#ifndef UI_CDDBCONFIGWIDGET_H
#define UI_CDDBCONFIGWIDGET_H

#include <QtCore/QVariant>
#include <QtWidgets/QAction>
#include <QtWidgets/QApplication>
#include <QtWidgets/QButtonGroup>
#include <QtWidgets/QCheckBox>
#include <QtWidgets/QComboBox>
#include <QtWidgets/QFormLayout>
#include <QtWidgets/QGroupBox>
#include <QtWidgets/QHBoxLayout>
#include <QtWidgets/QHeaderView>
#include <QtWidgets/QLabel>
#include <QtWidgets/QLineEdit>
#include <QtWidgets/QPushButton>
#include <QtWidgets/QRadioButton>
#include <QtWidgets/QSpinBox>
#include <QtWidgets/QTabWidget>
#include <QtWidgets/QVBoxLayout>
#include <QtWidgets/QWidget>

QT_BEGIN_NAMESPACE

class Ui_CDDBConfigWidgetBase
{
public:
    QVBoxLayout *vboxLayout;
    QTabWidget *tabWidget2;
    QWidget *tabLookup;
    QVBoxLayout *gridLayout_4;
    QCheckBox *kcfg_MusicBrainzLookupEnabled;
    QCheckBox *kcfg_FreedbLookupEnabled;
    QGroupBox *freedbServerBox;
    QFormLayout *formLayout;
    QLabel *TextLabel7;
    QHBoxLayout *horizontalLayout_6;
    QLineEdit *kcfg_hostname;
    QLabel *textLabel3_3;
    QSpinBox *kcfg_port;
    QLabel *TextLabel9;
    QHBoxLayout *horizontalLayout_7;
    QComboBox *kcfg_FreedbLookupTransport;
    QPushButton *mirrorListButton;
    QWidget *cacheLocationsParent;
    QWidget *tabSubmit;
    QVBoxLayout *gridLayout_2;
    QHBoxLayout *horizontalLayout_5;
    QLabel *textLabel1;
    QLineEdit *kcfg_emailAddress;
    QGroupBox *kcfg_FreedbSubmitTransport;
    QFormLayout *formLayout_2;
    QRadioButton *httpButton;
    QLabel *textLabel2;
    QHBoxLayout *horizontalLayout;
    QLineEdit *kcfg_httpSubmitServer;
    QLabel *textLabel3_2;
    QSpinBox *kcfg_httpSubmitPort;
    QRadioButton *smtpButton;
    QLineEdit *kcfg_replyTo;
    QHBoxLayout *horizontalLayout_2;
    QLineEdit *kcfg_smtpHostname;
    QLabel *textLabel3;
    QSpinBox *kcfg_smtpPort;
    QCheckBox *needsAuthenticationBox;
    QLineEdit *kcfg_smtpUsername;
    QLabel *textLabel9_2;
    QLabel *textLabel2_2;
    QLabel *textLabel4;

    void setupUi(QWidget *CDDBConfigWidgetBase)
    {
        if (CDDBConfigWidgetBase->objectName().isEmpty())
            CDDBConfigWidgetBase->setObjectName(QStringLiteral("CDDBConfigWidgetBase"));
        vboxLayout = new QVBoxLayout(CDDBConfigWidgetBase);
        vboxLayout->setContentsMargins(0, 0, 0, 0);
        vboxLayout->setObjectName(QStringLiteral("vboxLayout"));
        tabWidget2 = new QTabWidget(CDDBConfigWidgetBase);
        tabWidget2->setObjectName(QStringLiteral("tabWidget2"));
        tabLookup = new QWidget();
        tabLookup->setObjectName(QStringLiteral("tabLookup"));
        gridLayout_4 = new QVBoxLayout(tabLookup);
        gridLayout_4->setObjectName(QStringLiteral("gridLayout_4"));
        kcfg_MusicBrainzLookupEnabled = new QCheckBox(tabLookup);
        kcfg_MusicBrainzLookupEnabled->setObjectName(QStringLiteral("kcfg_MusicBrainzLookupEnabled"));

        gridLayout_4->addWidget(kcfg_MusicBrainzLookupEnabled);

        kcfg_FreedbLookupEnabled = new QCheckBox(tabLookup);
        kcfg_FreedbLookupEnabled->setObjectName(QStringLiteral("kcfg_FreedbLookupEnabled"));

        gridLayout_4->addWidget(kcfg_FreedbLookupEnabled);

        freedbServerBox = new QGroupBox(tabLookup);
        freedbServerBox->setObjectName(QStringLiteral("freedbServerBox"));
        formLayout = new QFormLayout(freedbServerBox);
        formLayout->setObjectName(QStringLiteral("formLayout"));
        TextLabel7 = new QLabel(freedbServerBox);
        TextLabel7->setObjectName(QStringLiteral("TextLabel7"));

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

        horizontalLayout_6 = new QHBoxLayout();
        horizontalLayout_6->setObjectName(QStringLiteral("horizontalLayout_6"));
        kcfg_hostname = new QLineEdit(freedbServerBox);
        kcfg_hostname->setObjectName(QStringLiteral("kcfg_hostname"));
        QSizePolicy sizePolicy(QSizePolicy::Expanding, QSizePolicy::Fixed);
        sizePolicy.setHorizontalStretch(0);
        sizePolicy.setVerticalStretch(0);
        sizePolicy.setHeightForWidth(kcfg_hostname->sizePolicy().hasHeightForWidth());
        kcfg_hostname->setSizePolicy(sizePolicy);

        horizontalLayout_6->addWidget(kcfg_hostname);

        textLabel3_3 = new QLabel(freedbServerBox);
        textLabel3_3->setObjectName(QStringLiteral("textLabel3_3"));
        QSizePolicy sizePolicy1(QSizePolicy::Preferred, QSizePolicy::Preferred);
        sizePolicy1.setHorizontalStretch(0);
        sizePolicy1.setVerticalStretch(0);
        sizePolicy1.setHeightForWidth(textLabel3_3->sizePolicy().hasHeightForWidth());
        textLabel3_3->setSizePolicy(sizePolicy1);

        horizontalLayout_6->addWidget(textLabel3_3);

        kcfg_port = new QSpinBox(freedbServerBox);
        kcfg_port->setObjectName(QStringLiteral("kcfg_port"));
        QSizePolicy sizePolicy2(QSizePolicy::Maximum, QSizePolicy::Fixed);
        sizePolicy2.setHorizontalStretch(0);
        sizePolicy2.setVerticalStretch(0);
        sizePolicy2.setHeightForWidth(kcfg_port->sizePolicy().hasHeightForWidth());
        kcfg_port->setSizePolicy(sizePolicy2);
        kcfg_port->setMaximum(64000);
        kcfg_port->setValue(8880);

        horizontalLayout_6->addWidget(kcfg_port);


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

        TextLabel9 = new QLabel(freedbServerBox);
        TextLabel9->setObjectName(QStringLiteral("TextLabel9"));

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

        horizontalLayout_7 = new QHBoxLayout();
        horizontalLayout_7->setObjectName(QStringLiteral("horizontalLayout_7"));
        kcfg_FreedbLookupTransport = new QComboBox(freedbServerBox);
        kcfg_FreedbLookupTransport->setObjectName(QStringLiteral("kcfg_FreedbLookupTransport"));

        horizontalLayout_7->addWidget(kcfg_FreedbLookupTransport);

        mirrorListButton = new QPushButton(freedbServerBox);
        mirrorListButton->setObjectName(QStringLiteral("mirrorListButton"));

        horizontalLayout_7->addWidget(mirrorListButton);


        formLayout->setLayout(1, QFormLayout::FieldRole, horizontalLayout_7);


        gridLayout_4->addWidget(freedbServerBox);

        cacheLocationsParent = new QWidget(tabLookup);
        cacheLocationsParent->setObjectName(QStringLiteral("cacheLocationsParent"));

        gridLayout_4->addWidget(cacheLocationsParent);

        tabWidget2->addTab(tabLookup, QString());
        tabSubmit = new QWidget();
        tabSubmit->setObjectName(QStringLiteral("tabSubmit"));
        gridLayout_2 = new QVBoxLayout(tabSubmit);
        gridLayout_2->setObjectName(QStringLiteral("gridLayout_2"));
        horizontalLayout_5 = new QHBoxLayout();
        horizontalLayout_5->setObjectName(QStringLiteral("horizontalLayout_5"));
        textLabel1 = new QLabel(tabSubmit);
        textLabel1->setObjectName(QStringLiteral("textLabel1"));

        horizontalLayout_5->addWidget(textLabel1);

        kcfg_emailAddress = new QLineEdit(tabSubmit);
        kcfg_emailAddress->setObjectName(QStringLiteral("kcfg_emailAddress"));

        horizontalLayout_5->addWidget(kcfg_emailAddress);


        gridLayout_2->addLayout(horizontalLayout_5);

        kcfg_FreedbSubmitTransport = new QGroupBox(tabSubmit);
        kcfg_FreedbSubmitTransport->setObjectName(QStringLiteral("kcfg_FreedbSubmitTransport"));
        formLayout_2 = new QFormLayout(kcfg_FreedbSubmitTransport);
        formLayout_2->setObjectName(QStringLiteral("formLayout_2"));
        httpButton = new QRadioButton(kcfg_FreedbSubmitTransport);
        httpButton->setObjectName(QStringLiteral("httpButton"));
        httpButton->setChecked(true);

        formLayout_2->setWidget(0, QFormLayout::SpanningRole, httpButton);

        textLabel2 = new QLabel(kcfg_FreedbSubmitTransport);
        textLabel2->setObjectName(QStringLiteral("textLabel2"));

        formLayout_2->setWidget(1, QFormLayout::LabelRole, textLabel2);

        horizontalLayout = new QHBoxLayout();
        horizontalLayout->setObjectName(QStringLiteral("horizontalLayout"));
        kcfg_httpSubmitServer = new QLineEdit(kcfg_FreedbSubmitTransport);
        kcfg_httpSubmitServer->setObjectName(QStringLiteral("kcfg_httpSubmitServer"));

        horizontalLayout->addWidget(kcfg_httpSubmitServer);

        textLabel3_2 = new QLabel(kcfg_FreedbSubmitTransport);
        textLabel3_2->setObjectName(QStringLiteral("textLabel3_2"));
        sizePolicy1.setHeightForWidth(textLabel3_2->sizePolicy().hasHeightForWidth());
        textLabel3_2->setSizePolicy(sizePolicy1);

        horizontalLayout->addWidget(textLabel3_2);

        kcfg_httpSubmitPort = new QSpinBox(kcfg_FreedbSubmitTransport);
        kcfg_httpSubmitPort->setObjectName(QStringLiteral("kcfg_httpSubmitPort"));

        horizontalLayout->addWidget(kcfg_httpSubmitPort);


        formLayout_2->setLayout(1, QFormLayout::FieldRole, horizontalLayout);

        smtpButton = new QRadioButton(kcfg_FreedbSubmitTransport);
        smtpButton->setObjectName(QStringLiteral("smtpButton"));

        formLayout_2->setWidget(2, QFormLayout::SpanningRole, smtpButton);

        kcfg_replyTo = new QLineEdit(kcfg_FreedbSubmitTransport);
        kcfg_replyTo->setObjectName(QStringLiteral("kcfg_replyTo"));

        formLayout_2->setWidget(4, QFormLayout::FieldRole, kcfg_replyTo);

        horizontalLayout_2 = new QHBoxLayout();
        horizontalLayout_2->setObjectName(QStringLiteral("horizontalLayout_2"));
        kcfg_smtpHostname = new QLineEdit(kcfg_FreedbSubmitTransport);
        kcfg_smtpHostname->setObjectName(QStringLiteral("kcfg_smtpHostname"));

        horizontalLayout_2->addWidget(kcfg_smtpHostname);

        textLabel3 = new QLabel(kcfg_FreedbSubmitTransport);
        textLabel3->setObjectName(QStringLiteral("textLabel3"));
        sizePolicy1.setHeightForWidth(textLabel3->sizePolicy().hasHeightForWidth());
        textLabel3->setSizePolicy(sizePolicy1);

        horizontalLayout_2->addWidget(textLabel3);

        kcfg_smtpPort = new QSpinBox(kcfg_FreedbSubmitTransport);
        kcfg_smtpPort->setObjectName(QStringLiteral("kcfg_smtpPort"));
        sizePolicy2.setHeightForWidth(kcfg_smtpPort->sizePolicy().hasHeightForWidth());
        kcfg_smtpPort->setSizePolicy(sizePolicy2);
        kcfg_smtpPort->setMaximum(65535);
        kcfg_smtpPort->setValue(25);

        horizontalLayout_2->addWidget(kcfg_smtpPort);


        formLayout_2->setLayout(6, QFormLayout::FieldRole, horizontalLayout_2);

        needsAuthenticationBox = new QCheckBox(kcfg_FreedbSubmitTransport);
        needsAuthenticationBox->setObjectName(QStringLiteral("needsAuthenticationBox"));

        formLayout_2->setWidget(7, QFormLayout::SpanningRole, needsAuthenticationBox);

        kcfg_smtpUsername = new QLineEdit(kcfg_FreedbSubmitTransport);
        kcfg_smtpUsername->setObjectName(QStringLiteral("kcfg_smtpUsername"));
        kcfg_smtpUsername->setEnabled(false);
        QSizePolicy sizePolicy3(QSizePolicy::Expanding, QSizePolicy::Preferred);
        sizePolicy3.setHorizontalStretch(0);
        sizePolicy3.setVerticalStretch(0);
        sizePolicy3.setHeightForWidth(kcfg_smtpUsername->sizePolicy().hasHeightForWidth());
        kcfg_smtpUsername->setSizePolicy(sizePolicy3);

        formLayout_2->setWidget(9, QFormLayout::FieldRole, kcfg_smtpUsername);

        textLabel9_2 = new QLabel(kcfg_FreedbSubmitTransport);
        textLabel9_2->setObjectName(QStringLiteral("textLabel9_2"));

        formLayout_2->setWidget(4, QFormLayout::LabelRole, textLabel9_2);

        textLabel2_2 = new QLabel(kcfg_FreedbSubmitTransport);
        textLabel2_2->setObjectName(QStringLiteral("textLabel2_2"));
        QSizePolicy sizePolicy4(QSizePolicy::Maximum, QSizePolicy::Preferred);
        sizePolicy4.setHorizontalStretch(0);
        sizePolicy4.setVerticalStretch(0);
        sizePolicy4.setHeightForWidth(textLabel2_2->sizePolicy().hasHeightForWidth());
        textLabel2_2->setSizePolicy(sizePolicy4);

        formLayout_2->setWidget(6, QFormLayout::LabelRole, textLabel2_2);

        textLabel4 = new QLabel(kcfg_FreedbSubmitTransport);
        textLabel4->setObjectName(QStringLiteral("textLabel4"));

        formLayout_2->setWidget(9, QFormLayout::LabelRole, textLabel4);


        gridLayout_2->addWidget(kcfg_FreedbSubmitTransport);

        tabWidget2->addTab(tabSubmit, QString());

        vboxLayout->addWidget(tabWidget2);

#ifndef UI_QT_NO_SHORTCUT
        TextLabel7->setBuddy(kcfg_hostname);
        TextLabel9->setBuddy(kcfg_FreedbLookupTransport);
#endif // QT_NO_SHORTCUT
        QWidget::setTabOrder(kcfg_hostname, kcfg_port);
        QWidget::setTabOrder(kcfg_port, kcfg_FreedbLookupTransport);

        retranslateUi(CDDBConfigWidgetBase);

        tabWidget2->setCurrentIndex(0);


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

    void retranslateUi(QWidget *CDDBConfigWidgetBase)
    {
        CDDBConfigWidgetBase->setWindowTitle(tr2i18n("CDDB Settings", Q_NULLPTR));
        kcfg_MusicBrainzLookupEnabled->setText(tr2i18n("Enable MusicBrainz lookup", Q_NULLPTR));
        kcfg_FreedbLookupEnabled->setText(tr2i18n("Enable freedb lookup", Q_NULLPTR));
        freedbServerBox->setTitle(tr2i18n("Freedb Server", Q_NULLPTR));
        TextLabel7->setText(tr2i18n("Freedb server:", Q_NULLPTR));
#ifndef UI_QT_NO_WHATSTHIS
        kcfg_hostname->setWhatsThis(tr2i18n("Name of CDDB server which will be used to look up CD information.", Q_NULLPTR));
#endif // QT_NO_WHATSTHIS
        kcfg_hostname->setText(tr2i18n("freedb.freedb.org", Q_NULLPTR));
        textLabel3_3->setText(tr2i18n("Port:", Q_NULLPTR));
#ifndef UI_QT_NO_WHATSTHIS
        kcfg_port->setWhatsThis(tr2i18n("Port to connect to on CDDB server.", Q_NULLPTR));
#endif // QT_NO_WHATSTHIS
        TextLabel9->setText(tr2i18n("&Transport:", Q_NULLPTR));
        kcfg_FreedbLookupTransport->clear();
        kcfg_FreedbLookupTransport->insertItems(0, QStringList()
         << tr2i18n("CDDB", Q_NULLPTR)
         << tr2i18n("HTTP", Q_NULLPTR)
        );
#ifndef UI_QT_NO_WHATSTHIS
        kcfg_FreedbLookupTransport->setWhatsThis(tr2i18n("Type of lookup which should be tried at the CDDB server.", Q_NULLPTR));
#endif // QT_NO_WHATSTHIS
        mirrorListButton->setText(tr2i18n("Show &Mirror List", Q_NULLPTR));
        tabWidget2->setTabText(tabWidget2->indexOf(tabLookup), tr2i18n("&Lookup", Q_NULLPTR));
        textLabel1->setText(tr2i18n("Email address:", Q_NULLPTR));
        kcfg_FreedbSubmitTransport->setTitle(tr2i18n("Submit Method", Q_NULLPTR));
        httpButton->setText(tr2i18n("HTTP", Q_NULLPTR));
        textLabel2->setText(tr2i18n("Server:", Q_NULLPTR));
        textLabel3_2->setText(tr2i18n("Port:", Q_NULLPTR));
        smtpButton->setText(tr2i18n("SMTP (Email)", Q_NULLPTR));
        textLabel3->setText(tr2i18n("Port:", Q_NULLPTR));
        needsAuthenticationBox->setText(tr2i18n("Server needs authentication", Q_NULLPTR));
        textLabel9_2->setText(tr2i18n("Reply-To:", Q_NULLPTR));
        textLabel2_2->setText(tr2i18n("SMTP server:", Q_NULLPTR));
        textLabel4->setText(tr2i18n("Username:", Q_NULLPTR));
        tabWidget2->setTabText(tabWidget2->indexOf(tabSubmit), tr2i18n("&Submit", Q_NULLPTR));
    } // retranslateUi

};

namespace Ui {
    class CDDBConfigWidgetBase: public Ui_CDDBConfigWidgetBase {};
} // namespace Ui

QT_END_NAMESPACE

#endif // CDDBCONFIGWIDGET_H

