#include <klocalizedstring.h>

/********************************************************************************
** Form generated from reading UI file 'prefs_tm.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_TM_H
#define UI_PREFS_TM_H

#include <QtCore/QVariant>
#include <QtWidgets/QAction>
#include <QtWidgets/QApplication>
#include <QtWidgets/QButtonGroup>
#include <QtWidgets/QCheckBox>
#include <QtWidgets/QGridLayout>
#include <QtWidgets/QHeaderView>
#include <QtWidgets/QLabel>
#include <QtWidgets/QSpacerItem>
#include <QtWidgets/QSpinBox>
#include <QtWidgets/QWidget>

QT_BEGIN_NAMESPACE

class Ui_prefs_tm
{
public:
    QGridLayout *gridLayout;
    QSpacerItem *spacerItem;
    QCheckBox *kcfg_PrefetchTM;
    QLabel *label;
    QSpinBox *kcfg_SuggCount;
    QCheckBox *kcfg_AutoaddTM;
    QCheckBox *kcfg_ScanToTMOnOpen;

    void setupUi(QWidget *prefs_tm)
    {
        if (prefs_tm->objectName().isEmpty())
            prefs_tm->setObjectName(QStringLiteral("prefs_tm"));
        prefs_tm->resize(612, 375);
        gridLayout = new QGridLayout(prefs_tm);
#ifndef UI_Q_OS_MAC
        gridLayout->setSpacing(6);
#endif
        gridLayout->setContentsMargins(11, 11, 11, 11);
        gridLayout->setObjectName(QStringLiteral("gridLayout"));
        spacerItem = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);

        gridLayout->addItem(spacerItem, 7, 0, 1, 2);

        kcfg_PrefetchTM = new QCheckBox(prefs_tm);
        kcfg_PrefetchTM->setObjectName(QStringLiteral("kcfg_PrefetchTM"));

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

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

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

        kcfg_SuggCount = new QSpinBox(prefs_tm);
        kcfg_SuggCount->setObjectName(QStringLiteral("kcfg_SuggCount"));

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

        kcfg_AutoaddTM = new QCheckBox(prefs_tm);
        kcfg_AutoaddTM->setObjectName(QStringLiteral("kcfg_AutoaddTM"));

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

        kcfg_ScanToTMOnOpen = new QCheckBox(prefs_tm);
        kcfg_ScanToTMOnOpen->setObjectName(QStringLiteral("kcfg_ScanToTMOnOpen"));

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


        retranslateUi(prefs_tm);

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

    void retranslateUi(QWidget *prefs_tm)
    {
#ifndef UI_QT_NO_TOOLTIP
        kcfg_PrefetchTM->setToolTip(tr2i18n("If checked, get translation memory suggestions ", 0));
#endif // QT_NO_TOOLTIP
#ifndef UI_QT_NO_WHATSTHIS
        kcfg_PrefetchTM->setWhatsThis(tr2i18n("If this is checked, the program will fetch translation memories as soon as you open a file.", 0));
#endif // QT_NO_WHATSTHIS
        kcfg_PrefetchTM->setText(tr2i18n("Prefetch translation memory suggestions on file open", 0));
        label->setText(tr2i18n("Maximum number of suggestions:", 0));
#ifndef UI_QT_NO_TOOLTIP
        kcfg_SuggCount->setToolTip(tr2i18n("Set the maximum number of suggestions", 0));
#endif // QT_NO_TOOLTIP
#ifndef UI_QT_NO_WHATSTHIS
        kcfg_SuggCount->setWhatsThis(tr2i18n("You can change the maximum number of suggestions, default is 7.", 0));
#endif // QT_NO_WHATSTHIS
        kcfg_AutoaddTM->setText(tr2i18n("Update/Add edited entries to translation memory", 0));
        kcfg_ScanToTMOnOpen->setText(tr2i18n("Add opened files to translation memory automatically", 0));
        Q_UNUSED(prefs_tm);
    } // retranslateUi

};

namespace Ui {
    class prefs_tm: public Ui_prefs_tm {};
} // namespace Ui

QT_END_NAMESPACE

#endif // PREFS_TM_H

