#include <klocalizedstring.h>

/********************************************************************************
** Form generated from reading UI file 'bgpreferences.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_BGPREFERENCES_H
#define UI_BGPREFERENCES_H

#include <QtCore/QVariant>
#include <QtWidgets/QAction>
#include <QtWidgets/QApplication>
#include <QtWidgets/QButtonGroup>
#include <QtWidgets/QFormLayout>
#include <QtWidgets/QGroupBox>
#include <QtWidgets/QHeaderView>
#include <QtWidgets/QLabel>
#include <QtWidgets/QSpacerItem>
#include <QtWidgets/QSpinBox>
#include <QtWidgets/QVBoxLayout>
#include <QtWidgets/QWidget>

QT_BEGIN_NAMESPACE

class Ui_BGPreferences
{
public:
    QVBoxLayout *verticalLayout;
    QGroupBox *kcfg_enable;
    QFormLayout *formLayout_2;
    QLabel *label;
    QSpinBox *kcfg_delay;
    QLabel *label_3;
    QSpinBox *kcfg_threads;
    QSpacerItem *spacerItem;

    void setupUi(QWidget *BGPreferences)
    {
        if (BGPreferences->objectName().isEmpty())
            BGPreferences->setObjectName(QStringLiteral("BGPreferences"));
        BGPreferences->resize(475, 402);
        QSizePolicy sizePolicy(QSizePolicy::Preferred, QSizePolicy::Minimum);
        sizePolicy.setHorizontalStretch(0);
        sizePolicy.setVerticalStretch(0);
        sizePolicy.setHeightForWidth(BGPreferences->sizePolicy().hasHeightForWidth());
        BGPreferences->setSizePolicy(sizePolicy);
        verticalLayout = new QVBoxLayout(BGPreferences);
        verticalLayout->setObjectName(QStringLiteral("verticalLayout"));
        kcfg_enable = new QGroupBox(BGPreferences);
        kcfg_enable->setObjectName(QStringLiteral("kcfg_enable"));
        QSizePolicy sizePolicy1(QSizePolicy::Preferred, QSizePolicy::Fixed);
        sizePolicy1.setHorizontalStretch(0);
        sizePolicy1.setVerticalStretch(0);
        sizePolicy1.setHeightForWidth(kcfg_enable->sizePolicy().hasHeightForWidth());
        kcfg_enable->setSizePolicy(sizePolicy1);
        kcfg_enable->setCheckable(true);
        kcfg_enable->setChecked(true);
        formLayout_2 = new QFormLayout(kcfg_enable);
        formLayout_2->setObjectName(QStringLiteral("formLayout_2"));
        formLayout_2->setFieldGrowthPolicy(QFormLayout::ExpandingFieldsGrow);
        label = new QLabel(kcfg_enable);
        label->setObjectName(QStringLiteral("label"));

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

        kcfg_delay = new QSpinBox(kcfg_enable);
        kcfg_delay->setObjectName(QStringLiteral("kcfg_delay"));
        QSizePolicy sizePolicy2(QSizePolicy::MinimumExpanding, QSizePolicy::Fixed);
        sizePolicy2.setHorizontalStretch(0);
        sizePolicy2.setVerticalStretch(0);
        sizePolicy2.setHeightForWidth(kcfg_delay->sizePolicy().hasHeightForWidth());
        kcfg_delay->setSizePolicy(sizePolicy2);
        kcfg_delay->setMaximum(5000);
        kcfg_delay->setValue(500);

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

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

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

        kcfg_threads = new QSpinBox(kcfg_enable);
        kcfg_threads->setObjectName(QStringLiteral("kcfg_threads"));
        sizePolicy2.setHeightForWidth(kcfg_threads->sizePolicy().hasHeightForWidth());
        kcfg_threads->setSizePolicy(sizePolicy2);
        kcfg_threads->setMinimum(1);
        kcfg_threads->setMaximum(32);

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


        verticalLayout->addWidget(kcfg_enable);

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

        verticalLayout->addItem(spacerItem);


        retranslateUi(BGPreferences);

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

    void retranslateUi(QWidget *BGPreferences)
    {
#ifndef UI_QT_NO_TOOLTIP
        kcfg_enable->setToolTip(tr2i18n("<p>Enables or disables the background parser.<br>If unsure, leave it enabled. Disabling the background parser will disable large parts of KDevelop's functionality.</p>", 0));
#endif // QT_NO_TOOLTIP
        kcfg_enable->setTitle(tr2i18n("Enable Background Parser", 0));
#ifndef UI_QT_NO_TOOLTIP
        label->setToolTip(tr2i18n("The time to wait before the document is re-analyzed when you edit it.", 0));
#endif // QT_NO_TOOLTIP
        label->setText(tr2i18n("Delay:", 0));
#ifndef UI_QT_NO_TOOLTIP
        kcfg_delay->setToolTip(tr2i18n("The time to wait before the document is re-analyzed when you edit it.", 0));
#endif // QT_NO_TOOLTIP
        kcfg_delay->setSuffix(tr2i18n(" ms", 0));
#ifndef UI_QT_NO_TOOLTIP
        label_3->setToolTip(tr2i18n("The maximum number of parallel instances the background parser uses. If unsure, select 1 or 2.", 0));
#endif // QT_NO_TOOLTIP
        label_3->setText(tr2i18n("Maximum number of threads:", 0));
#ifndef UI_QT_NO_TOOLTIP
        kcfg_threads->setToolTip(tr2i18n("The maximum number of parallel instances the background parser uses. If unsure, select 1 or 2.", 0));
#endif // QT_NO_TOOLTIP
        kcfg_threads->setSuffix(tr2i18n(" threads", 0));
        Q_UNUSED(BGPreferences);
    } // retranslateUi

};

namespace Ui {
    class BGPreferences: public Ui_BGPreferences {};
} // namespace Ui

QT_END_NAMESPACE

#endif // BGPREFERENCES_H

