#include <klocalizedstring.h>

/********************************************************************************
** Form generated from reading UI file 'categoryeditdialog_base.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_CATEGORYEDITDIALOG_BASE_H
#define UI_CATEGORYEDITDIALOG_BASE_H

#include <QtCore/QVariant>
#include <QtWidgets/QAction>
#include <QtWidgets/QApplication>
#include <QtWidgets/QButtonGroup>
#include <QtWidgets/QGridLayout>
#include <QtWidgets/QHeaderView>
#include <QtWidgets/QLineEdit>
#include <QtWidgets/QPushButton>
#include <QtWidgets/QSpacerItem>
#include <QtWidgets/QVBoxLayout>
#include <QtWidgets/QWidget>
#include "autochecktreewidget.h"

QT_BEGIN_NAMESPACE

class Ui_CategoryEditDialog_base
{
public:
    QGridLayout *gridLayout;
    QLineEdit *mEdit;
    QVBoxLayout *vboxLayout;
    QPushButton *mButtonAdd;
    QPushButton *mButtonAddSubcategory;
    QPushButton *mButtonRemove;
    QSpacerItem *spacerItem;
    IncidenceEditorNG::AutoCheckTreeWidget *mCategories;

    void setupUi(QWidget *CategoryEditDialog_base)
    {
        if (CategoryEditDialog_base->objectName().isEmpty())
            CategoryEditDialog_base->setObjectName(QStringLiteral("CategoryEditDialog_base"));
        CategoryEditDialog_base->resize(386, 270);
        gridLayout = new QGridLayout(CategoryEditDialog_base);
#ifndef UI_Q_OS_MAC
        gridLayout->setSpacing(6);
#endif
        gridLayout->setContentsMargins(0, 0, 0, 0);
        gridLayout->setObjectName(QStringLiteral("gridLayout"));
        mEdit = new QLineEdit(CategoryEditDialog_base);
        mEdit->setObjectName(QStringLiteral("mEdit"));
        mEdit->setClearButtonEnabled(true);

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

        vboxLayout = new QVBoxLayout();
#ifndef UI_Q_OS_MAC
        vboxLayout->setSpacing(6);
#endif
        vboxLayout->setContentsMargins(0, 0, 0, 0);
        vboxLayout->setObjectName(QStringLiteral("vboxLayout"));
        mButtonAdd = new QPushButton(CategoryEditDialog_base);
        mButtonAdd->setObjectName(QStringLiteral("mButtonAdd"));

        vboxLayout->addWidget(mButtonAdd);

        mButtonAddSubcategory = new QPushButton(CategoryEditDialog_base);
        mButtonAddSubcategory->setObjectName(QStringLiteral("mButtonAddSubcategory"));

        vboxLayout->addWidget(mButtonAddSubcategory);

        mButtonRemove = new QPushButton(CategoryEditDialog_base);
        mButtonRemove->setObjectName(QStringLiteral("mButtonRemove"));

        vboxLayout->addWidget(mButtonRemove);

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

        vboxLayout->addItem(spacerItem);


        gridLayout->addLayout(vboxLayout, 0, 1, 1, 1);

        mCategories = new IncidenceEditorNG::AutoCheckTreeWidget(CategoryEditDialog_base);
        mCategories->setObjectName(QStringLiteral("mCategories"));
        mCategories->setSelectionMode(QAbstractItemView::ExtendedSelection);
        mCategories->setAllColumnsShowFocus(true);
        mCategories->setColumnCount(1);
        mCategories->setProperty("autoCheck", QVariant(false));

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

        QWidget::setTabOrder(mCategories, mEdit);
        QWidget::setTabOrder(mEdit, mButtonAdd);
        QWidget::setTabOrder(mButtonAdd, mButtonAddSubcategory);
        QWidget::setTabOrder(mButtonAddSubcategory, mButtonRemove);

        retranslateUi(CategoryEditDialog_base);

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

    void retranslateUi(QWidget *CategoryEditDialog_base)
    {
        CategoryEditDialog_base->setWindowTitle(tr2i18n("Edit Categories", Q_NULLPTR));
#ifndef UI_QT_NO_TOOLTIP
        mEdit->setToolTip(tr2i18n("New category entry", Q_NULLPTR));
#endif // QT_NO_TOOLTIP
#ifndef UI_QT_NO_WHATSTHIS
        mEdit->setWhatsThis(tr2i18n("Type in any text you want to use as a new category or sub-category.", Q_NULLPTR));
#endif // QT_NO_WHATSTHIS
#ifndef UI_QT_NO_TOOLTIP
        mButtonAdd->setToolTip(tr2i18n("Add the entry to the category list", Q_NULLPTR));
#endif // QT_NO_TOOLTIP
#ifndef UI_QT_NO_WHATSTHIS
        mButtonAdd->setWhatsThis(tr2i18n("Click this button to insert the entry into the category list.", Q_NULLPTR));
#endif // QT_NO_WHATSTHIS
        mButtonAdd->setText(tr2i18n("A&dd", Q_NULLPTR));
#ifndef UI_QT_NO_TOOLTIP
        mButtonAddSubcategory->setToolTip(tr2i18n("Add the entry as a subcategory of the selected category", Q_NULLPTR));
#endif // QT_NO_TOOLTIP
#ifndef UI_QT_NO_WHATSTHIS
        mButtonAddSubcategory->setWhatsThis(tr2i18n("Click this button to insert the entry as a subcategory of the currently selected category.", Q_NULLPTR));
#endif // QT_NO_WHATSTHIS
        mButtonAddSubcategory->setText(tr2i18n("Add &Subcategory", Q_NULLPTR));
#ifndef UI_QT_NO_TOOLTIP
        mButtonRemove->setToolTip(tr2i18n("Remove the selected category", Q_NULLPTR));
#endif // QT_NO_TOOLTIP
#ifndef UI_QT_NO_WHATSTHIS
        mButtonRemove->setWhatsThis(tr2i18n("Click this button to remove the selected category from the category list.", Q_NULLPTR));
#endif // QT_NO_WHATSTHIS
        mButtonRemove->setText(tr2i18n("&Remove", Q_NULLPTR));
        QTreeWidgetItem *___qtreewidgetitem = mCategories->headerItem();
        ___qtreewidgetitem->setText(0, tr2i18n("Default Category", Q_NULLPTR));
#ifndef UI_QT_NO_TOOLTIP
        mCategories->setToolTip(tr2i18n("Category list", Q_NULLPTR));
#endif // QT_NO_TOOLTIP
#ifndef UI_QT_NO_WHATSTHIS
        mCategories->setWhatsThis(tr2i18n("This is a list of all the categories available. You can create as many sub-categories as you want here.", Q_NULLPTR));
#endif // QT_NO_WHATSTHIS
    } // retranslateUi

};

namespace Ui {
    class CategoryEditDialog_base: public Ui_CategoryEditDialog_base {};
} // namespace Ui

QT_END_NAMESPACE

#endif // CATEGORYEDITDIALOG_BASE_H

