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

/********************************************************************************
** Form generated from reading UI file 'kexportdlgdecl.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_KEXPORTDLGDECL_H
#define UI_KEXPORTDLGDECL_H

#include <QtCore/QVariant>
#include <QtGui/QAction>
#include <QtGui/QApplication>
#include <QtGui/QButtonGroup>
#include <QtGui/QCheckBox>
#include <QtGui/QDialog>
#include <QtGui/QFrame>
#include <QtGui/QGridLayout>
#include <QtGui/QGroupBox>
#include <QtGui/QHBoxLayout>
#include <QtGui/QHeaderView>
#include <QtGui/QLabel>
#include <QtGui/QSpacerItem>
#include <QtGui/QVBoxLayout>
#include <kcombobox.h>
#include <klineedit.h>
#include <kpushbutton.h>
#include "../widgets/kmymoneyaccountcombo.h"
#include "../widgets/kmymoneydateinput.h"

QT_BEGIN_NAMESPACE

class Ui_KExportDlgDecl
{
public:
    QVBoxLayout *vboxLayout;
    QHBoxLayout *hboxLayout;
    QLabel *TextLabel2;
    QFrame *Line2;
    QHBoxLayout *hboxLayout1;
    QLabel *lblFileExport;
    KLineEdit *m_qlineeditFile;
    KPushButton *m_qbuttonBrowse;
    QHBoxLayout *hboxLayout2;
    QVBoxLayout *vboxLayout1;
    QLabel *TextLabel2_2;
    KMyMoneyAccountCombo *m_accountComboBox;
    QVBoxLayout *vboxLayout2;
    QLabel *TextLabel3;
    QHBoxLayout *hboxLayout3;
    KComboBox *m_profileComboBox;
    KPushButton *m_profileEditorButton;
    QHBoxLayout *hboxLayout4;
    QGroupBox *m_qgroupboxContents;
    QVBoxLayout *vboxLayout3;
    QCheckBox *m_qcheckboxAccount;
    QCheckBox *m_qcheckboxCategories;
    QGroupBox *m_qgroupboxDates;
    QVBoxLayout *vboxLayout4;
    QGridLayout *gridLayout;
    kMyMoneyDateInput *m_kmymoneydateStart;
    QLabel *lblEndDate;
    QLabel *lblStartDate;
    kMyMoneyDateInput *m_kmymoneydateEnd;
    QSpacerItem *Spacer7;
    QFrame *Line2_2;
    QHBoxLayout *hboxLayout5;
    QSpacerItem *Spacer5;
    KPushButton *m_qbuttonOk;
    KPushButton *m_qbuttonCancel;

    void setupUi(QDialog *KExportDlgDecl)
    {
        if (KExportDlgDecl->objectName().isEmpty())
            KExportDlgDecl->setObjectName(QString::fromUtf8("KExportDlgDecl"));
        KExportDlgDecl->setSizeGripEnabled(true);
        vboxLayout = new QVBoxLayout(KExportDlgDecl);
        vboxLayout->setSpacing(6);
        vboxLayout->setContentsMargins(11, 11, 11, 11);
        vboxLayout->setObjectName(QString::fromUtf8("vboxLayout"));
        hboxLayout = new QHBoxLayout();
        hboxLayout->setSpacing(6);
        hboxLayout->setContentsMargins(0, 0, 0, 0);
        hboxLayout->setObjectName(QString::fromUtf8("hboxLayout"));
        TextLabel2 = new QLabel(KExportDlgDecl);
        TextLabel2->setObjectName(QString::fromUtf8("TextLabel2"));
        QSizePolicy sizePolicy(static_cast<QSizePolicy::Policy>(5), static_cast<QSizePolicy::Policy>(7));
        sizePolicy.setHorizontalStretch(0);
        sizePolicy.setVerticalStretch(0);
        sizePolicy.setHeightForWidth(TextLabel2->sizePolicy().hasHeightForWidth());
        TextLabel2->setSizePolicy(sizePolicy);
        TextLabel2->setAlignment(Qt::AlignTop|Qt::AlignLeft);
        TextLabel2->setWordWrap(true);

        hboxLayout->addWidget(TextLabel2);


        vboxLayout->addLayout(hboxLayout);

        Line2 = new QFrame(KExportDlgDecl);
        Line2->setObjectName(QString::fromUtf8("Line2"));
        Line2->setFrameShape(QFrame::HLine);
        Line2->setFrameShadow(QFrame::Raised);

        vboxLayout->addWidget(Line2);

        hboxLayout1 = new QHBoxLayout();
        hboxLayout1->setSpacing(6);
        hboxLayout1->setContentsMargins(0, 0, 0, 0);
        hboxLayout1->setObjectName(QString::fromUtf8("hboxLayout1"));
        lblFileExport = new QLabel(KExportDlgDecl);
        lblFileExport->setObjectName(QString::fromUtf8("lblFileExport"));
        QSizePolicy sizePolicy1(static_cast<QSizePolicy::Policy>(0), static_cast<QSizePolicy::Policy>(1));
        sizePolicy1.setHorizontalStretch(0);
        sizePolicy1.setVerticalStretch(0);
        sizePolicy1.setHeightForWidth(lblFileExport->sizePolicy().hasHeightForWidth());
        lblFileExport->setSizePolicy(sizePolicy1);
        lblFileExport->setWordWrap(false);

        hboxLayout1->addWidget(lblFileExport);

        m_qlineeditFile = new KLineEdit(KExportDlgDecl);
        m_qlineeditFile->setObjectName(QString::fromUtf8("m_qlineeditFile"));

        hboxLayout1->addWidget(m_qlineeditFile);

        m_qbuttonBrowse = new KPushButton(KExportDlgDecl);
        m_qbuttonBrowse->setObjectName(QString::fromUtf8("m_qbuttonBrowse"));

        hboxLayout1->addWidget(m_qbuttonBrowse);


        vboxLayout->addLayout(hboxLayout1);

        hboxLayout2 = new QHBoxLayout();
        hboxLayout2->setSpacing(6);
        hboxLayout2->setObjectName(QString::fromUtf8("hboxLayout2"));
        vboxLayout1 = new QVBoxLayout();
        vboxLayout1->setSpacing(6);
        vboxLayout1->setObjectName(QString::fromUtf8("vboxLayout1"));
        TextLabel2_2 = new QLabel(KExportDlgDecl);
        TextLabel2_2->setObjectName(QString::fromUtf8("TextLabel2_2"));
        TextLabel2_2->setWordWrap(false);

        vboxLayout1->addWidget(TextLabel2_2);

        m_accountComboBox = new KMyMoneyAccountCombo(KExportDlgDecl);
        m_accountComboBox->setObjectName(QString::fromUtf8("m_accountComboBox"));

        vboxLayout1->addWidget(m_accountComboBox);


        hboxLayout2->addLayout(vboxLayout1);

        vboxLayout2 = new QVBoxLayout();
        vboxLayout2->setSpacing(6);
        vboxLayout2->setContentsMargins(0, 0, 0, 0);
        vboxLayout2->setObjectName(QString::fromUtf8("vboxLayout2"));
        TextLabel3 = new QLabel(KExportDlgDecl);
        TextLabel3->setObjectName(QString::fromUtf8("TextLabel3"));
        TextLabel3->setWordWrap(false);

        vboxLayout2->addWidget(TextLabel3);

        hboxLayout3 = new QHBoxLayout();
        hboxLayout3->setSpacing(6);
        hboxLayout3->setContentsMargins(0, 0, 0, 0);
        hboxLayout3->setObjectName(QString::fromUtf8("hboxLayout3"));
        m_profileComboBox = new KComboBox(KExportDlgDecl);
        m_profileComboBox->setObjectName(QString::fromUtf8("m_profileComboBox"));
        QSizePolicy sizePolicy2(static_cast<QSizePolicy::Policy>(3), static_cast<QSizePolicy::Policy>(0));
        sizePolicy2.setHorizontalStretch(0);
        sizePolicy2.setVerticalStretch(0);
        sizePolicy2.setHeightForWidth(m_profileComboBox->sizePolicy().hasHeightForWidth());
        m_profileComboBox->setSizePolicy(sizePolicy2);
        m_profileComboBox->setMinimumSize(QSize(200, 0));
        m_profileComboBox->setDuplicatesEnabled(false);

        hboxLayout3->addWidget(m_profileComboBox);

        m_profileEditorButton = new KPushButton(KExportDlgDecl);
        m_profileEditorButton->setObjectName(QString::fromUtf8("m_profileEditorButton"));

        hboxLayout3->addWidget(m_profileEditorButton);


        vboxLayout2->addLayout(hboxLayout3);


        hboxLayout2->addLayout(vboxLayout2);


        vboxLayout->addLayout(hboxLayout2);

        hboxLayout4 = new QHBoxLayout();
        hboxLayout4->setSpacing(6);
        hboxLayout4->setObjectName(QString::fromUtf8("hboxLayout4"));
        m_qgroupboxContents = new QGroupBox(KExportDlgDecl);
        m_qgroupboxContents->setObjectName(QString::fromUtf8("m_qgroupboxContents"));
        vboxLayout3 = new QVBoxLayout(m_qgroupboxContents);
        vboxLayout3->setSpacing(6);
        vboxLayout3->setContentsMargins(11, 11, 11, 11);
        vboxLayout3->setObjectName(QString::fromUtf8("vboxLayout3"));
        m_qcheckboxAccount = new QCheckBox(m_qgroupboxContents);
        m_qcheckboxAccount->setObjectName(QString::fromUtf8("m_qcheckboxAccount"));

        vboxLayout3->addWidget(m_qcheckboxAccount);

        m_qcheckboxCategories = new QCheckBox(m_qgroupboxContents);
        m_qcheckboxCategories->setObjectName(QString::fromUtf8("m_qcheckboxCategories"));

        vboxLayout3->addWidget(m_qcheckboxCategories);


        hboxLayout4->addWidget(m_qgroupboxContents);

        m_qgroupboxDates = new QGroupBox(KExportDlgDecl);
        m_qgroupboxDates->setObjectName(QString::fromUtf8("m_qgroupboxDates"));
        vboxLayout4 = new QVBoxLayout(m_qgroupboxDates);
        vboxLayout4->setSpacing(6);
        vboxLayout4->setContentsMargins(11, 11, 11, 11);
        vboxLayout4->setObjectName(QString::fromUtf8("vboxLayout4"));
        gridLayout = new QGridLayout();
        gridLayout->setSpacing(6);
        gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
        m_kmymoneydateStart = new kMyMoneyDateInput(m_qgroupboxDates);
        m_kmymoneydateStart->setObjectName(QString::fromUtf8("m_kmymoneydateStart"));

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

        lblEndDate = new QLabel(m_qgroupboxDates);
        lblEndDate->setObjectName(QString::fromUtf8("lblEndDate"));
        sizePolicy1.setHeightForWidth(lblEndDate->sizePolicy().hasHeightForWidth());
        lblEndDate->setSizePolicy(sizePolicy1);
        lblEndDate->setMinimumSize(QSize(50, 0));
        lblEndDate->setWordWrap(false);

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

        lblStartDate = new QLabel(m_qgroupboxDates);
        lblStartDate->setObjectName(QString::fromUtf8("lblStartDate"));
        sizePolicy1.setHeightForWidth(lblStartDate->sizePolicy().hasHeightForWidth());
        lblStartDate->setSizePolicy(sizePolicy1);
        lblStartDate->setMinimumSize(QSize(50, 0));
        lblStartDate->setWordWrap(false);

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

        m_kmymoneydateEnd = new kMyMoneyDateInput(m_qgroupboxDates);
        m_kmymoneydateEnd->setObjectName(QString::fromUtf8("m_kmymoneydateEnd"));
        QSizePolicy sizePolicy3(static_cast<QSizePolicy::Policy>(3), static_cast<QSizePolicy::Policy>(1));
        sizePolicy3.setHorizontalStretch(0);
        sizePolicy3.setVerticalStretch(0);
        sizePolicy3.setHeightForWidth(m_kmymoneydateEnd->sizePolicy().hasHeightForWidth());
        m_kmymoneydateEnd->setSizePolicy(sizePolicy3);

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


        vboxLayout4->addLayout(gridLayout);


        hboxLayout4->addWidget(m_qgroupboxDates);

        Spacer7 = new QSpacerItem(230, 16, QSizePolicy::Expanding, QSizePolicy::Minimum);

        hboxLayout4->addItem(Spacer7);


        vboxLayout->addLayout(hboxLayout4);

        Line2_2 = new QFrame(KExportDlgDecl);
        Line2_2->setObjectName(QString::fromUtf8("Line2_2"));
        Line2_2->setFrameShape(QFrame::HLine);
        Line2_2->setFrameShadow(QFrame::Sunken);

        vboxLayout->addWidget(Line2_2);

        hboxLayout5 = new QHBoxLayout();
        hboxLayout5->setSpacing(6);
        hboxLayout5->setContentsMargins(0, 0, 0, 0);
        hboxLayout5->setObjectName(QString::fromUtf8("hboxLayout5"));
        Spacer5 = new QSpacerItem(451, 0, QSizePolicy::Expanding, QSizePolicy::Minimum);

        hboxLayout5->addItem(Spacer5);

        m_qbuttonOk = new KPushButton(KExportDlgDecl);
        m_qbuttonOk->setObjectName(QString::fromUtf8("m_qbuttonOk"));
        m_qbuttonOk->setAutoDefault(true);
        m_qbuttonOk->setDefault(true);

        hboxLayout5->addWidget(m_qbuttonOk);

        m_qbuttonCancel = new KPushButton(KExportDlgDecl);
        m_qbuttonCancel->setObjectName(QString::fromUtf8("m_qbuttonCancel"));
        m_qbuttonCancel->setAutoDefault(true);

        hboxLayout5->addWidget(m_qbuttonCancel);


        vboxLayout->addLayout(hboxLayout5);


        retranslateUi(KExportDlgDecl);

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

    void retranslateUi(QDialog *KExportDlgDecl)
    {
        KExportDlgDecl->setWindowTitle(tr2i18n("QIF Export", 0));
        TextLabel2->setText(tr2i18n("From this dialog you are able to export transactions to a quicken compatible file, (known as a QIF file, because of the extension).  Please enter the path to the QIF file or select it by clicking on the Browse button.\n"
"\n"
"You can choose the file's path, the account and the format of the QIF file (profile).  Choose Account to export all the transactions between the specified dates or just categories.  You can also limit the transactions that are exported by start and ending date.  Once you have pressed the Export button a message box will appear when the export has completed detailing how many transactions, categories and payees were exported.", 0));
        lblFileExport->setText(tr2i18n("File to export to:", 0));
        m_qbuttonBrowse->setText(tr2i18n("Browse...", 0));
        TextLabel2_2->setText(tr2i18n("Account to export", 0));
        TextLabel3->setText(tr2i18n("QIF Profile", 0));
        m_profileEditorButton->setText(tr2i18n("New...", "@action create new export profile"));
        m_qgroupboxContents->setTitle(tr2i18n("Contents to Export", 0));
        m_qcheckboxAccount->setText(tr2i18n("Account", 0));
        m_qcheckboxCategories->setText(tr2i18n("Categories", 0));
        m_qgroupboxDates->setTitle(tr2i18n("Date Range", 0));
        lblEndDate->setText(tr2i18n("End on:", 0));
        lblStartDate->setText(tr2i18n("Start on:", 0));
        m_qbuttonOk->setText(tr2i18n("Export", 0));
        m_qbuttonCancel->setText(tr2i18n("Cancel", 0));
    } // retranslateUi


protected:
    enum IconID
    {
        image0_ID,
        image1_ID,
        unknown_ID
    };
    static QPixmap qt_get_icon(IconID id)
    {
    /* XPM */
    static const char* const img0_kexportdlgdecl[] = { 
"22 22 2 1",
". c None",
"# c #a4c610",
"........######........",
".....###########......",
"....##############....",
"...################...",
"..######......######..",
"..#####........#####..",
".#####.......#..#####.",
".####.......###..####.",
"####.......#####..####",
"####......#####...####",
"####....#######...####",
"####....######....####",
"####...########...####",
".####.##########..####",
".####..####.#########.",
".#####..##...########.",
"..#####.......#######.",
"..######......######..",
"...###################",
"....##################",
"......###########.###.",
"........######.....#.."};


    /* XPM */
    static const char* const img1_kexportdlgdecl[] = { 
"22 22 142 2",
".b c None",
".# c None",
"Qt c None",
".a c #000000",
".R c #000008",
".j c #000400",
"#b c #000408",
"#2 c #080408",
"#S c #080808",
".Y c #080c10",
"#q c #101010",
"#T c #101408",
"#w c #101410",
"al c #101800",
"#m c #101810",
"#7 c #101c08",
"#I c #101c10",
"#J c #181810",
".1 c #181c10",
"#K c #182010",
"#6 c #182410",
"#P c #202410",
".S c #202810",
"#f c #292c10",
"af c #293000",
"ak c #293008",
"#v c #293010",
"#s c #293018",
".Z c #293418",
".Q c #313010",
".0 c #313818",
"ag c #314008",
"#C c #393818",
".i c #393839",
"#M c #393c18",
".y c #394008",
".7 c #414c18",
".L c #4a5908",
".2 c #4a5918",
"ah c #525d08",
"#z c #525d18",
".5 c #526108",
"aj c #526110",
"#j c #526118",
"#F c #526120",
"#o c #526508",
"#Y c #526520",
"#1 c #5a5d18",
".h c #5a5d5a",
".V c #5a6508",
"ai c #5a6908",
"#A c #5a6910",
".X c #5a6918",
"#a c #5a6920",
"#0 c #5a6d08",
"#O c #5a6d10",
"#u c #626d08",
"aa c #626d20",
"#U c #627108",
"#G c #627110",
"#l c #627120",
".F c #627518",
".G c #627520",
".g c #6a6d6a",
"#4 c #6a7510",
"#c c #6a7520",
"#B c #6a7920",
".P c #6a7d20",
".6 c #737173",
".E c #738920",
"#N c #738929",
".c c #7b797b",
"#x c #7b8920",
"ab c #7b8931",
"#p c #7b8d20",
".f c #837983",
".M c #837d83",
"#R c #838d20",
".8 c #8b9d20",
".O c #8ba110",
".B c #8ba118",
".A c #8ba120",
"#X c #8ba131",
".D c #8ba518",
"#L c #8ba531",
".e c #949194",
".N c #94a520",
"#D c #94a529",
".x c #94a539",
"ae c #94ae18",
".J c #94b218",
"ac c #94b229",
".C c #9cae10",
".H c #9cae18",
"#r c #9cae20",
"#8 c #9cae29",
"ad c #9cae31",
"#g c #9cb220",
"#3 c #9cb229",
".z c #9cb241",
".I c #9cb618",
"## c #9cb629",
"#i c #9cba10",
"#. c #9cba18",
".T c #9cba20",
".K c #a4b618",
".9 c #a4b620",
"#n c #a4b629",
"a# c #a4b631",
"#h c #a4ba10",
".U c #a4ba18",
".3 c #a4ba20",
"#9 c #a4be18",
"#Q c #a4be31",
".d c #aca1ac",
".k c #aca5ac",
".4 c #acbe18",
"#k c #acbe29",
"a. c #acc220",
"#t c #acc229",
"#d c #acc629",
"#V c #acca20",
"#y c #acce20",
".p c #b4be62",
".W c #b4c262",
".o c #b4c26a",
".n c #b4c273",
".r c #b4c662",
".v c #b4ca62",
"#e c #bdc662",
".q c #bdc66a",
".m c #bdc694",
"#5 c #bdca5a",
".w c #bdca62",
".s c #bdca6a",
"#W c #bdda18",
"#E c #bdda20",
".l c #c5bea4",
".t c #c5ca62",
"#H c #c5ce62",
".u c #c5ce6a",
"#Z c #c5e220",
"Qt.#Qt.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.#",
".bQt.c.d.e.f.g.g.g.g.g.g.g.g.g.g.h.i.j.a.a.a",
"Qt.a.k.l.m.n.o.p.q.r.s.t.u.r.s.v.w.x.y.a.a.a",
".b.a.e.m.z.A.B.C.D.E.F.G.E.H.I.I.J.K.L.a.a.a",
"Qt.a.M.n.N.O.H.P.Q.R.a.a.R.S.P.T.U.I.V.a.a.a",
".b.a.g.W.O.H.X.R.R.Y.Z.0.1.R.R.2.3.4.5.a.a.a",
"Qt.a.6.p.C.P.R.a.7.8.9#.###a#b.a#c#d.V.a.a.a",
".b.a.g#e.D#f.a.7#g#h#i.N#j#k#l.R#m#n#o.a.a.a",
"Qt.a.6.r#p.R#q.8#h#i#r#s.R.7#t#f.a.E#u.a.a.a",
".b.a.g.w.F.a#s.9#i#r#v.R#w#x#y#z.a.X#A.a.a.a",
"Qt.a.6.t#B.a#C#..N#s.R.a.1#D#E#F.a#a#G.a.a.a",
".b.a.g#H.E.R#I###F.R#q#J.a#K#L#M.a#N#O.a.a.a",
"Qt.a.6.r.H#P.R#a#Q.7#R#D#K.a#q#S#T.3#U.a.a.a",
".b.a.g.w.I#c.R#b.G#t#V#W#X#m.a.j#Y#Z#0.a.a.a",
"Qt.a.6.r.I.9#1.a.R#v#1#j#M#2.j.j#P#3#4.a.a.a",
".b.a.h#5.J.U.3#l.1.a.a.a.a#T#Y#6#7#8.5.a.a.a",
"Qt.a.i.x.I.I#9a.a#.Eaa#aab.3#Zacadaeaf.a.a.a",
".b.a.jag.L.5ah.5#oai#A#O#O#O#0#Gajakal.a.a.a",
"Qt.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a",
".b.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a",
"Qt.#.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a",
".bQt.b.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.aQt"};


    switch (id) {
        case image0_ID: return QPixmap((const char**)img0_kexportdlgdecl);
        case image1_ID: return QPixmap((const char**)img1_kexportdlgdecl);
        default: return QPixmap();
    } // switch
    } // icon

};

namespace Ui {
    class KExportDlgDecl: public Ui_KExportDlgDecl {};
} // namespace Ui

QT_END_NAMESPACE

#endif // KEXPORTDLGDECL_H

