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

/********************************************************************************
** Form generated from reading UI file 'skgpayeepluginwidget_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_SKGPAYEEPLUGINWIDGET_BASE_H
#define UI_SKGPAYEEPLUGINWIDGET_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_skgpayeeplugin_base
{
public:
    QVBoxLayout *verticalLayout_2;
    SKGFilteredTableView *kView;
    KSeparator *kseparator;
    QFrame *frame;
    QVBoxLayout *verticalLayout;
    QHBoxLayout *horizontalLayout;
    QLabel *kNameLbl;
    SKGLineEdit *kNameInput;
    QLabel *kAddressLabel;
    SKGLineEdit *kAddressEdit;
    QHBoxLayout *horizontalLayout_2;
    QSpacerItem *horizontalSpacer;
    KPushButton *kAddButton;
    KPushButton *kModifyButton;
    KPushButton *kDeleteUnusedButton;

    void setupUi(QWidget *skgpayeeplugin_base)
    {
        if (skgpayeeplugin_base->objectName().isEmpty())
            skgpayeeplugin_base->setObjectName(QString::fromUtf8("skgpayeeplugin_base"));
        skgpayeeplugin_base->resize(394, 211);
        verticalLayout_2 = new QVBoxLayout(skgpayeeplugin_base);
        verticalLayout_2->setSpacing(2);
        verticalLayout_2->setObjectName(QString::fromUtf8("verticalLayout_2"));
        kView = new SKGFilteredTableView(skgpayeeplugin_base);
        kView->setObjectName(QString::fromUtf8("kView"));

        verticalLayout_2->addWidget(kView);

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

        verticalLayout_2->addWidget(kseparator);

        frame = new QFrame(skgpayeeplugin_base);
        frame->setObjectName(QString::fromUtf8("frame"));
        frame->setFrameShape(QFrame::NoFrame);
        frame->setFrameShadow(QFrame::Raised);
        verticalLayout = new QVBoxLayout(frame);
        verticalLayout->setSpacing(2);
        verticalLayout->setContentsMargins(0, 0, 0, 0);
        verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
        horizontalLayout = new QHBoxLayout();
        horizontalLayout->setSpacing(2);
        horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout"));
        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:"));

        horizontalLayout->addWidget(kNameLbl);

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

        horizontalLayout->addWidget(kNameInput);

        kAddressLabel = new QLabel(frame);
        kAddressLabel->setObjectName(QString::fromUtf8("kAddressLabel"));
        QSizePolicy sizePolicy1(QSizePolicy::Minimum, QSizePolicy::Preferred);
        sizePolicy1.setHorizontalStretch(0);
        sizePolicy1.setVerticalStretch(0);
        sizePolicy1.setHeightForWidth(kAddressLabel->sizePolicy().hasHeightForWidth());
        kAddressLabel->setSizePolicy(sizePolicy1);
        kAddressLabel->setText(QString::fromUtf8("Title:"));

        horizontalLayout->addWidget(kAddressLabel);

        kAddressEdit = new SKGLineEdit(frame);
        kAddressEdit->setObjectName(QString::fromUtf8("kAddressEdit"));
        sizePolicy.setHeightForWidth(kAddressEdit->sizePolicy().hasHeightForWidth());
        kAddressEdit->setSizePolicy(sizePolicy);
        kAddressEdit->setUrlDropsEnabled(false);
        kAddressEdit->setSqueezedTextEnabled(true);
        kAddressEdit->setProperty("showClearButton", QVariant(true));

        horizontalLayout->addWidget(kAddressEdit);


        verticalLayout->addLayout(horizontalLayout);

        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);

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

        horizontalLayout_2->addWidget(kAddButton);

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

        horizontalLayout_2->addWidget(kModifyButton);

        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(kNameInput);
        kAddressLabel->setBuddy(kAddressEdit);
#endif // QT_NO_SHORTCUT
        QWidget::setTabOrder(kNameInput, kAddressEdit);
        QWidget::setTabOrder(kAddressEdit, kAddButton);
        QWidget::setTabOrder(kAddButton, kModifyButton);
        QWidget::setTabOrder(kModifyButton, kDeleteUnusedButton);

        retranslateUi(skgpayeeplugin_base);
        QObject::connect(kAddButton, SIGNAL(clicked()), skgpayeeplugin_base, SLOT(onAddPayee()));
        QObject::connect(kModifyButton, SIGNAL(clicked()), skgpayeeplugin_base, SLOT(onModifyPayee()));
        QObject::connect(kNameInput, SIGNAL(textChanged(QString)), skgpayeeplugin_base, SLOT(onEditorModified()));
        QObject::connect(kDeleteUnusedButton, SIGNAL(clicked()), skgpayeeplugin_base, SLOT(onDeleteUnused()));

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

    void retranslateUi(QWidget *skgpayeeplugin_base)
    {
#ifndef UI_QT_NO_TOOLTIP
        kNameInput->setToolTip(tr2i18n("Name of the payee", 0));
#endif // QT_NO_TOOLTIP
#ifndef UI_QT_NO_STATUSTIP
        kNameInput->setStatusTip(tr2i18n("Name of the payee", 0));
#endif // QT_NO_STATUSTIP
#ifndef UI_QT_NO_TOOLTIP
        kAddressEdit->setToolTip(tr2i18n("Address of the payee", 0));
#endif // QT_NO_TOOLTIP
#ifndef UI_QT_NO_STATUSTIP
        kAddressEdit->setStatusTip(tr2i18n("Address of the payee", 0));
#endif // QT_NO_STATUSTIP
#ifndef UI_QT_NO_TOOLTIP
        kAddButton->setToolTip(tr2i18n("Create a payee (Ctrl+Enter)", 0));
#endif // QT_NO_TOOLTIP
#ifndef UI_QT_NO_STATUSTIP
        kAddButton->setStatusTip(tr2i18n("Create a payee (Ctrl+Enter)", 0));
#endif // QT_NO_STATUSTIP
        kAddButton->setText(tr2i18n("Add", 0));
#ifndef UI_QT_NO_TOOLTIP
        kModifyButton->setToolTip(tr2i18n("Modify selected payee (Shift+Enter)", 0));
#endif // QT_NO_TOOLTIP
#ifndef UI_QT_NO_STATUSTIP
        kModifyButton->setStatusTip(tr2i18n("Modify selected payee (Shift+Enter)", 0));
#endif // QT_NO_STATUSTIP
        kModifyButton->setText(tr2i18n("Modify", 0));
#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"));
        Q_UNUSED(skgpayeeplugin_base);
    } // retranslateUi

};

namespace Ui {
    class skgpayeeplugin_base: public Ui_skgpayeeplugin_base {};
} // namespace Ui

QT_END_NAMESPACE

#endif // SKGPAYEEPLUGINWIDGET_BASE_H

