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

/********************************************************************************
** Form generated from reading UI file 'skgoperationpluginwidget_pref.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_SKGOPERATIONPLUGINWIDGET_PREF_H
#define UI_SKGOPERATIONPLUGINWIDGET_PREF_H

#include <QtCore/QVariant>
#include <QtGui/QAction>
#include <QtGui/QApplication>
#include <QtGui/QButtonGroup>
#include <QtGui/QCheckBox>
#include <QtGui/QFormLayout>
#include <QtGui/QGridLayout>
#include <QtGui/QGroupBox>
#include <QtGui/QHBoxLayout>
#include <QtGui/QHeaderView>
#include <QtGui/QLabel>
#include <QtGui/QSpacerItem>
#include <QtGui/QTabWidget>
#include <QtGui/QVBoxLayout>
#include <QtGui/QWidget>
#include "kcolorbutton.h"
#include "kcombobox.h"
#include "klineedit.h"
#include "skgcombobox.h"

QT_BEGIN_NAMESPACE

class Ui_skgoperationplugin_pref
{
public:
    QVBoxLayout *verticalLayout;
    QGroupBox *fontBox;
    QGridLayout *gridLayout;
    QLabel *fontFutureLbl;
    KColorButton *kcfg_fontFutureColor;
    QLabel *fontNotValidatedLbl;
    KColorButton *kcfg_fontNotValidatedColor;
    QLabel *fontSubOperationLbl;
    KColorButton *kcfg_fontSubOperationColor;
    QSpacerItem *horizontalSpacer;
    QHBoxLayout *horizontalLayout;
    QLabel *fasteditmodelbl;
    KComboBox *kcfg_fasteditmode;
    QSpacerItem *horizontalSpacer_2;
    QCheckBox *kcfg_computeBalances;
    QCheckBox *kcfg_automaticPointInReconciliation;
    QGroupBox *groupBox;
    QVBoxLayout *verticalLayout_2;
    QTabWidget *tabWidget;
    QWidget *tab;
    QFormLayout *formLayout;
    QLabel *kCommentFakeLbl;
    QLabel *kPayeeFakeLbl;
    QLabel *kCategoryFakeLbl;
    SKGComboBox *kcfg_payeeFakeOperation;
    SKGComboBox *kcfg_categoryFakeOperation;
    KLineEdit *kcfg_commentFakeOperation;
    QWidget *tab_2;
    QFormLayout *formLayout_2;
    QLabel *kCommentCommissionLbl;
    KLineEdit *kcfg_commentCommissionOperation;
    QLabel *kCategoryCommissionLbl;
    SKGComboBox *kcfg_categoryCommissionOperation;
    QLabel *kCommentTaxLbl;
    KLineEdit *kcfg_commentTaxOperation;
    QLabel *kCategoryTaxLbl;
    SKGComboBox *kcfg_categoryTaxOperation;
    QLabel *label;
    QLabel *label_2;
    QSpacerItem *verticalSpacer;

    void setupUi(QWidget *skgoperationplugin_pref)
    {
        if (skgoperationplugin_pref->objectName().isEmpty())
            skgoperationplugin_pref->setObjectName(QString::fromUtf8("skgoperationplugin_pref"));
        skgoperationplugin_pref->resize(716, 514);
        verticalLayout = new QVBoxLayout(skgoperationplugin_pref);
        verticalLayout->setSpacing(2);
        verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
        fontBox = new QGroupBox(skgoperationplugin_pref);
        fontBox->setObjectName(QString::fromUtf8("fontBox"));
        gridLayout = new QGridLayout(fontBox);
        gridLayout->setSpacing(2);
        gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
        fontFutureLbl = new QLabel(fontBox);
        fontFutureLbl->setObjectName(QString::fromUtf8("fontFutureLbl"));
        fontFutureLbl->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);

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

        kcfg_fontFutureColor = new KColorButton(fontBox);
        kcfg_fontFutureColor->setObjectName(QString::fromUtf8("kcfg_fontFutureColor"));
        kcfg_fontFutureColor->setColor(QColor(195, 195, 195));
        kcfg_fontFutureColor->setDefaultColor(QColor(195, 195, 195));

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

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

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

        kcfg_fontNotValidatedColor = new KColorButton(fontBox);
        kcfg_fontNotValidatedColor->setObjectName(QString::fromUtf8("kcfg_fontNotValidatedColor"));
        kcfg_fontNotValidatedColor->setColor(QColor(0, 0, 255));
        kcfg_fontNotValidatedColor->setDefaultColor(QColor(195, 195, 195));

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

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

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

        kcfg_fontSubOperationColor = new KColorButton(fontBox);
        kcfg_fontSubOperationColor->setObjectName(QString::fromUtf8("kcfg_fontSubOperationColor"));
        kcfg_fontSubOperationColor->setColor(QColor(0, 85, 0));
        kcfg_fontSubOperationColor->setDefaultColor(QColor(195, 195, 195));

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

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

        gridLayout->addItem(horizontalSpacer, 0, 3, 1, 1);


        verticalLayout->addWidget(fontBox);

        horizontalLayout = new QHBoxLayout();
        horizontalLayout->setSpacing(2);
        horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout"));
        fasteditmodelbl = new QLabel(skgoperationplugin_pref);
        fasteditmodelbl->setObjectName(QString::fromUtf8("fasteditmodelbl"));
        QSizePolicy sizePolicy(QSizePolicy::Fixed, QSizePolicy::Preferred);
        sizePolicy.setHorizontalStretch(0);
        sizePolicy.setVerticalStretch(0);
        sizePolicy.setHeightForWidth(fasteditmodelbl->sizePolicy().hasHeightForWidth());
        fasteditmodelbl->setSizePolicy(sizePolicy);

        horizontalLayout->addWidget(fasteditmodelbl);

        kcfg_fasteditmode = new KComboBox(skgoperationplugin_pref);
        kcfg_fasteditmode->setObjectName(QString::fromUtf8("kcfg_fasteditmode"));
        kcfg_fasteditmode->setSizeAdjustPolicy(QComboBox::AdjustToContents);

        horizontalLayout->addWidget(kcfg_fasteditmode);

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

        horizontalLayout->addItem(horizontalSpacer_2);


        verticalLayout->addLayout(horizontalLayout);

        kcfg_computeBalances = new QCheckBox(skgoperationplugin_pref);
        kcfg_computeBalances->setObjectName(QString::fromUtf8("kcfg_computeBalances"));
        kcfg_computeBalances->setChecked(true);

        verticalLayout->addWidget(kcfg_computeBalances);

        kcfg_automaticPointInReconciliation = new QCheckBox(skgoperationplugin_pref);
        kcfg_automaticPointInReconciliation->setObjectName(QString::fromUtf8("kcfg_automaticPointInReconciliation"));

        verticalLayout->addWidget(kcfg_automaticPointInReconciliation);

        groupBox = new QGroupBox(skgoperationplugin_pref);
        groupBox->setObjectName(QString::fromUtf8("groupBox"));
        verticalLayout_2 = new QVBoxLayout(groupBox);
        verticalLayout_2->setSpacing(0);
        verticalLayout_2->setContentsMargins(0, 0, 0, 0);
        verticalLayout_2->setObjectName(QString::fromUtf8("verticalLayout_2"));
        tabWidget = new QTabWidget(groupBox);
        tabWidget->setObjectName(QString::fromUtf8("tabWidget"));
        QFont font;
        font.setBold(false);
        font.setWeight(50);
        tabWidget->setFont(font);
        tab = new QWidget();
        tab->setObjectName(QString::fromUtf8("tab"));
        formLayout = new QFormLayout(tab);
        formLayout->setContentsMargins(0, 0, 0, 0);
        formLayout->setObjectName(QString::fromUtf8("formLayout"));
        formLayout->setHorizontalSpacing(2);
        formLayout->setVerticalSpacing(2);
        kCommentFakeLbl = new QLabel(tab);
        kCommentFakeLbl->setObjectName(QString::fromUtf8("kCommentFakeLbl"));
        kCommentFakeLbl->setText(QString::fromUtf8("TextLabel"));

        formLayout->setWidget(0, QFormLayout::LabelRole, kCommentFakeLbl);

        kPayeeFakeLbl = new QLabel(tab);
        kPayeeFakeLbl->setObjectName(QString::fromUtf8("kPayeeFakeLbl"));

        formLayout->setWidget(1, QFormLayout::LabelRole, kPayeeFakeLbl);

        kCategoryFakeLbl = new QLabel(tab);
        kCategoryFakeLbl->setObjectName(QString::fromUtf8("kCategoryFakeLbl"));

        formLayout->setWidget(2, QFormLayout::LabelRole, kCategoryFakeLbl);

        kcfg_payeeFakeOperation = new SKGComboBox(tab);
        kcfg_payeeFakeOperation->setObjectName(QString::fromUtf8("kcfg_payeeFakeOperation"));
        kcfg_payeeFakeOperation->setEditable(true);
        kcfg_payeeFakeOperation->setSizeAdjustPolicy(QComboBox::AdjustToContents);

        formLayout->setWidget(1, QFormLayout::FieldRole, kcfg_payeeFakeOperation);

        kcfg_categoryFakeOperation = new SKGComboBox(tab);
        kcfg_categoryFakeOperation->setObjectName(QString::fromUtf8("kcfg_categoryFakeOperation"));
        kcfg_categoryFakeOperation->setEditable(true);
        kcfg_categoryFakeOperation->setSizeAdjustPolicy(QComboBox::AdjustToContents);

        formLayout->setWidget(2, QFormLayout::FieldRole, kcfg_categoryFakeOperation);

        kcfg_commentFakeOperation = new KLineEdit(tab);
        kcfg_commentFakeOperation->setObjectName(QString::fromUtf8("kcfg_commentFakeOperation"));

        formLayout->setWidget(0, QFormLayout::FieldRole, kcfg_commentFakeOperation);

        tabWidget->addTab(tab, QString());
        tab_2 = new QWidget();
        tab_2->setObjectName(QString::fromUtf8("tab_2"));
        formLayout_2 = new QFormLayout(tab_2);
        formLayout_2->setObjectName(QString::fromUtf8("formLayout_2"));
        kCommentCommissionLbl = new QLabel(tab_2);
        kCommentCommissionLbl->setObjectName(QString::fromUtf8("kCommentCommissionLbl"));
        kCommentCommissionLbl->setText(QString::fromUtf8("TextLabel"));

        formLayout_2->setWidget(1, QFormLayout::LabelRole, kCommentCommissionLbl);

        kcfg_commentCommissionOperation = new KLineEdit(tab_2);
        kcfg_commentCommissionOperation->setObjectName(QString::fromUtf8("kcfg_commentCommissionOperation"));

        formLayout_2->setWidget(1, QFormLayout::FieldRole, kcfg_commentCommissionOperation);

        kCategoryCommissionLbl = new QLabel(tab_2);
        kCategoryCommissionLbl->setObjectName(QString::fromUtf8("kCategoryCommissionLbl"));

        formLayout_2->setWidget(2, QFormLayout::LabelRole, kCategoryCommissionLbl);

        kcfg_categoryCommissionOperation = new SKGComboBox(tab_2);
        kcfg_categoryCommissionOperation->setObjectName(QString::fromUtf8("kcfg_categoryCommissionOperation"));
        kcfg_categoryCommissionOperation->setEditable(true);
        kcfg_categoryCommissionOperation->setSizeAdjustPolicy(QComboBox::AdjustToContents);

        formLayout_2->setWidget(2, QFormLayout::FieldRole, kcfg_categoryCommissionOperation);

        kCommentTaxLbl = new QLabel(tab_2);
        kCommentTaxLbl->setObjectName(QString::fromUtf8("kCommentTaxLbl"));
        kCommentTaxLbl->setText(QString::fromUtf8("TextLabel"));

        formLayout_2->setWidget(4, QFormLayout::LabelRole, kCommentTaxLbl);

        kcfg_commentTaxOperation = new KLineEdit(tab_2);
        kcfg_commentTaxOperation->setObjectName(QString::fromUtf8("kcfg_commentTaxOperation"));

        formLayout_2->setWidget(4, QFormLayout::FieldRole, kcfg_commentTaxOperation);

        kCategoryTaxLbl = new QLabel(tab_2);
        kCategoryTaxLbl->setObjectName(QString::fromUtf8("kCategoryTaxLbl"));

        formLayout_2->setWidget(5, QFormLayout::LabelRole, kCategoryTaxLbl);

        kcfg_categoryTaxOperation = new SKGComboBox(tab_2);
        kcfg_categoryTaxOperation->setObjectName(QString::fromUtf8("kcfg_categoryTaxOperation"));
        kcfg_categoryTaxOperation->setEditable(true);
        kcfg_categoryTaxOperation->setSizeAdjustPolicy(QComboBox::AdjustToContents);

        formLayout_2->setWidget(5, QFormLayout::FieldRole, kcfg_categoryTaxOperation);

        label = new QLabel(tab_2);
        label->setObjectName(QString::fromUtf8("label"));
        QFont font1;
        font1.setBold(true);
        font1.setWeight(75);
        label->setFont(font1);

        formLayout_2->setWidget(0, QFormLayout::SpanningRole, label);

        label_2 = new QLabel(tab_2);
        label_2->setObjectName(QString::fromUtf8("label_2"));
        label_2->setFont(font1);

        formLayout_2->setWidget(3, QFormLayout::SpanningRole, label_2);

        tabWidget->addTab(tab_2, QString());

        verticalLayout_2->addWidget(tabWidget);


        verticalLayout->addWidget(groupBox);

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

        verticalLayout->addItem(verticalSpacer);

#ifndef UI_QT_NO_SHORTCUT
        fontFutureLbl->setBuddy(kcfg_fontFutureColor);
        fontNotValidatedLbl->setBuddy(kcfg_fontNotValidatedColor);
        fontSubOperationLbl->setBuddy(kcfg_fontSubOperationColor);
        fasteditmodelbl->setBuddy(kcfg_fasteditmode);
        kCommentFakeLbl->setBuddy(kcfg_commentFakeOperation);
        kPayeeFakeLbl->setBuddy(kcfg_payeeFakeOperation);
        kCategoryFakeLbl->setBuddy(kcfg_categoryFakeOperation);
        kCommentCommissionLbl->setBuddy(kcfg_commentFakeOperation);
        kCategoryCommissionLbl->setBuddy(kcfg_categoryFakeOperation);
        kCommentTaxLbl->setBuddy(kcfg_commentFakeOperation);
        kCategoryTaxLbl->setBuddy(kcfg_categoryFakeOperation);
#endif // QT_NO_SHORTCUT
        QWidget::setTabOrder(kcfg_fontFutureColor, kcfg_fontNotValidatedColor);
        QWidget::setTabOrder(kcfg_fontNotValidatedColor, kcfg_fontSubOperationColor);
        QWidget::setTabOrder(kcfg_fontSubOperationColor, kcfg_fasteditmode);
        QWidget::setTabOrder(kcfg_fasteditmode, kcfg_computeBalances);
        QWidget::setTabOrder(kcfg_computeBalances, kcfg_automaticPointInReconciliation);
        QWidget::setTabOrder(kcfg_automaticPointInReconciliation, tabWidget);
        QWidget::setTabOrder(tabWidget, kcfg_commentFakeOperation);
        QWidget::setTabOrder(kcfg_commentFakeOperation, kcfg_payeeFakeOperation);
        QWidget::setTabOrder(kcfg_payeeFakeOperation, kcfg_categoryFakeOperation);
        QWidget::setTabOrder(kcfg_categoryFakeOperation, kcfg_commentCommissionOperation);
        QWidget::setTabOrder(kcfg_commentCommissionOperation, kcfg_categoryCommissionOperation);
        QWidget::setTabOrder(kcfg_categoryCommissionOperation, kcfg_commentTaxOperation);
        QWidget::setTabOrder(kcfg_commentTaxOperation, kcfg_categoryTaxOperation);

        retranslateUi(skgoperationplugin_pref);

        tabWidget->setCurrentIndex(1);


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

    void retranslateUi(QWidget *skgoperationplugin_pref)
    {
        fontBox->setTitle(tr2i18n("Fonts", 0));
        fontFutureLbl->setText(tr2i18n("Font for future operations:", 0));
        fontNotValidatedLbl->setText(tr2i18n("Font for non-validated operations:", 0));
        fontSubOperationLbl->setText(tr2i18n("Font for sub operations:", 0));
        fasteditmodelbl->setText(tr2i18n("Fast edit mode:", 0));
        kcfg_fasteditmode->clear();
        kcfg_fasteditmode->insertItems(0, QStringList()
         << tr2i18n("Search in templates only", 0)
         << tr2i18n("Search first in templates and after in operations", 0)
         << tr2i18n("Search in operations only", 0)
         << tr2i18n("Search first in operations and after in templates", 0)
        );
        kcfg_computeBalances->setText(tr2i18n("Compute balances (uncheck to improve performances)", 0));
        kcfg_automaticPointInReconciliation->setText(tr2i18n("Automatic point operations created during reconciliation", 0));
        groupBox->setTitle(tr2i18n("Default values for special operations", 0));
        kPayeeFakeLbl->setText(tr2i18n("TextLabel", 0));
        kCategoryFakeLbl->setText(tr2i18n("TextLabel", 0));
        tabWidget->setTabText(tabWidget->indexOf(tab), tr2i18n("Fake", 0));
        kCategoryCommissionLbl->setText(tr2i18n("TextLabel", 0));
        kCategoryTaxLbl->setText(tr2i18n("TextLabel", 0));
        label->setText(tr2i18n("Commission", 0));
        label_2->setText(tr2i18n("Tax", 0));
        tabWidget->setTabText(tabWidget->indexOf(tab_2), tr2i18n("Commission / Tax", 0));
        Q_UNUSED(skgoperationplugin_pref);
    } // retranslateUi

};

namespace Ui {
    class skgoperationplugin_pref: public Ui_skgoperationplugin_pref {};
} // namespace Ui

QT_END_NAMESPACE

#endif // SKGOPERATIONPLUGINWIDGET_PREF_H

