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

/********************************************************************************
** Form generated from reading UI file 'kpayeesviewdecl.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_KPAYEESVIEWDECL_H
#define UI_KPAYEESVIEWDECL_H

#include <QtCore/QVariant>
#include <QtGui/QAction>
#include <QtGui/QApplication>
#include <QtGui/QButtonGroup>
#include <QtGui/QCheckBox>
#include <QtGui/QGridLayout>
#include <QtGui/QGroupBox>
#include <QtGui/QHBoxLayout>
#include <QtGui/QHeaderView>
#include <QtGui/QLabel>
#include <QtGui/QRadioButton>
#include <QtGui/QSpacerItem>
#include <QtGui/QSplitter>
#include <QtGui/QVBoxLayout>
#include <QtGui/QWidget>
#include "../widgets/kmymoneyaccountcombo.h"
#include "kcombobox.h"
#include "keditlistbox.h"
#include "klineedit.h"
#include "klistwidget.h"
#include "kmymoneyaccountcombo.h"
#include "kpushbutton.h"
#include "ktabwidget.h"
#include "ktextedit.h"
#include "register.h"

QT_BEGIN_NAMESPACE

class Ui_KPayeesViewDecl
{
public:
    QVBoxLayout *verticalLayout_3;
    QVBoxLayout *verticalLayout;
    QSplitter *m_splitter;
    QGroupBox *groupBox1;
    QVBoxLayout *vboxLayout;
    QHBoxLayout *hboxLayout;
    KPushButton *m_newButton;
    KPushButton *m_renameButton;
    KPushButton *m_deleteButton;
    KPushButton *m_mergeButton;
    QHBoxLayout *m_listTopHLayout;
    KComboBox *m_filterBox;
    KListWidget *m_payeesList;
    KTabWidget *m_tabWidget;
    QWidget *tab;
    QVBoxLayout *vboxLayout1;
    QGroupBox *transactionGroup;
    QVBoxLayout *vboxLayout2;
    QVBoxLayout *vboxLayout3;
    KMyMoneyRegister::Register *m_register;
    QLabel *m_balanceLabel;
    QWidget *tab1;
    QVBoxLayout *vboxLayout4;
    QGroupBox *detailsGroup;
    QGridLayout *gridLayout;
    QLabel *TextLabel7;
    QLabel *TextLabel5;
    QLabel *TextLabel6;
    QLabel *TextLabel4_2;
    KLineEdit *postcodeEdit;
    KLineEdit *telephoneEdit;
    KLineEdit *emailEdit;
    KTextEdit *addressEdit;
    KTextEdit *notesEdit;
    QLabel *TextLabel4;
    QSpacerItem *spacer6;
    QWidget *TabPage;
    QVBoxLayout *verticalLayout_2;
    QGroupBox *m_matchTypeGroupBox;
    QVBoxLayout *horizontalLayout;
    QRadioButton *radioNoMatch;
    QRadioButton *radioNameMatch;
    QRadioButton *radioKeyMatch;
    KEditListBox *matchKeyEditList;
    QCheckBox *checkMatchIgnoreCase;
    QSpacerItem *spacer7;
    QWidget *TabPage2;
    QVBoxLayout *vboxLayout5;
    QCheckBox *checkEnableDefaultCategory;
    QGridLayout *gridLayout1;
    QLabel *labelDefaultCategory;
    KMyMoneyAccountCombo *comboDefaultCategory;
    KPushButton *buttonSuggestACategory;
    QSpacerItem *spacer5;
    QHBoxLayout *hboxLayout1;
    KPushButton *m_helpButton;
    QSpacerItem *spacer14;
    KPushButton *m_updateButton;
    QButtonGroup *m_matchType;

    void setupUi(QWidget *KPayeesViewDecl)
    {
        if (KPayeesViewDecl->objectName().isEmpty())
            KPayeesViewDecl->setObjectName(QString::fromUtf8("KPayeesViewDecl"));
        KPayeesViewDecl->resize(643, 402);
        verticalLayout_3 = new QVBoxLayout(KPayeesViewDecl);
        verticalLayout_3->setSpacing(6);
        verticalLayout_3->setContentsMargins(0, 0, 0, 0);
        verticalLayout_3->setObjectName(QString::fromUtf8("verticalLayout_3"));
        verticalLayout = new QVBoxLayout();
        verticalLayout->setSpacing(6);
        verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
        m_splitter = new QSplitter(KPayeesViewDecl);
        m_splitter->setObjectName(QString::fromUtf8("m_splitter"));
        m_splitter->setOrientation(Qt::Horizontal);
        m_splitter->setChildrenCollapsible(false);
        groupBox1 = new QGroupBox(m_splitter);
        groupBox1->setObjectName(QString::fromUtf8("groupBox1"));
        QSizePolicy sizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding);
        sizePolicy.setHorizontalStretch(1);
        sizePolicy.setVerticalStretch(1);
        sizePolicy.setHeightForWidth(groupBox1->sizePolicy().hasHeightForWidth());
        groupBox1->setSizePolicy(sizePolicy);
        vboxLayout = new QVBoxLayout(groupBox1);
        vboxLayout->setSpacing(6);
        vboxLayout->setContentsMargins(11, 11, 11, 11);
        vboxLayout->setObjectName(QString::fromUtf8("vboxLayout"));
        hboxLayout = new QHBoxLayout();
        hboxLayout->setSpacing(6);
        hboxLayout->setObjectName(QString::fromUtf8("hboxLayout"));
        m_newButton = new KPushButton(groupBox1);
        m_newButton->setObjectName(QString::fromUtf8("m_newButton"));

        hboxLayout->addWidget(m_newButton);

        m_renameButton = new KPushButton(groupBox1);
        m_renameButton->setObjectName(QString::fromUtf8("m_renameButton"));

        hboxLayout->addWidget(m_renameButton);

        m_deleteButton = new KPushButton(groupBox1);
        m_deleteButton->setObjectName(QString::fromUtf8("m_deleteButton"));

        hboxLayout->addWidget(m_deleteButton);

        m_mergeButton = new KPushButton(groupBox1);
        m_mergeButton->setObjectName(QString::fromUtf8("m_mergeButton"));

        hboxLayout->addWidget(m_mergeButton);


        vboxLayout->addLayout(hboxLayout);

        m_listTopHLayout = new QHBoxLayout();
        m_listTopHLayout->setSpacing(6);
        m_listTopHLayout->setObjectName(QString::fromUtf8("m_listTopHLayout"));
        m_filterBox = new KComboBox(groupBox1);
        m_filterBox->setObjectName(QString::fromUtf8("m_filterBox"));

        m_listTopHLayout->addWidget(m_filterBox);


        vboxLayout->addLayout(m_listTopHLayout);

        m_payeesList = new KListWidget(groupBox1);
        m_payeesList->setObjectName(QString::fromUtf8("m_payeesList"));
        sizePolicy.setHeightForWidth(m_payeesList->sizePolicy().hasHeightForWidth());
        m_payeesList->setSizePolicy(sizePolicy);
        m_payeesList->setAlternatingRowColors(true);
        m_payeesList->setSelectionMode(QAbstractItemView::ExtendedSelection);

        vboxLayout->addWidget(m_payeesList);

        m_splitter->addWidget(groupBox1);
        m_tabWidget = new KTabWidget(m_splitter);
        m_tabWidget->setObjectName(QString::fromUtf8("m_tabWidget"));
        QSizePolicy sizePolicy1(QSizePolicy::Expanding, QSizePolicy::Expanding);
        sizePolicy1.setHorizontalStretch(2);
        sizePolicy1.setVerticalStretch(1);
        sizePolicy1.setHeightForWidth(m_tabWidget->sizePolicy().hasHeightForWidth());
        m_tabWidget->setSizePolicy(sizePolicy1);
        tab = new QWidget();
        tab->setObjectName(QString::fromUtf8("tab"));
        vboxLayout1 = new QVBoxLayout(tab);
        vboxLayout1->setSpacing(6);
        vboxLayout1->setContentsMargins(11, 11, 11, 11);
        vboxLayout1->setObjectName(QString::fromUtf8("vboxLayout1"));
        transactionGroup = new QGroupBox(tab);
        transactionGroup->setObjectName(QString::fromUtf8("transactionGroup"));
        vboxLayout2 = new QVBoxLayout(transactionGroup);
        vboxLayout2->setSpacing(6);
        vboxLayout2->setContentsMargins(11, 11, 11, 11);
        vboxLayout2->setObjectName(QString::fromUtf8("vboxLayout2"));
        vboxLayout3 = new QVBoxLayout();
        vboxLayout3->setSpacing(6);
        vboxLayout3->setContentsMargins(0, 0, 0, 0);
        vboxLayout3->setObjectName(QString::fromUtf8("vboxLayout3"));
        m_register = new KMyMoneyRegister::Register(transactionGroup);
        if (m_register->columnCount() < 12)
            m_register->setColumnCount(12);
        m_register->setObjectName(QString::fromUtf8("m_register"));

        vboxLayout3->addWidget(m_register);

        m_balanceLabel = new QLabel(transactionGroup);
        m_balanceLabel->setObjectName(QString::fromUtf8("m_balanceLabel"));
        m_balanceLabel->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
        m_balanceLabel->setWordWrap(false);

        vboxLayout3->addWidget(m_balanceLabel);


        vboxLayout2->addLayout(vboxLayout3);


        vboxLayout1->addWidget(transactionGroup);

        m_tabWidget->addTab(tab, QString());
        tab1 = new QWidget();
        tab1->setObjectName(QString::fromUtf8("tab1"));
        vboxLayout4 = new QVBoxLayout(tab1);
        vboxLayout4->setSpacing(6);
        vboxLayout4->setContentsMargins(11, 11, 11, 11);
        vboxLayout4->setObjectName(QString::fromUtf8("vboxLayout4"));
        detailsGroup = new QGroupBox(tab1);
        detailsGroup->setObjectName(QString::fromUtf8("detailsGroup"));
        gridLayout = new QGridLayout(detailsGroup);
        gridLayout->setSpacing(6);
        gridLayout->setContentsMargins(11, 11, 11, 11);
        gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
        TextLabel7 = new QLabel(detailsGroup);
        TextLabel7->setObjectName(QString::fromUtf8("TextLabel7"));
        QSizePolicy sizePolicy2(QSizePolicy::Fixed, QSizePolicy::Minimum);
        sizePolicy2.setHorizontalStretch(0);
        sizePolicy2.setVerticalStretch(0);
        sizePolicy2.setHeightForWidth(TextLabel7->sizePolicy().hasHeightForWidth());
        TextLabel7->setSizePolicy(sizePolicy2);
        TextLabel7->setMinimumSize(QSize(90, 0));
        TextLabel7->setWordWrap(false);

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

        TextLabel5 = new QLabel(detailsGroup);
        TextLabel5->setObjectName(QString::fromUtf8("TextLabel5"));
        sizePolicy2.setHeightForWidth(TextLabel5->sizePolicy().hasHeightForWidth());
        TextLabel5->setSizePolicy(sizePolicy2);
        TextLabel5->setMinimumSize(QSize(90, 0));
        TextLabel5->setWordWrap(false);

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

        TextLabel6 = new QLabel(detailsGroup);
        TextLabel6->setObjectName(QString::fromUtf8("TextLabel6"));
        sizePolicy2.setHeightForWidth(TextLabel6->sizePolicy().hasHeightForWidth());
        TextLabel6->setSizePolicy(sizePolicy2);
        TextLabel6->setMinimumSize(QSize(90, 0));
        TextLabel6->setWordWrap(false);

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

        TextLabel4_2 = new QLabel(detailsGroup);
        TextLabel4_2->setObjectName(QString::fromUtf8("TextLabel4_2"));
        sizePolicy2.setHeightForWidth(TextLabel4_2->sizePolicy().hasHeightForWidth());
        TextLabel4_2->setSizePolicy(sizePolicy2);
        TextLabel4_2->setMinimumSize(QSize(90, 0));
        TextLabel4_2->setAlignment(Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop);
        TextLabel4_2->setWordWrap(false);

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

        postcodeEdit = new KLineEdit(detailsGroup);
        postcodeEdit->setObjectName(QString::fromUtf8("postcodeEdit"));

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

        telephoneEdit = new KLineEdit(detailsGroup);
        telephoneEdit->setObjectName(QString::fromUtf8("telephoneEdit"));

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

        emailEdit = new KLineEdit(detailsGroup);
        emailEdit->setObjectName(QString::fromUtf8("emailEdit"));

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

        addressEdit = new KTextEdit(detailsGroup);
        addressEdit->setObjectName(QString::fromUtf8("addressEdit"));
        QSizePolicy sizePolicy3(QSizePolicy::Expanding, QSizePolicy::Expanding);
        sizePolicy3.setHorizontalStretch(0);
        sizePolicy3.setVerticalStretch(1);
        sizePolicy3.setHeightForWidth(addressEdit->sizePolicy().hasHeightForWidth());
        addressEdit->setSizePolicy(sizePolicy3);

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

        notesEdit = new KTextEdit(detailsGroup);
        notesEdit->setObjectName(QString::fromUtf8("notesEdit"));
        sizePolicy3.setHeightForWidth(notesEdit->sizePolicy().hasHeightForWidth());
        notesEdit->setSizePolicy(sizePolicy3);

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

        TextLabel4 = new QLabel(detailsGroup);
        TextLabel4->setObjectName(QString::fromUtf8("TextLabel4"));
        sizePolicy2.setHeightForWidth(TextLabel4->sizePolicy().hasHeightForWidth());
        TextLabel4->setSizePolicy(sizePolicy2);
        TextLabel4->setMinimumSize(QSize(90, 0));
        TextLabel4->setAlignment(Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop);
        TextLabel4->setWordWrap(false);

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


        vboxLayout4->addWidget(detailsGroup);

        spacer6 = new QSpacerItem(21, 20, QSizePolicy::Minimum, QSizePolicy::Expanding);

        vboxLayout4->addItem(spacer6);

        m_tabWidget->addTab(tab1, QString());
        TabPage = new QWidget();
        TabPage->setObjectName(QString::fromUtf8("TabPage"));
        verticalLayout_2 = new QVBoxLayout(TabPage);
        verticalLayout_2->setSpacing(6);
        verticalLayout_2->setContentsMargins(11, 11, 11, 11);
        verticalLayout_2->setObjectName(QString::fromUtf8("verticalLayout_2"));
        m_matchTypeGroupBox = new QGroupBox(TabPage);
        m_matchTypeGroupBox->setObjectName(QString::fromUtf8("m_matchTypeGroupBox"));
        horizontalLayout = new QVBoxLayout(m_matchTypeGroupBox);
        horizontalLayout->setSpacing(6);
        horizontalLayout->setContentsMargins(11, 11, 11, 11);
        horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout"));
        radioNoMatch = new QRadioButton(m_matchTypeGroupBox);
        m_matchType = new QButtonGroup(KPayeesViewDecl);
        m_matchType->setObjectName(QString::fromUtf8("m_matchType"));
        m_matchType->addButton(radioNoMatch);
        radioNoMatch->setObjectName(QString::fromUtf8("radioNoMatch"));
        radioNoMatch->setChecked(true);

        horizontalLayout->addWidget(radioNoMatch);

        radioNameMatch = new QRadioButton(m_matchTypeGroupBox);
        m_matchType->addButton(radioNameMatch);
        radioNameMatch->setObjectName(QString::fromUtf8("radioNameMatch"));

        horizontalLayout->addWidget(radioNameMatch);

        radioKeyMatch = new QRadioButton(m_matchTypeGroupBox);
        m_matchType->addButton(radioKeyMatch);
        radioKeyMatch->setObjectName(QString::fromUtf8("radioKeyMatch"));

        horizontalLayout->addWidget(radioKeyMatch);


        verticalLayout_2->addWidget(m_matchTypeGroupBox);

        matchKeyEditList = new KEditListBox(TabPage);
        matchKeyEditList->setObjectName(QString::fromUtf8("matchKeyEditList"));
        sizePolicy3.setHeightForWidth(matchKeyEditList->sizePolicy().hasHeightForWidth());
        matchKeyEditList->setSizePolicy(sizePolicy3);

        verticalLayout_2->addWidget(matchKeyEditList);

        checkMatchIgnoreCase = new QCheckBox(TabPage);
        checkMatchIgnoreCase->setObjectName(QString::fromUtf8("checkMatchIgnoreCase"));

        verticalLayout_2->addWidget(checkMatchIgnoreCase);

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

        verticalLayout_2->addItem(spacer7);

        m_tabWidget->addTab(TabPage, QString());
        TabPage2 = new QWidget();
        TabPage2->setObjectName(QString::fromUtf8("TabPage2"));
        vboxLayout5 = new QVBoxLayout(TabPage2);
        vboxLayout5->setSpacing(6);
        vboxLayout5->setContentsMargins(11, 11, 11, 11);
        vboxLayout5->setObjectName(QString::fromUtf8("vboxLayout5"));
        checkEnableDefaultCategory = new QCheckBox(TabPage2);
        checkEnableDefaultCategory->setObjectName(QString::fromUtf8("checkEnableDefaultCategory"));

        vboxLayout5->addWidget(checkEnableDefaultCategory);

        gridLayout1 = new QGridLayout();
        gridLayout1->setSpacing(6);
        gridLayout1->setObjectName(QString::fromUtf8("gridLayout1"));
        labelDefaultCategory = new QLabel(TabPage2);
        labelDefaultCategory->setObjectName(QString::fromUtf8("labelDefaultCategory"));
        labelDefaultCategory->setWordWrap(false);

        gridLayout1->addWidget(labelDefaultCategory, 0, 0, 1, 1);

        comboDefaultCategory = new KMyMoneyAccountCombo(TabPage2);
        comboDefaultCategory->setObjectName(QString::fromUtf8("comboDefaultCategory"));

        gridLayout1->addWidget(comboDefaultCategory, 0, 1, 1, 1);

        buttonSuggestACategory = new KPushButton(TabPage2);
        buttonSuggestACategory->setObjectName(QString::fromUtf8("buttonSuggestACategory"));

        gridLayout1->addWidget(buttonSuggestACategory, 1, 1, 1, 1);


        vboxLayout5->addLayout(gridLayout1);

        spacer5 = new QSpacerItem(20, 31, QSizePolicy::Minimum, QSizePolicy::Expanding);

        vboxLayout5->addItem(spacer5);

        m_tabWidget->addTab(TabPage2, QString());
        m_splitter->addWidget(m_tabWidget);

        verticalLayout->addWidget(m_splitter);

        hboxLayout1 = new QHBoxLayout();
        hboxLayout1->setSpacing(6);
        hboxLayout1->setObjectName(QString::fromUtf8("hboxLayout1"));
        m_helpButton = new KPushButton(KPayeesViewDecl);
        m_helpButton->setObjectName(QString::fromUtf8("m_helpButton"));
        QSizePolicy sizePolicy4(QSizePolicy::Minimum, QSizePolicy::Fixed);
        sizePolicy4.setHorizontalStretch(0);
        sizePolicy4.setVerticalStretch(0);
        sizePolicy4.setHeightForWidth(m_helpButton->sizePolicy().hasHeightForWidth());
        m_helpButton->setSizePolicy(sizePolicy4);

        hboxLayout1->addWidget(m_helpButton);

        spacer14 = new QSpacerItem(260, 21, QSizePolicy::Expanding, QSizePolicy::Minimum);

        hboxLayout1->addItem(spacer14);

        m_updateButton = new KPushButton(KPayeesViewDecl);
        m_updateButton->setObjectName(QString::fromUtf8("m_updateButton"));
        sizePolicy4.setHeightForWidth(m_updateButton->sizePolicy().hasHeightForWidth());
        m_updateButton->setSizePolicy(sizePolicy4);

        hboxLayout1->addWidget(m_updateButton);


        verticalLayout->addLayout(hboxLayout1);


        verticalLayout_3->addLayout(verticalLayout);


        retranslateUi(KPayeesViewDecl);

        m_tabWidget->setCurrentIndex(0);


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

    void retranslateUi(QWidget *KPayeesViewDecl)
    {
        groupBox1->setTitle(tr2i18n("Your payees", 0));
        m_newButton->setText(tr2i18n("New", "New payee"));
        m_renameButton->setText(tr2i18n("Ren", 0));
        m_deleteButton->setText(tr2i18n("Del", 0));
        m_deleteButton->setShortcut(QString());
        m_mergeButton->setText(tr2i18n("Merge", 0));
        transactionGroup->setTitle(tr2i18n("Transactions", 0));
        m_balanceLabel->setText(tr2i18n("Balance: ", 0));
        m_tabWidget->setTabText(m_tabWidget->indexOf(tab), tr2i18n("Transactions", 0));
        detailsGroup->setTitle(tr2i18n("Payee Information", 0));
        TextLabel7->setText(tr2i18n("E-Mail:", "E-mail address"));
        TextLabel5->setText(tr2i18n("Postal Code:", 0));
        TextLabel6->setText(tr2i18n("Telephone/Fax:", 0));
        TextLabel4_2->setText(tr2i18n("Notes", 0));
        TextLabel4->setText(tr2i18n("Address:", "Street address"));
        m_tabWidget->setTabText(m_tabWidget->indexOf(tab1), tr2i18n("Address", "Street address"));
        m_matchTypeGroupBox->setTitle(tr2i18n("Transaction Matching", 0));
        radioNoMatch->setText(tr2i18n("No matching", 0));
        radioNameMatch->setText(tr2i18n("Match on Payee name", 0));
        radioKeyMatch->setText(tr2i18n("Match on a name listed below", 0));
#ifndef UI_QT_NO_WHATSTHIS
        matchKeyEditList->setWhatsThis(tr2i18n("This list contains the names that will match this payee if a transaction is imported from an external source. Keep in mind, that you can specify regular expressions here.", 0));
#endif // QT_NO_WHATSTHIS
        matchKeyEditList->setTitle(tr2i18n("List of matching names", 0));
        checkMatchIgnoreCase->setText(tr2i18n("Ignore Case", 0));
        m_tabWidget->setTabText(m_tabWidget->indexOf(TabPage), tr2i18n("Matching", 0));
        checkEnableDefaultCategory->setText(tr2i18n("Use the default category for\n"
"new transactions with this payee", 0));
        labelDefaultCategory->setText(tr2i18n("Default category:", 0));
        buttonSuggestACategory->setText(tr2i18n("Suggest a category", 0));
        m_tabWidget->setTabText(m_tabWidget->indexOf(TabPage2), tr2i18n("Default Account", 0));
        m_helpButton->setText(tr2i18n("Help", 0));
        m_updateButton->setText(QString());
        Q_UNUSED(KPayeesViewDecl);
    } // retranslateUi

};

namespace Ui {
    class KPayeesViewDecl: public Ui_KPayeesViewDecl {};
} // namespace Ui

QT_END_NAMESPACE

#endif // KPAYEESVIEWDECL_H

