#include <klocalizedstring.h>

/********************************************************************************
** Form generated from reading UI file 'prefs_tm.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_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/QHBoxLayout>
#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;
    QHBoxLayout *hboxLayout;
    QLabel *label;
    QSpinBox *kcfg_SuggCount;
    QSpacerItem *horizontalSpacer;
    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);

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

        hboxLayout->addWidget(label);

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

        hboxLayout->addWidget(kcfg_SuggCount);

        horizontalSpacer = new QSpacerItem(0, 0, QSizePolicy::Expanding, QSizePolicy::Minimum);

        hboxLayout->addItem(horizontalSpacer);


        gridLayout->addLayout(hboxLayout, 1, 0, 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 ", Q_NULLPTR));
#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.", Q_NULLPTR));
#endif // QT_NO_WHATSTHIS
        kcfg_PrefetchTM->setText(tr2i18n("Prefetch translation memory suggestions on file open", Q_NULLPTR));
        label->setText(tr2i18n("Maximum number of suggestions:", Q_NULLPTR));
#ifndef UI_QT_NO_TOOLTIP
        kcfg_SuggCount->setToolTip(tr2i18n("Set the maximum number of suggestions", Q_NULLPTR));
#endif // QT_NO_TOOLTIP
#ifndef UI_QT_NO_WHATSTHIS
        kcfg_SuggCount->setWhatsThis(tr2i18n("You can change the maximum number of suggestions, default is 7.", Q_NULLPTR));
#endif // QT_NO_WHATSTHIS
        kcfg_AutoaddTM->setText(tr2i18n("Update/Add edited entries to translation memory", Q_NULLPTR));
        kcfg_ScanToTMOnOpen->setText(tr2i18n("Add opened files to translation memory automatically", Q_NULLPTR));
        Q_UNUSED(prefs_tm);
    } // retranslateUi

};

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

QT_END_NAMESPACE

#endif // PREFS_TM_H

