#include <klocalizedstring.h>

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

#ifndef UI_PREFS_PROJECTMAIN_H
#define UI_PREFS_PROJECTMAIN_H

#include <QtCore/QVariant>
#include <QtWidgets/QAction>
#include <QtWidgets/QApplication>
#include <QtWidgets/QButtonGroup>
#include <QtWidgets/QGridLayout>
#include <QtWidgets/QHeaderView>
#include <QtWidgets/QLabel>
#include <QtWidgets/QLineEdit>
#include <QtWidgets/QSpacerItem>
#include <QtWidgets/QWidget>
#include "kcombobox.h"
#include "kurlrequester.h"
#include "prefs.h"

QT_BEGIN_NAMESPACE

class Ui_prefs_projectmain
{
public:
    QGridLayout *gridLayout;
    RelPathSaver *kcfg_PoBaseDir;
    RelPathSaver *kcfg_GlossaryTbx;
    QLabel *l0;
    KComboBox *LangCode;
    KUrlRequester *poBaseDir;
    KUrlRequester *glossaryTbx;
    QLabel *l1;
    QLabel *l2;
    QLineEdit *kcfg_ProjectID;
    QLabel *l3;
    QLineEdit *kcfg_MailingList;
    QLabel *l4;
    QSpacerItem *verticalSpacer;
    LangCodeSaver *kcfg_LangCode;

    void setupUi(QWidget *prefs_projectmain)
    {
        if (prefs_projectmain->objectName().isEmpty())
            prefs_projectmain->setObjectName(QStringLiteral("prefs_projectmain"));
        prefs_projectmain->resize(611, 340);
        gridLayout = new QGridLayout(prefs_projectmain);
        gridLayout->setObjectName(QStringLiteral("gridLayout"));
        kcfg_PoBaseDir = new RelPathSaver(prefs_projectmain);
        kcfg_PoBaseDir->setObjectName(QStringLiteral("kcfg_PoBaseDir"));

        gridLayout->addWidget(kcfg_PoBaseDir, 6, 1, 1, 1);

        kcfg_GlossaryTbx = new RelPathSaver(prefs_projectmain);
        kcfg_GlossaryTbx->setObjectName(QStringLiteral("kcfg_GlossaryTbx"));

        gridLayout->addWidget(kcfg_GlossaryTbx, 7, 1, 1, 1);

        l0 = new QLabel(prefs_projectmain);
        l0->setObjectName(QStringLiteral("l0"));

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

        LangCode = new KComboBox(prefs_projectmain);
        LangCode->setObjectName(QStringLiteral("LangCode"));
        LangCode->setMinimumSize(QSize(400, 0));

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

        poBaseDir = new KUrlRequester(prefs_projectmain);
        poBaseDir->setObjectName(QStringLiteral("poBaseDir"));
        QSizePolicy sizePolicy(QSizePolicy::Preferred, QSizePolicy::Minimum);
        sizePolicy.setHorizontalStretch(0);
        sizePolicy.setVerticalStretch(0);
        sizePolicy.setHeightForWidth(poBaseDir->sizePolicy().hasHeightForWidth());
        poBaseDir->setSizePolicy(sizePolicy);
        poBaseDir->setMinimumSize(QSize(400, 16));

        gridLayout->addWidget(poBaseDir, 3, 1, 1, 1);

        glossaryTbx = new KUrlRequester(prefs_projectmain);
        glossaryTbx->setObjectName(QStringLiteral("glossaryTbx"));
        QSizePolicy sizePolicy1(QSizePolicy::Preferred, QSizePolicy::Fixed);
        sizePolicy1.setHorizontalStretch(0);
        sizePolicy1.setVerticalStretch(0);
        sizePolicy1.setHeightForWidth(glossaryTbx->sizePolicy().hasHeightForWidth());
        glossaryTbx->setSizePolicy(sizePolicy1);
        glossaryTbx->setMinimumSize(QSize(400, 16));

        gridLayout->addWidget(glossaryTbx, 4, 1, 1, 1);

        l1 = new QLabel(prefs_projectmain);
        l1->setObjectName(QStringLiteral("l1"));
        l1->setWordWrap(false);

        gridLayout->addWidget(l1, 3, 0, 1, 1);

        l2 = new QLabel(prefs_projectmain);
        l2->setObjectName(QStringLiteral("l2"));

        gridLayout->addWidget(l2, 4, 0, 1, 1);

        kcfg_ProjectID = new QLineEdit(prefs_projectmain);
        kcfg_ProjectID->setObjectName(QStringLiteral("kcfg_ProjectID"));

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

        l3 = new QLabel(prefs_projectmain);
        l3->setObjectName(QStringLiteral("l3"));

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

        kcfg_MailingList = new QLineEdit(prefs_projectmain);
        kcfg_MailingList->setObjectName(QStringLiteral("kcfg_MailingList"));

        gridLayout->addWidget(kcfg_MailingList, 2, 1, 1, 1);

        l4 = new QLabel(prefs_projectmain);
        l4->setObjectName(QStringLiteral("l4"));

        gridLayout->addWidget(l4, 2, 0, 1, 1);

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

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

        kcfg_LangCode = new LangCodeSaver(prefs_projectmain);
        kcfg_LangCode->setObjectName(QStringLiteral("kcfg_LangCode"));

        gridLayout->addWidget(kcfg_LangCode, 5, 1, 1, 1);

        QWidget::setTabOrder(kcfg_ProjectID, LangCode);
        QWidget::setTabOrder(LangCode, kcfg_MailingList);
        QWidget::setTabOrder(kcfg_MailingList, poBaseDir);
        QWidget::setTabOrder(poBaseDir, glossaryTbx);

        retranslateUi(prefs_projectmain);
        QObject::connect(LangCode, SIGNAL(currentIndexChanged(QString)), kcfg_LangCode, SLOT(setText(QString)));

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

    void retranslateUi(QWidget *prefs_projectmain)
    {
        l0->setText(tr2i18n("Target language:", "@label:textbox"));
#ifndef UI_QT_NO_TOOLTIP
        LangCode->setToolTip(tr2i18n("Target language of the project.", 0));
#endif // QT_NO_TOOLTIP
#ifndef UI_QT_NO_TOOLTIP
        poBaseDir->setToolTip(tr2i18n("This is main setting. Set this to path of a folder with translation files\n"
"for your project (or a subproject for your target language).", 0));
#endif // QT_NO_TOOLTIP
        l1->setText(tr2i18n("Root folder:", "@label:textbox"));
        l2->setText(tr2i18n("Glossary:", "@label:textbox"));
#ifndef UI_QT_NO_TOOLTIP
        kcfg_ProjectID->setToolTip(tr2i18n("Project ID is used to differentiate translation memories of absolutely different projects and languages.\n"
"\n"
"For example, if you have several projects for translating KDE applications\n"
"(e.g. they are in different repositories), use same ID for all of them.", 0));
#endif // QT_NO_TOOLTIP
        l3->setText(tr2i18n("ID:", "@label:textbox"));
        l4->setText(tr2i18n("Mailing list:", "@label:textbox"));
        Q_UNUSED(prefs_projectmain);
    } // retranslateUi

};

namespace Ui {
    class prefs_projectmain: public Ui_prefs_projectmain {};
} // namespace Ui

QT_END_NAMESPACE

#endif // PREFS_PROJECTMAIN_H

