#include <kdialog.h>
#include <klocale.h>

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

#ifndef UI_SKGCATEGORIESPLUGINWIDGET_BASE_H
#define UI_SKGCATEGORIESPLUGINWIDGET_BASE_H

#include <QtCore/QVariant>
#include <QtGui/QAction>
#include <QtGui/QApplication>
#include <QtGui/QButtonGroup>
#include <QtGui/QFrame>
#include <QtGui/QHBoxLayout>
#include <QtGui/QHeaderView>
#include <QtGui/QLabel>
#include <QtGui/QSpacerItem>
#include <QtGui/QVBoxLayout>
#include <QtGui/QWidget>
#include "klineedit.h"
#include "kpushbutton.h"
#include "kseparator.h"
#include "skgfilteredtableview.h"
#include "skglineedit.h"

QT_BEGIN_NAMESPACE

class Ui_skgcategoriesplugin_base
{
public:
    QVBoxLayout *verticalLayout_2;
    SKGFilteredTableView *kCategoriesView;
    KSeparator *kseparator;
    QFrame *frame;
    QVBoxLayout *verticalLayout;
    QHBoxLayout *_2;
    QLabel *kNameLbl;
    QWidget *kFrame;
    QHBoxLayout *kLayout;
    SKGLineEdit *kNameInput1;
    KPushButton *kAdd;
    QHBoxLayout *horizontalLayout_2;
    QSpacerItem *horizontalSpacer;
    KPushButton *kModifyCategoryButton;
    KPushButton *kDeleteUnusedButton;

    void setupUi(QWidget *skgcategoriesplugin_base)
    {
        if (skgcategoriesplugin_base->objectName().isEmpty())
            skgcategoriesplugin_base->setObjectName(QString::fromUtf8("skgcategoriesplugin_base"));
        skgcategoriesplugin_base->resize(676, 367);
        verticalLayout_2 = new QVBoxLayout(skgcategoriesplugin_base);
        verticalLayout_2->setSpacing(2);
        verticalLayout_2->setObjectName(QString::fromUtf8("verticalLayout_2"));
        kCategoriesView = new SKGFilteredTableView(skgcategoriesplugin_base);
        kCategoriesView->setObjectName(QString::fromUtf8("kCategoriesView"));

        verticalLayout_2->addWidget(kCategoriesView);

        kseparator = new KSeparator(skgcategoriesplugin_base);
        kseparator->setObjectName(QString::fromUtf8("kseparator"));

        verticalLayout_2->addWidget(kseparator);

        frame = new QFrame(skgcategoriesplugin_base);
        frame->setObjectName(QString::fromUtf8("frame"));
        frame->setFrameShape(QFrame::NoFrame);
        frame->setFrameShadow(QFrame::Raised);
        verticalLayout = new QVBoxLayout(frame);
        verticalLayout->setContentsMargins(0, 0, 0, 0);
        verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
        _2 = new QHBoxLayout();
        _2->setSpacing(2);
        _2->setObjectName(QString::fromUtf8("_2"));
        kNameLbl = new QLabel(frame);
        kNameLbl->setObjectName(QString::fromUtf8("kNameLbl"));
        QFont font;
        font.setBold(true);
        font.setWeight(75);
        kNameLbl->setFont(font);
        kNameLbl->setText(QString::fromUtf8("Title:"));

        _2->addWidget(kNameLbl);

        kFrame = new QWidget(frame);
        kFrame->setObjectName(QString::fromUtf8("kFrame"));
        kLayout = new QHBoxLayout(kFrame);
        kLayout->setSpacing(2);
        kLayout->setContentsMargins(0, 0, 0, 0);
        kLayout->setObjectName(QString::fromUtf8("kLayout"));

        _2->addWidget(kFrame);

        kNameInput1 = new SKGLineEdit(frame);
        kNameInput1->setObjectName(QString::fromUtf8("kNameInput1"));
        QSizePolicy sizePolicy(QSizePolicy::Expanding, QSizePolicy::Fixed);
        sizePolicy.setHorizontalStretch(0);
        sizePolicy.setVerticalStretch(0);
        sizePolicy.setHeightForWidth(kNameInput1->sizePolicy().hasHeightForWidth());
        kNameInput1->setSizePolicy(sizePolicy);

        _2->addWidget(kNameInput1);

        kAdd = new KPushButton(frame);
        kAdd->setObjectName(QString::fromUtf8("kAdd"));

        _2->addWidget(kAdd);


        verticalLayout->addLayout(_2);

        horizontalLayout_2 = new QHBoxLayout();
        horizontalLayout_2->setSpacing(2);
        horizontalLayout_2->setObjectName(QString::fromUtf8("horizontalLayout_2"));
        horizontalSpacer = new QSpacerItem(0, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);

        horizontalLayout_2->addItem(horizontalSpacer);

        kModifyCategoryButton = new KPushButton(frame);
        kModifyCategoryButton->setObjectName(QString::fromUtf8("kModifyCategoryButton"));

        horizontalLayout_2->addWidget(kModifyCategoryButton);

        kDeleteUnusedButton = new KPushButton(frame);
        kDeleteUnusedButton->setObjectName(QString::fromUtf8("kDeleteUnusedButton"));

        horizontalLayout_2->addWidget(kDeleteUnusedButton);


        verticalLayout->addLayout(horizontalLayout_2);


        verticalLayout_2->addWidget(frame);

#ifndef UI_QT_NO_SHORTCUT
        kNameLbl->setBuddy(kNameInput1);
#endif // QT_NO_SHORTCUT
        QWidget::setTabOrder(kNameInput1, kAdd);
        QWidget::setTabOrder(kAdd, kModifyCategoryButton);
        QWidget::setTabOrder(kModifyCategoryButton, kDeleteUnusedButton);

        retranslateUi(skgcategoriesplugin_base);
        QObject::connect(kModifyCategoryButton, SIGNAL(clicked()), skgcategoriesplugin_base, SLOT(onUpdateCategory()));
        QObject::connect(kNameInput1, SIGNAL(textChanged(QString)), skgcategoriesplugin_base, SLOT(onEditorModified()));
        QObject::connect(kDeleteUnusedButton, SIGNAL(clicked()), skgcategoriesplugin_base, SLOT(onDeleteUnused()));
        QObject::connect(kAdd, SIGNAL(clicked()), skgcategoriesplugin_base, SLOT(onAddCategory()));

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

    void retranslateUi(QWidget *skgcategoriesplugin_base)
    {
        skgcategoriesplugin_base->setWindowTitle(tr2i18n("Categories", 0));
#ifndef UI_QT_NO_TOOLTIP
        kModifyCategoryButton->setToolTip(tr2i18n("Update selected categories (Shift+Enter)", 0));
#endif // QT_NO_TOOLTIP
#ifndef UI_QT_NO_STATUSTIP
        kModifyCategoryButton->setStatusTip(tr2i18n("Update selected categories (Shift+Enter)", 0));
#endif // QT_NO_STATUSTIP
        kModifyCategoryButton->setText(tr2i18n("Modify", "Verb, modify an item"));
#ifndef UI_QT_NO_TOOLTIP
        kDeleteUnusedButton->setToolTip(tr2i18n("Delete unused categories", 0));
#endif // QT_NO_TOOLTIP
#ifndef UI_QT_NO_STATUSTIP
        kDeleteUnusedButton->setStatusTip(tr2i18n("Delete unused categories", 0));
#endif // QT_NO_STATUSTIP
        kDeleteUnusedButton->setText(tr2i18n("Delete unused", "Verb, delete unused categories"));
    } // retranslateUi

};

namespace Ui {
    class skgcategoriesplugin_base: public Ui_skgcategoriesplugin_base {};
} // namespace Ui

QT_END_NAMESPACE

#endif // SKGCATEGORIESPLUGINWIDGET_BASE_H

