#include <klocalizedstring.h>

/********************************************************************************
** Form generated from reading UI file 'mintengine.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_MINTENGINE_H
#define UI_MINTENGINE_H

#include <QtCore/QVariant>
#include <QtWidgets/QApplication>
#include <QtWidgets/QComboBox>
#include <QtWidgets/QFrame>
#include <QtWidgets/QGridLayout>
#include <QtWidgets/QGroupBox>
#include <QtWidgets/QLabel>
#include <QtWidgets/QLineEdit>
#include <QtWidgets/QPushButton>
#include <QtWidgets/QSpacerItem>
#include <QtWidgets/QVBoxLayout>
#include <QtWidgets/QWidget>

QT_BEGIN_NAMESPACE

class Ui_MinTEngine
{
public:
    QVBoxLayout *verticalLayout;
    QGroupBox *grpAuth;
    QGridLayout *gridLayout_2;
    QSpacerItem *horizontalSpacer;
    QLineEdit *apiURLPrefix;
    QLabel *labApiURLPrefix;
    QPushButton *btnUpdate;
    QFrame *lineHelp;
    QLabel *labHelp;
    QGroupBox *grpSettings;
    QGridLayout *gridLayout_3;
    QLabel *labSource;
    QLabel *labTranslation;
    QComboBox *langSource;
    QComboBox *langTranslation;

    void setupUi(QWidget *MinTEngine)
    {
        if (MinTEngine->objectName().isEmpty())
            MinTEngine->setObjectName("MinTEngine");
        MinTEngine->resize(400, 349);
        verticalLayout = new QVBoxLayout(MinTEngine);
        verticalLayout->setObjectName("verticalLayout");
        grpAuth = new QGroupBox(MinTEngine);
        grpAuth->setObjectName("grpAuth");
        gridLayout_2 = new QGridLayout(grpAuth);
        gridLayout_2->setObjectName("gridLayout_2");
        horizontalSpacer = new QSpacerItem(40, 20, QSizePolicy::Policy::Expanding, QSizePolicy::Policy::Minimum);

        gridLayout_2->addItem(horizontalSpacer, 4, 0, 1, 1);

        apiURLPrefix = new QLineEdit(grpAuth);
        apiURLPrefix->setObjectName("apiURLPrefix");

        gridLayout_2->addWidget(apiURLPrefix, 3, 0, 1, 2);

        labApiURLPrefix = new QLabel(grpAuth);
        labApiURLPrefix->setObjectName("labApiURLPrefix");

        gridLayout_2->addWidget(labApiURLPrefix, 2, 0, 1, 2);

        btnUpdate = new QPushButton(grpAuth);
        btnUpdate->setObjectName("btnUpdate");

        gridLayout_2->addWidget(btnUpdate, 4, 1, 1, 1);

        lineHelp = new QFrame(grpAuth);
        lineHelp->setObjectName("lineHelp");
        QSizePolicy sizePolicy(QSizePolicy::Policy::Minimum, QSizePolicy::Policy::MinimumExpanding);
        sizePolicy.setHorizontalStretch(0);
        sizePolicy.setVerticalStretch(0);
        sizePolicy.setHeightForWidth(lineHelp->sizePolicy().hasHeightForWidth());
        lineHelp->setSizePolicy(sizePolicy);
        lineHelp->setFrameShape(QFrame::Shape::HLine);
        lineHelp->setFrameShadow(QFrame::Shadow::Sunken);

        gridLayout_2->addWidget(lineHelp, 1, 0, 1, 2);

        labHelp = new QLabel(grpAuth);
        labHelp->setObjectName("labHelp");
        labHelp->setMinimumSize(QSize(0, 36));
        labHelp->setTextFormat(Qt::RichText);
        labHelp->setWordWrap(true);

        gridLayout_2->addWidget(labHelp, 0, 0, 1, 2);


        verticalLayout->addWidget(grpAuth);

        grpSettings = new QGroupBox(MinTEngine);
        grpSettings->setObjectName("grpSettings");
        gridLayout_3 = new QGridLayout(grpSettings);
        gridLayout_3->setObjectName("gridLayout_3");
        labSource = new QLabel(grpSettings);
        labSource->setObjectName("labSource");

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

        labTranslation = new QLabel(grpSettings);
        labTranslation->setObjectName("labTranslation");

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

        langSource = new QComboBox(grpSettings);
        langSource->setObjectName("langSource");

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

        langTranslation = new QComboBox(grpSettings);
        langTranslation->setObjectName("langTranslation");

        gridLayout_3->addWidget(langTranslation, 1, 1, 1, 1);


        verticalLayout->addWidget(grpSettings);

#if QT_CONFIG(shortcut)
        labApiURLPrefix->setBuddy(apiURLPrefix);
        labSource->setBuddy(langSource);
        labTranslation->setBuddy(langTranslation);
#endif // QT_CONFIG(shortcut)

        retranslateUi(MinTEngine);

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

    void retranslateUi(QWidget *MinTEngine)
    {
        grpAuth->setTitle(tr2i18n("API Server", nullptr));
        labApiURLPrefix->setText(tr2i18n("Service URL:", nullptr));
        btnUpdate->setText(tr2i18n("Update", nullptr));
        labHelp->setText(tr2i18n("You need to provide an URL to a MinT machine translation system API. You can <a href=\"https://gerrit.wikimedia.org/g/mediawiki/services/machinetranslation\">setup your own service</a> or use some <a href=\"https://translate.wmcloud.org/\">public API</a>.", nullptr));
        grpSettings->setTitle(tr2i18n("Settings", nullptr));
        labSource->setText(tr2i18n("Source language:", nullptr));
        labTranslation->setText(tr2i18n("Translate to:", nullptr));
        (void)MinTEngine;
    } // retranslateUi

};

namespace Ui {
    class MinTEngine: public Ui_MinTEngine {};
} // namespace Ui

QT_END_NAMESPACE

#endif // MINTENGINE_H

