#include <klocalizedstring.h>

/********************************************************************************
** Form generated from reading UI file 'deeplengine.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_DEEPLENGINE_H
#define UI_DEEPLENGINE_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_DeepLEngine
{
public:
    QVBoxLayout *verticalLayout;
    QGroupBox *grpAuth;
    QGridLayout *gridLayout_2;
    QLabel *labAuthKey;
    QPushButton *btnConnect;
    QFrame *lineHelp;
    QSpacerItem *horizontalSpacer;
    QLabel *labApiDomain;
    QLabel *labHelp;
    QLineEdit *authKey;
    QLineEdit *apiDomain;
    QGroupBox *grpSettings;
    QGridLayout *gridLayout_3;
    QLabel *labSource;
    QLabel *labTranslation;
    QComboBox *langSource;
    QComboBox *langTranslation;

    void setupUi(QWidget *DeepLEngine)
    {
        if (DeepLEngine->objectName().isEmpty())
            DeepLEngine->setObjectName("DeepLEngine");
        DeepLEngine->resize(400, 367);
        verticalLayout = new QVBoxLayout(DeepLEngine);
        verticalLayout->setObjectName("verticalLayout");
        grpAuth = new QGroupBox(DeepLEngine);
        grpAuth->setObjectName("grpAuth");
        gridLayout_2 = new QGridLayout(grpAuth);
        gridLayout_2->setObjectName("gridLayout_2");
        labAuthKey = new QLabel(grpAuth);
        labAuthKey->setObjectName("labAuthKey");

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

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

        gridLayout_2->addWidget(btnConnect, 6, 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);

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

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

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

        gridLayout_2->addWidget(labApiDomain, 4, 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);

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

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

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

        gridLayout_2->addWidget(apiDomain, 5, 0, 1, 2);


        verticalLayout->addWidget(grpAuth);

        grpSettings = new QGroupBox(DeepLEngine);
        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)
        labAuthKey->setBuddy(authKey);
        labApiDomain->setBuddy(apiDomain);
        labSource->setBuddy(langSource);
        labTranslation->setBuddy(langTranslation);
#endif // QT_CONFIG(shortcut)

        retranslateUi(DeepLEngine);

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

    void retranslateUi(QWidget *DeepLEngine)
    {
        grpAuth->setTitle(tr2i18n("Authentication", nullptr));
        labAuthKey->setText(tr2i18n("Authentication Key:", nullptr));
        btnConnect->setText(tr2i18n("Connect", nullptr));
        labApiDomain->setText(tr2i18n("API Domain:", nullptr));
        labHelp->setText(tr2i18n("You need to <a href=\"https://www.deepl.com/pro-api\">create an account</a> on DeepL website and paste your API authentication key below.", nullptr));
        grpSettings->setTitle(tr2i18n("Settings", nullptr));
        labSource->setText(tr2i18n("Source language:", nullptr));
        labTranslation->setText(tr2i18n("Translate to:", nullptr));
        (void)DeepLEngine;
    } // retranslateUi

};

namespace Ui {
    class DeepLEngine: public Ui_DeepLEngine {};
} // namespace Ui

QT_END_NAMESPACE

#endif // DEEPLENGINE_H

