#include <klocalizedstring.h>

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

#ifndef UI_EDITINDENTWIDGET_H
#define UI_EDITINDENTWIDGET_H

#include <QtCore/QVariant>
#include <QtGui/QIcon>
#include <QtWidgets/QApplication>
#include <QtWidgets/QButtonGroup>
#include <QtWidgets/QGridLayout>
#include <QtWidgets/QHBoxLayout>
#include <QtWidgets/QLabel>
#include <QtWidgets/QPushButton>
#include <QtWidgets/QRadioButton>
#include <QtWidgets/QSpacerItem>
#include <QtWidgets/QSpinBox>
#include <QtWidgets/QWidget>

QT_BEGIN_NAMESPACE

class Ui_IndentWidget
{
public:
    QGridLayout *gridLayout;
    QLabel *labelIndent;
    QRadioButton *radioButtonSpaces;
    QSpacerItem *horizontalSpacer_2;
    QLabel *labelSpaces;
    QSpinBox *spinBoxSpaces;
    QRadioButton *radioButtonTabs;
    QLabel *labelTabs;
    QSpinBox *spinBoxTabs;
    QHBoxLayout *hboxLayout;
    QPushButton *pushButtonIndent;
    QPushButton *pushButtonClose;
    QSpacerItem *horizontalSpacer;
    QButtonGroup *buttonGroup;

    void setupUi(QWidget *IndentWidget)
    {
        if (IndentWidget->objectName().isEmpty())
            IndentWidget->setObjectName(QString::fromUtf8("IndentWidget"));
        gridLayout = new QGridLayout(IndentWidget);
        gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
        labelIndent = new QLabel(IndentWidget);
        labelIndent->setObjectName(QString::fromUtf8("labelIndent"));

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

        radioButtonSpaces = new QRadioButton(IndentWidget);
        buttonGroup = new QButtonGroup(IndentWidget);
        buttonGroup->setObjectName(QString::fromUtf8("buttonGroup"));
        buttonGroup->addButton(radioButtonSpaces);
        radioButtonSpaces->setObjectName(QString::fromUtf8("radioButtonSpaces"));

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

        horizontalSpacer_2 = new QSpacerItem(20, 20, QSizePolicy::Fixed, QSizePolicy::Minimum);

        gridLayout->addItem(horizontalSpacer_2, 0, 2, 1, 1);

        labelSpaces = new QLabel(IndentWidget);
        labelSpaces->setObjectName(QString::fromUtf8("labelSpaces"));
        labelSpaces->setEnabled(false);
        labelSpaces->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);

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

        spinBoxSpaces = new QSpinBox(IndentWidget);
        spinBoxSpaces->setObjectName(QString::fromUtf8("spinBoxSpaces"));
        spinBoxSpaces->setEnabled(false);
        spinBoxSpaces->setMinimum(1);
        spinBoxSpaces->setValue(2);

        gridLayout->addWidget(spinBoxSpaces, 0, 4, 1, 1);

        radioButtonTabs = new QRadioButton(IndentWidget);
        buttonGroup->addButton(radioButtonTabs);
        radioButtonTabs->setObjectName(QString::fromUtf8("radioButtonTabs"));
        radioButtonTabs->setChecked(true);

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

        labelTabs = new QLabel(IndentWidget);
        labelTabs->setObjectName(QString::fromUtf8("labelTabs"));
        labelTabs->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);

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

        spinBoxTabs = new QSpinBox(IndentWidget);
        spinBoxTabs->setObjectName(QString::fromUtf8("spinBoxTabs"));
        spinBoxTabs->setMinimum(1);
        spinBoxTabs->setValue(1);

        gridLayout->addWidget(spinBoxTabs, 1, 4, 1, 1);

        hboxLayout = new QHBoxLayout();
        hboxLayout->setObjectName(QString::fromUtf8("hboxLayout"));
        pushButtonIndent = new QPushButton(IndentWidget);
        pushButtonIndent->setObjectName(QString::fromUtf8("pushButtonIndent"));

        hboxLayout->addWidget(pushButtonIndent);

        pushButtonClose = new QPushButton(IndentWidget);
        pushButtonClose->setObjectName(QString::fromUtf8("pushButtonClose"));
        QIcon icon;
        icon.addFile(QString::fromUtf8(":/icons/window-close.png"), QSize(), QIcon::Normal, QIcon::Off);
        pushButtonClose->setIcon(icon);

        hboxLayout->addWidget(pushButtonClose);


        gridLayout->addLayout(hboxLayout, 1, 5, 1, 1);

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

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

#if QT_CONFIG(shortcut)
        labelSpaces->setBuddy(spinBoxSpaces);
        labelTabs->setBuddy(spinBoxTabs);
#endif // QT_CONFIG(shortcut)
        QWidget::setTabOrder(pushButtonIndent, pushButtonClose);

        retranslateUi(IndentWidget);
        QObject::connect(radioButtonSpaces, SIGNAL(toggled(bool)), labelSpaces, SLOT(setEnabled(bool)));
        QObject::connect(radioButtonSpaces, SIGNAL(toggled(bool)), spinBoxSpaces, SLOT(setEnabled(bool)));
        QObject::connect(radioButtonTabs, SIGNAL(toggled(bool)), labelTabs, SLOT(setEnabled(bool)));
        QObject::connect(radioButtonTabs, SIGNAL(toggled(bool)), spinBoxTabs, SLOT(setEnabled(bool)));

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

    void retranslateUi(QWidget *IndentWidget)
    {
        IndentWidget->setWindowTitle(tr2i18n("Indent", nullptr));
        labelIndent->setText(tr2i18n("Indent:", nullptr));
        radioButtonSpaces->setText(tr2i18n("Using sp&aces", nullptr));
        labelSpaces->setText(tr2i18n("&Number of spaces:", nullptr));
        radioButtonTabs->setText(tr2i18n("Using ta&bs", nullptr));
        labelTabs->setText(tr2i18n("N&umber of tabs:", nullptr));
        pushButtonIndent->setText(tr2i18n("In&dent", nullptr));
#if QT_CONFIG(tooltip)
        pushButtonClose->setToolTip(tr2i18n("Close indent box", nullptr));
#endif // QT_CONFIG(tooltip)
        pushButtonClose->setText(tr2i18n("&Cancel", nullptr));
    } // retranslateUi

};

namespace Ui {
    class IndentWidget: public Ui_IndentWidget {};
} // namespace Ui

QT_END_NAMESPACE

#endif // EDITINDENTWIDGET_H

