#include <klocalizedstring.h>

/********************************************************************************
** Form generated from reading UI file 'prefs_editor.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_EDITOR_H
#define UI_PREFS_EDITOR_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_editor
{
public:
    QGridLayout *gridLayout;
    QSpacerItem *spacerItem;
    QCheckBox *kcfg_AutoApprove;
    QCheckBox *kcfg_MouseWheelGo;
    QHBoxLayout *hboxLayout;
    QLabel *l1;
    QSpinBox *kcfg_WordCompletionLength;

    void setupUi(QWidget *prefs_editor)
    {
        if (prefs_editor->objectName().isEmpty())
            prefs_editor->setObjectName(QStringLiteral("prefs_editor"));
        prefs_editor->resize(612, 375);
        gridLayout = new QGridLayout(prefs_editor);
#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, 3, 0, 1, 2);

        kcfg_AutoApprove = new QCheckBox(prefs_editor);
        kcfg_AutoApprove->setObjectName(QStringLiteral("kcfg_AutoApprove"));

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

        kcfg_MouseWheelGo = new QCheckBox(prefs_editor);
        kcfg_MouseWheelGo->setObjectName(QStringLiteral("kcfg_MouseWheelGo"));

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

        hboxLayout = new QHBoxLayout();
        hboxLayout->setObjectName(QStringLiteral("hboxLayout"));
        l1 = new QLabel(prefs_editor);
        l1->setObjectName(QStringLiteral("l1"));

        hboxLayout->addWidget(l1);

        kcfg_WordCompletionLength = new QSpinBox(prefs_editor);
        kcfg_WordCompletionLength->setObjectName(QStringLiteral("kcfg_WordCompletionLength"));
        kcfg_WordCompletionLength->setMinimum(2);
        kcfg_WordCompletionLength->setMaximum(20);

        hboxLayout->addWidget(kcfg_WordCompletionLength);


        gridLayout->addLayout(hboxLayout, 2, 0, 1, 1);


        retranslateUi(prefs_editor);

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

    void retranslateUi(QWidget *prefs_editor)
    {
        kcfg_AutoApprove->setText(tr2i18n("Set 'approved' status automatically when editing started", Q_NULLPTR));
#ifndef UI_QT_NO_TOOLTIP
        kcfg_MouseWheelGo->setToolTip(tr2i18n("If set, mouse wheel goes to previous or next unit, otherwise it scrolls text", Q_NULLPTR));
#endif // QT_NO_TOOLTIP
#ifndef UI_QT_NO_WHATSTHIS
        kcfg_MouseWheelGo->setWhatsThis(tr2i18n("<html>When this option is enabled, the mouse wheel is used to go to the previous or next translation unit (without modifier keys). Modifier keys can be used to change this behavior. Use:<ul><li><b>Shift</b> to scroll within the text of the current unit,</li><li><b>Ctrl+Shift</b> to go to previous or next non-ready unit,</li><li><b>Ctrl</b> to go to previous or next non-ready not empty unit,</li><li><b>Alt</b> to go to previous or next untranslated unit.</li></ul>When the option is disabled, the mouse wheel scrolls within the text of the current translation unit.</html>", Q_NULLPTR));
#endif // QT_NO_WHATSTHIS
        kcfg_MouseWheelGo->setText(tr2i18n("Mouse wheel goes to previous or next translation unit", Q_NULLPTR));
#ifndef UI_QT_NO_TOOLTIP
        l1->setToolTip(tr2i18n("Set to 2 to disable word completion", Q_NULLPTR));
#endif // QT_NO_TOOLTIP
        l1->setText(tr2i18n("Minimum word length for word completion", Q_NULLPTR));
#ifndef UI_QT_NO_TOOLTIP
        kcfg_WordCompletionLength->setToolTip(tr2i18n("Set to 2 to disable word completion", Q_NULLPTR));
#endif // QT_NO_TOOLTIP
        kcfg_WordCompletionLength->setSpecialValueText(tr2i18n("Disable word completion", Q_NULLPTR));
        Q_UNUSED(prefs_editor);
    } // retranslateUi

};

namespace Ui {
    class prefs_editor: public Ui_prefs_editor {};
} // namespace Ui

QT_END_NAMESPACE

#endif // PREFS_EDITOR_H

