#include <klocalizedstring.h>

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

#ifndef UI_INDENTATIONCONFIGWIDGET_H
#define UI_INDENTATIONCONFIGWIDGET_H

#include <QtCore/QVariant>
#include <QtWidgets/QAction>
#include <QtWidgets/QApplication>
#include <QtWidgets/QButtonGroup>
#include <QtWidgets/QCheckBox>
#include <QtWidgets/QGridLayout>
#include <QtWidgets/QGroupBox>
#include <QtWidgets/QHBoxLayout>
#include <QtWidgets/QHeaderView>
#include <QtWidgets/QLabel>
#include <QtWidgets/QRadioButton>
#include <QtWidgets/QSpacerItem>
#include <QtWidgets/QVBoxLayout>
#include <QtWidgets/QWidget>
#include "kcombobox.h"
#include "kpluralhandlingspinbox.h"

QT_BEGIN_NAMESPACE

class Ui_IndentationConfigWidget
{
public:
    QVBoxLayout *verticalLayout;
    QHBoxLayout *hboxLayout;
    QLabel *lblMode;
    KComboBox *cmbMode;
    QSpacerItem *spacerItem;
    QGroupBox *gbIndentationMode;
    QGridLayout *gridLayout;
    QRadioButton *rbIndentWithTabs;
    QRadioButton *rbIndentWithSpaces;
    QLabel *lblIndentWidth;
    QRadioButton *rbIndentMixed;
    QSpacerItem *horizontalSpacer;
    QLabel *lblTabWidth;
    KPluralHandlingSpinBox *sbTabWidth;
    KPluralHandlingSpinBox *sbIndentWidth;
    QGroupBox *gbProperties;
    QVBoxLayout *vboxLayout;
    QCheckBox *chkKeepExtraSpaces;
    QCheckBox *chkIndentPaste;
    QGroupBox *gbKeys;
    QVBoxLayout *vboxLayout1;
    QCheckBox *chkBackspaceUnindents;
    QLabel *label;
    QHBoxLayout *hboxLayout1;
    QSpacerItem *spacerItem1;
    QVBoxLayout *vboxLayout2;
    QRadioButton *rbTabAdvances;
    QRadioButton *rbTabIndents;
    QRadioButton *rbTabSmart;
    QSpacerItem *spacerItem2;

    void setupUi(QWidget *IndentationConfigWidget)
    {
        if (IndentationConfigWidget->objectName().isEmpty())
            IndentationConfigWidget->setObjectName(QStringLiteral("IndentationConfigWidget"));
        verticalLayout = new QVBoxLayout(IndentationConfigWidget);
        verticalLayout->setContentsMargins(0, 0, 0, 0);
        verticalLayout->setObjectName(QStringLiteral("verticalLayout"));
        hboxLayout = new QHBoxLayout();
#ifndef UI_Q_OS_MAC
        hboxLayout->setContentsMargins(0, 0, 0, 0);
#endif
        hboxLayout->setObjectName(QStringLiteral("hboxLayout"));
        lblMode = new QLabel(IndentationConfigWidget);
        lblMode->setObjectName(QStringLiteral("lblMode"));

        hboxLayout->addWidget(lblMode);

        cmbMode = new KComboBox(IndentationConfigWidget);
        cmbMode->setObjectName(QStringLiteral("cmbMode"));

        hboxLayout->addWidget(cmbMode);

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

        hboxLayout->addItem(spacerItem);


        verticalLayout->addLayout(hboxLayout);

        gbIndentationMode = new QGroupBox(IndentationConfigWidget);
        gbIndentationMode->setObjectName(QStringLiteral("gbIndentationMode"));
        gridLayout = new QGridLayout(gbIndentationMode);
        gridLayout->setObjectName(QStringLiteral("gridLayout"));
        rbIndentWithTabs = new QRadioButton(gbIndentationMode);
        rbIndentWithTabs->setObjectName(QStringLiteral("rbIndentWithTabs"));

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

        rbIndentWithSpaces = new QRadioButton(gbIndentationMode);
        rbIndentWithSpaces->setObjectName(QStringLiteral("rbIndentWithSpaces"));

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

        lblIndentWidth = new QLabel(gbIndentationMode);
        lblIndentWidth->setObjectName(QStringLiteral("lblIndentWidth"));

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

        rbIndentMixed = new QRadioButton(gbIndentationMode);
        rbIndentMixed->setObjectName(QStringLiteral("rbIndentMixed"));

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

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

        gridLayout->addItem(horizontalSpacer, 1, 1, 1, 1);

        lblTabWidth = new QLabel(gbIndentationMode);
        lblTabWidth->setObjectName(QStringLiteral("lblTabWidth"));
        lblTabWidth->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);

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

        sbTabWidth = new KPluralHandlingSpinBox(gbIndentationMode);
        sbTabWidth->setObjectName(QStringLiteral("sbTabWidth"));
        sbTabWidth->setMinimum(1);
        sbTabWidth->setMaximum(16);
        sbTabWidth->setValue(8);

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

        sbIndentWidth = new KPluralHandlingSpinBox(gbIndentationMode);
        sbIndentWidth->setObjectName(QStringLiteral("sbIndentWidth"));
        sbIndentWidth->setMinimum(1);
        sbIndentWidth->setMaximum(16);
        sbIndentWidth->setValue(4);

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


        verticalLayout->addWidget(gbIndentationMode);

        gbProperties = new QGroupBox(IndentationConfigWidget);
        gbProperties->setObjectName(QStringLiteral("gbProperties"));
        vboxLayout = new QVBoxLayout(gbProperties);
        vboxLayout->setObjectName(QStringLiteral("vboxLayout"));
        chkKeepExtraSpaces = new QCheckBox(gbProperties);
        chkKeepExtraSpaces->setObjectName(QStringLiteral("chkKeepExtraSpaces"));

        vboxLayout->addWidget(chkKeepExtraSpaces);

        chkIndentPaste = new QCheckBox(gbProperties);
        chkIndentPaste->setObjectName(QStringLiteral("chkIndentPaste"));

        vboxLayout->addWidget(chkIndentPaste);


        verticalLayout->addWidget(gbProperties);

        gbKeys = new QGroupBox(IndentationConfigWidget);
        gbKeys->setObjectName(QStringLiteral("gbKeys"));
        vboxLayout1 = new QVBoxLayout(gbKeys);
        vboxLayout1->setObjectName(QStringLiteral("vboxLayout1"));
        chkBackspaceUnindents = new QCheckBox(gbKeys);
        chkBackspaceUnindents->setObjectName(QStringLiteral("chkBackspaceUnindents"));

        vboxLayout1->addWidget(chkBackspaceUnindents);

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

        vboxLayout1->addWidget(label);

        hboxLayout1 = new QHBoxLayout();
        hboxLayout1->setContentsMargins(0, 0, 0, 0);
        hboxLayout1->setObjectName(QStringLiteral("hboxLayout1"));
        spacerItem1 = new QSpacerItem(20, 0, QSizePolicy::Fixed, QSizePolicy::Minimum);

        hboxLayout1->addItem(spacerItem1);

        vboxLayout2 = new QVBoxLayout();
#ifndef UI_Q_OS_MAC
        vboxLayout2->setContentsMargins(0, 0, 0, 0);
#endif
        vboxLayout2->setObjectName(QStringLiteral("vboxLayout2"));
        rbTabAdvances = new QRadioButton(gbKeys);
        rbTabAdvances->setObjectName(QStringLiteral("rbTabAdvances"));

        vboxLayout2->addWidget(rbTabAdvances);

        rbTabIndents = new QRadioButton(gbKeys);
        rbTabIndents->setObjectName(QStringLiteral("rbTabIndents"));

        vboxLayout2->addWidget(rbTabIndents);

        rbTabSmart = new QRadioButton(gbKeys);
        rbTabSmart->setObjectName(QStringLiteral("rbTabSmart"));

        vboxLayout2->addWidget(rbTabSmart);


        hboxLayout1->addLayout(vboxLayout2);


        vboxLayout1->addLayout(hboxLayout1);


        verticalLayout->addWidget(gbKeys);

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

        verticalLayout->addItem(spacerItem2);

#ifndef UI_QT_NO_SHORTCUT
        lblMode->setBuddy(cmbMode);
        lblIndentWidth->setBuddy(sbIndentWidth);
        lblTabWidth->setBuddy(sbTabWidth);
#endif // QT_NO_SHORTCUT

        retranslateUi(IndentationConfigWidget);

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

    void retranslateUi(QWidget *IndentationConfigWidget)
    {
        lblMode->setText(tr2i18n("Default indentation mode:", 0));
#ifndef UI_QT_NO_WHATSTHIS
        cmbMode->setWhatsThis(tr2i18n("This is a list of available indentation modes. The specified indentation mode will be used for all new documents. Be aware that it is also possible to set the indentation mode with document variables, modes or a .kateconfig file.", 0));
#endif // QT_NO_WHATSTHIS
        gbIndentationMode->setTitle(tr2i18n("Indent using", 0));
        rbIndentWithTabs->setText(tr2i18n("&Tabulators", 0));
        rbIndentWithSpaces->setText(tr2i18n("&Spaces", 0));
        lblIndentWidth->setText(tr2i18n("&Indentation width:", 0));
        rbIndentMixed->setText(tr2i18n("Tabulators &and Spaces", 0));
        lblTabWidth->setText(tr2i18n("Tab wi&dth:", 0));
#ifndef UI_QT_NO_WHATSTHIS
        sbIndentWidth->setWhatsThis(tr2i18n("The indentation width is the number of spaces which is used to indent a line. If the option <b>Insert spaces instead of tabulators</b> in the section <b>Editing</b> is disabled, a <b>Tab</b> character is inserted if the indentation is divisible by the tab width.", 0));
#endif // QT_NO_WHATSTHIS
        gbProperties->setTitle(tr2i18n("Indentation Properties", 0));
#ifndef UI_QT_NO_WHATSTHIS
        chkKeepExtraSpaces->setWhatsThis(tr2i18n("If this option is disabled, changing the indentation level aligns a line to a multiple of the width specified in <b>Indentation width</b>.", 0));
#endif // QT_NO_WHATSTHIS
        chkKeepExtraSpaces->setText(tr2i18n("&Keep extra spaces", 0));
#ifndef UI_QT_NO_WHATSTHIS
        chkIndentPaste->setWhatsThis(tr2i18n("If this option is selected, pasted code from the clipboard is indented. Triggering the <b>undo</b>-action removes the indentation.", 0));
#endif // QT_NO_WHATSTHIS
        chkIndentPaste->setText(tr2i18n("Adjust indentation of code &pasted from the clipboard", 0));
        gbKeys->setTitle(tr2i18n("Indentation Actions", 0));
#ifndef UI_QT_NO_WHATSTHIS
        chkBackspaceUnindents->setWhatsThis(tr2i18n("If this option is selected, the <b>Backspace</b> key decreases the indentation level if the cursor is located in the leading blank space of a line.", 0));
#endif // QT_NO_WHATSTHIS
        chkBackspaceUnindents->setText(tr2i18n("&Backspace key in leading blank space unindents", 0));
        label->setText(tr2i18n("<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
"p, li { white-space: pre-wrap; }\n"
"</style></head><body>\n"
"<p>Tab key action (if no selection exists) <a href=\"If you want <b>Tab</b> to align the current line in the current code block like in emacs, make <b>Tab</b> a shortcut to the action <b>Align</b>.\"><span>More ...</span></a></p></body></html>", 0));
#ifndef UI_QT_NO_WHATSTHIS
        rbTabAdvances->setWhatsThis(tr2i18n("If this option is selected, the <b>Tab</b> key always inserts white space so that the next tab position is reached. If the option <b>Insert spaces instead of tabulators</b> in the section <b>Editing</b> is enabled, spaces are inserted; otherwise, a single tabulator is inserted.", 0));
#endif // QT_NO_WHATSTHIS
        rbTabAdvances->setText(tr2i18n("Always advance to the &next tab position", 0));
#ifndef UI_QT_NO_WHATSTHIS
        rbTabIndents->setWhatsThis(tr2i18n("If this option is selected, the <b>Tab</b> key always indents the current line by the number of character positions specified in <b>Indentation width</b>.", 0));
#endif // QT_NO_WHATSTHIS
        rbTabIndents->setText(tr2i18n("Always increase indentation &level", 0));
#ifndef UI_QT_NO_WHATSTHIS
        rbTabSmart->setWhatsThis(tr2i18n("If this option is selected, the <b>Tab</b> key either indents the current line or advances to the next tab position.<p> If the insertion point is at or before the first non-space character in the line, or if there is a selection, the current line is indented by the number of character positions specified in <b>Indentation width</b>.<p> If the insertion point is located after the first non-space character in the line and there is no selection, white space is inserted so that the next tab position is reached: if the option <b>Insert spaces instead of tabulators</b> in the section <b>Editing</b> is enabled, spaces are inserted; otherwise, a single tabulator is inserted.", 0));
#endif // QT_NO_WHATSTHIS
        rbTabSmart->setText(tr2i18n("Increase indentation level if in l&eading blank space", 0));
        Q_UNUSED(IndentationConfigWidget);
    } // retranslateUi

};

namespace Ui {
    class IndentationConfigWidget: public Ui_IndentationConfigWidget {};
} // namespace Ui

QT_END_NAMESPACE

#endif // INDENTATIONCONFIGWIDGET_H

