#include <klocalizedstring.h>

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

#ifndef UI_DBPARAMS_H
#define UI_DBPARAMS_H

#include <QtCore/QVariant>
#include <QtWidgets/QAction>
#include <QtWidgets/QApplication>
#include <QtWidgets/QButtonGroup>
#include <QtWidgets/QComboBox>
#include <QtWidgets/QDialogButtonBox>
#include <QtWidgets/QFormLayout>
#include <QtWidgets/QGridLayout>
#include <QtWidgets/QGroupBox>
#include <QtWidgets/QHeaderView>
#include <QtWidgets/QLabel>
#include <QtWidgets/QLineEdit>
#include <QtWidgets/QSpacerItem>
#include <QtWidgets/QWidget>
#include "kcombobox.h"

QT_BEGIN_NAMESPACE

class Ui_DBParams
{
public:
    QGridLayout *gridLayout;
    QLineEdit *name;
    QGroupBox *connectionBox;
    QFormLayout *formLayout_2;
    QLabel *label_10;
    QLineEdit *dbName;
    QLabel *label_7;
    QComboBox *dbHost;
    QLabel *label_8;
    QLineEdit *dbUser;
    QLabel *label_9;
    QLineEdit *dbPasswd;
    QComboBox *dbType;
    QLabel *label;
    QLabel *label_6;
    QGroupBox *contentBox;
    QFormLayout *formLayout;
    QLabel *label_4;
    KComboBox *sourceLang;
    QLabel *label_5;
    KComboBox *targetLang;
    QLineEdit *markup;
    QLabel *label_2;
    QLineEdit *accel;
    QLabel *label_3;
    QDialogButtonBox *buttonBox;
    QSpacerItem *verticalSpacer;

    void setupUi(QWidget *DBParams)
    {
        if (DBParams->objectName().isEmpty())
            DBParams->setObjectName(QStringLiteral("DBParams"));
        DBParams->resize(770, 408);
        gridLayout = new QGridLayout(DBParams);
        gridLayout->setObjectName(QStringLiteral("gridLayout"));
        gridLayout->setSizeConstraint(QLayout::SetMinimumSize);
        name = new QLineEdit(DBParams);
        name->setObjectName(QStringLiteral("name"));

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

        connectionBox = new QGroupBox(DBParams);
        connectionBox->setObjectName(QStringLiteral("connectionBox"));
        formLayout_2 = new QFormLayout(connectionBox);
        formLayout_2->setObjectName(QStringLiteral("formLayout_2"));
        formLayout_2->setFieldGrowthPolicy(QFormLayout::AllNonFixedFieldsGrow);
        label_10 = new QLabel(connectionBox);
        label_10->setObjectName(QStringLiteral("label_10"));

        formLayout_2->setWidget(0, QFormLayout::LabelRole, label_10);

        dbName = new QLineEdit(connectionBox);
        dbName->setObjectName(QStringLiteral("dbName"));

        formLayout_2->setWidget(0, QFormLayout::FieldRole, dbName);

        label_7 = new QLabel(connectionBox);
        label_7->setObjectName(QStringLiteral("label_7"));

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

        dbHost = new QComboBox(connectionBox);
        dbHost->setObjectName(QStringLiteral("dbHost"));
        dbHost->setEditable(true);

        formLayout_2->setWidget(1, QFormLayout::FieldRole, dbHost);

        label_8 = new QLabel(connectionBox);
        label_8->setObjectName(QStringLiteral("label_8"));

        formLayout_2->setWidget(2, QFormLayout::LabelRole, label_8);

        dbUser = new QLineEdit(connectionBox);
        dbUser->setObjectName(QStringLiteral("dbUser"));

        formLayout_2->setWidget(2, QFormLayout::FieldRole, dbUser);

        label_9 = new QLabel(connectionBox);
        label_9->setObjectName(QStringLiteral("label_9"));

        formLayout_2->setWidget(3, QFormLayout::LabelRole, label_9);

        dbPasswd = new QLineEdit(connectionBox);
        dbPasswd->setObjectName(QStringLiteral("dbPasswd"));
        dbPasswd->setEchoMode(QLineEdit::Password);

        formLayout_2->setWidget(3, QFormLayout::FieldRole, dbPasswd);


        gridLayout->addWidget(connectionBox, 6, 0, 1, 2);

        dbType = new QComboBox(DBParams);
        dbType->setObjectName(QStringLiteral("dbType"));

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

        label = new QLabel(DBParams);
        label->setObjectName(QStringLiteral("label"));

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

        label_6 = new QLabel(DBParams);
        label_6->setObjectName(QStringLiteral("label_6"));

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

        contentBox = new QGroupBox(DBParams);
        contentBox->setObjectName(QStringLiteral("contentBox"));
        formLayout = new QFormLayout(contentBox);
        formLayout->setObjectName(QStringLiteral("formLayout"));
        formLayout->setFieldGrowthPolicy(QFormLayout::AllNonFixedFieldsGrow);
        label_4 = new QLabel(contentBox);
        label_4->setObjectName(QStringLiteral("label_4"));

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

        sourceLang = new KComboBox(contentBox);
        sourceLang->setObjectName(QStringLiteral("sourceLang"));

        formLayout->setWidget(0, QFormLayout::FieldRole, sourceLang);

        label_5 = new QLabel(contentBox);
        label_5->setObjectName(QStringLiteral("label_5"));

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

        targetLang = new KComboBox(contentBox);
        targetLang->setObjectName(QStringLiteral("targetLang"));

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

        markup = new QLineEdit(contentBox);
        markup->setObjectName(QStringLiteral("markup"));

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

        label_2 = new QLabel(contentBox);
        label_2->setObjectName(QStringLiteral("label_2"));

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

        accel = new QLineEdit(contentBox);
        accel->setObjectName(QStringLiteral("accel"));

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

        label_3 = new QLabel(contentBox);
        label_3->setObjectName(QStringLiteral("label_3"));

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


        gridLayout->addWidget(contentBox, 7, 0, 1, 2);

        buttonBox = new QDialogButtonBox(DBParams);
        buttonBox->setObjectName(QStringLiteral("buttonBox"));
        buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Ok);

        gridLayout->addWidget(buttonBox, 9, 1, 1, 1);

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

        gridLayout->addItem(verticalSpacer, 8, 1, 1, 1);


        retranslateUi(DBParams);

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

    void retranslateUi(QWidget *DBParams)
    {
        connectionBox->setTitle(tr2i18n("Connection", Q_NULLPTR));
        label_10->setText(tr2i18n("Database name:", Q_NULLPTR));
        label_7->setText(tr2i18n("Host:", Q_NULLPTR));
        label_8->setText(tr2i18n("User:", Q_NULLPTR));
        label_9->setText(tr2i18n("Password:", Q_NULLPTR));
        dbType->clear();
        dbType->insertItems(0, QStringList()
         << tr2i18n("Local", Q_NULLPTR)
        );
        label->setText(tr2i18n("Name:", Q_NULLPTR));
        label_6->setText(tr2i18n("Database type:", Q_NULLPTR));
        contentBox->setTitle(tr2i18n("Content", Q_NULLPTR));
        label_4->setText(tr2i18n("Source language:", Q_NULLPTR));
        label_5->setText(tr2i18n("Target language:", Q_NULLPTR));
        label_2->setText(tr2i18n("Markup regex:", Q_NULLPTR));
        label_3->setText(tr2i18n("Accelerator:", Q_NULLPTR));
        Q_UNUSED(DBParams);
    } // retranslateUi

};

namespace Ui {
    class DBParams: public Ui_DBParams {};
} // namespace Ui

QT_END_NAMESPACE

#endif // DBPARAMS_H

