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

/********************************************************************************
** Form generated from reading UI file 'csvexportdlg.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_CSVEXPORTDLG_H
#define UI_CSVEXPORTDLG_H

#include <QtCore/QVariant>
#include <QtGui/QAction>
#include <QtGui/QApplication>
#include <QtGui/QButtonGroup>
#include <QtGui/QComboBox>
#include <QtGui/QDateEdit>
#include <QtGui/QDialog>
#include <QtGui/QFrame>
#include <QtGui/QGridLayout>
#include <QtGui/QGroupBox>
#include <QtGui/QHBoxLayout>
#include <QtGui/QHeaderView>
#include <QtGui/QLabel>
#include <QtGui/QProgressBar>
#include <QtGui/QRadioButton>
#include <QtGui/QSpacerItem>
#include <QtGui/QVBoxLayout>
#include "kcombobox.h"
#include "klineedit.h"
#include "kpushbutton.h"

QT_BEGIN_NAMESPACE

class Ui_CsvExportDlg
{
public:
    QGridLayout *gridLayout;
    QVBoxLayout *verticalLayout;
    QLabel *TextLabel2;
    QFrame *Line2;
    QHBoxLayout *horizontalLayout_1;
    QLabel *lblFileExport;
    KLineEdit *m_qlineeditFile;
    KPushButton *m_qbuttonBrowse;
    QSpacerItem *verticalSpacer_3;
    QHBoxLayout *horizontalLayout_2;
    QLabel *label;
    KComboBox *m_accountComboBox;
    QSpacerItem *horizontalSpacer_5;
    QSpacerItem *verticalSpacer_2;
    QHBoxLayout *horizontalLayout_3;
    QSpacerItem *horizontalSpacer_3;
    QGroupBox *m_qgroupboxContents;
    QVBoxLayout *vboxLayout;
    QRadioButton *m_radioButtonAccount;
    QRadioButton *m_radioButtonCategories;
    QGroupBox *m_qgroupboxDates;
    QGridLayout *gridLayout_3;
    QGridLayout *gridLayout_2;
    QLabel *lblStartDate;
    QDateEdit *m_kmymoneydateStart;
    QLabel *lblEndDate;
    QDateEdit *m_kmymoneydateEnd;
    QGroupBox *m_qgroupboxSeparator;
    QVBoxLayout *verticalLayout_2;
    QComboBox *m_separatorComboBox;
    QSpacerItem *Spacer7;
    QFrame *Line2_2;
    QSpacerItem *verticalSpacer;
    QHBoxLayout *horizontalLayout_4;
    QProgressBar *progressBar;
    QSpacerItem *horizontalSpacer;
    KPushButton *m_qbuttonOk;
    KPushButton *m_qbuttonCancel;

    void setupUi(QDialog *CsvExportDlg)
    {
        if (CsvExportDlg->objectName().isEmpty())
            CsvExportDlg->setObjectName(QString::fromUtf8("CsvExportDlg"));
        CsvExportDlg->resize(702, 372);
        CsvExportDlg->setSizeGripEnabled(true);
        gridLayout = new QGridLayout(CsvExportDlg);
        gridLayout->setSpacing(6);
        gridLayout->setContentsMargins(11, 11, 11, 11);
        gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
        verticalLayout = new QVBoxLayout();
        verticalLayout->setSpacing(6);
        verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
        TextLabel2 = new QLabel(CsvExportDlg);
        TextLabel2->setObjectName(QString::fromUtf8("TextLabel2"));
        QSizePolicy sizePolicy(QSizePolicy::Preferred, QSizePolicy::Expanding);
        sizePolicy.setHorizontalStretch(0);
        sizePolicy.setVerticalStretch(0);
        sizePolicy.setHeightForWidth(TextLabel2->sizePolicy().hasHeightForWidth());
        TextLabel2->setSizePolicy(sizePolicy);
        TextLabel2->setMaximumSize(QSize(16777215, 100));
        TextLabel2->setAlignment(Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop);
        TextLabel2->setWordWrap(true);

        verticalLayout->addWidget(TextLabel2);

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

        verticalLayout->addWidget(Line2);

        horizontalLayout_1 = new QHBoxLayout();
        horizontalLayout_1->setSpacing(6);
        horizontalLayout_1->setObjectName(QString::fromUtf8("horizontalLayout_1"));
        lblFileExport = new QLabel(CsvExportDlg);
        lblFileExport->setObjectName(QString::fromUtf8("lblFileExport"));
        QSizePolicy sizePolicy1(QSizePolicy::Fixed, QSizePolicy::Minimum);
        sizePolicy1.setHorizontalStretch(0);
        sizePolicy1.setVerticalStretch(0);
        sizePolicy1.setHeightForWidth(lblFileExport->sizePolicy().hasHeightForWidth());
        lblFileExport->setSizePolicy(sizePolicy1);
        lblFileExport->setWordWrap(false);

        horizontalLayout_1->addWidget(lblFileExport);

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

        horizontalLayout_1->addWidget(m_qlineeditFile);

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

        horizontalLayout_1->addWidget(m_qbuttonBrowse);


        verticalLayout->addLayout(horizontalLayout_1);

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

        verticalLayout->addItem(verticalSpacer_3);

        horizontalLayout_2 = new QHBoxLayout();
        horizontalLayout_2->setSpacing(6);
        horizontalLayout_2->setObjectName(QString::fromUtf8("horizontalLayout_2"));
        label = new QLabel(CsvExportDlg);
        label->setObjectName(QString::fromUtf8("label"));
        label->setMaximumSize(QSize(140, 16777215));

        horizontalLayout_2->addWidget(label);

        m_accountComboBox = new KComboBox(CsvExportDlg);
        m_accountComboBox->setObjectName(QString::fromUtf8("m_accountComboBox"));

        horizontalLayout_2->addWidget(m_accountComboBox);

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

        horizontalLayout_2->addItem(horizontalSpacer_5);

        horizontalLayout_2->setStretch(0, 40);
        horizontalLayout_2->setStretch(1, 100);
        horizontalLayout_2->setStretch(2, 5);

        verticalLayout->addLayout(horizontalLayout_2);

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

        verticalLayout->addItem(verticalSpacer_2);

        horizontalLayout_3 = new QHBoxLayout();
        horizontalLayout_3->setSpacing(6);
        horizontalLayout_3->setObjectName(QString::fromUtf8("horizontalLayout_3"));
        horizontalSpacer_3 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);

        horizontalLayout_3->addItem(horizontalSpacer_3);

        m_qgroupboxContents = new QGroupBox(CsvExportDlg);
        m_qgroupboxContents->setObjectName(QString::fromUtf8("m_qgroupboxContents"));
        m_qgroupboxContents->setMaximumSize(QSize(16777215, 100));
        vboxLayout = new QVBoxLayout(m_qgroupboxContents);
        vboxLayout->setSpacing(6);
        vboxLayout->setContentsMargins(11, 11, 11, 11);
        vboxLayout->setObjectName(QString::fromUtf8("vboxLayout"));
        m_radioButtonAccount = new QRadioButton(m_qgroupboxContents);
        m_radioButtonAccount->setObjectName(QString::fromUtf8("m_radioButtonAccount"));

        vboxLayout->addWidget(m_radioButtonAccount);

        m_radioButtonCategories = new QRadioButton(m_qgroupboxContents);
        m_radioButtonCategories->setObjectName(QString::fromUtf8("m_radioButtonCategories"));

        vboxLayout->addWidget(m_radioButtonCategories);


        horizontalLayout_3->addWidget(m_qgroupboxContents);

        m_qgroupboxDates = new QGroupBox(CsvExportDlg);
        m_qgroupboxDates->setObjectName(QString::fromUtf8("m_qgroupboxDates"));
        m_qgroupboxDates->setMaximumSize(QSize(16777215, 100));
        gridLayout_3 = new QGridLayout(m_qgroupboxDates);
        gridLayout_3->setSpacing(6);
        gridLayout_3->setContentsMargins(11, 11, 11, 11);
        gridLayout_3->setObjectName(QString::fromUtf8("gridLayout_3"));
        gridLayout_2 = new QGridLayout();
        gridLayout_2->setSpacing(6);
        gridLayout_2->setObjectName(QString::fromUtf8("gridLayout_2"));
        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_2->addWidget(lblStartDate, 0, 0, 1, 1);

        m_kmymoneydateStart = new QDateEdit(m_qgroupboxDates);
        m_kmymoneydateStart->setObjectName(QString::fromUtf8("m_kmymoneydateStart"));

        gridLayout_2->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_2->addWidget(lblEndDate, 1, 0, 1, 1);

        m_kmymoneydateEnd = new QDateEdit(m_qgroupboxDates);
        m_kmymoneydateEnd->setObjectName(QString::fromUtf8("m_kmymoneydateEnd"));

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


        gridLayout_3->addLayout(gridLayout_2, 0, 0, 1, 1);


        horizontalLayout_3->addWidget(m_qgroupboxDates);

        m_qgroupboxSeparator = new QGroupBox(CsvExportDlg);
        m_qgroupboxSeparator->setObjectName(QString::fromUtf8("m_qgroupboxSeparator"));
        m_qgroupboxSeparator->setMaximumSize(QSize(16777215, 100));
        verticalLayout_2 = new QVBoxLayout(m_qgroupboxSeparator);
        verticalLayout_2->setSpacing(6);
        verticalLayout_2->setContentsMargins(11, 11, 11, 11);
        verticalLayout_2->setObjectName(QString::fromUtf8("verticalLayout_2"));
        m_separatorComboBox = new QComboBox(m_qgroupboxSeparator);
        m_separatorComboBox->setObjectName(QString::fromUtf8("m_separatorComboBox"));

        verticalLayout_2->addWidget(m_separatorComboBox);


        horizontalLayout_3->addWidget(m_qgroupboxSeparator);

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

        horizontalLayout_3->addItem(Spacer7);

        horizontalLayout_3->setStretch(0, 3);
        horizontalLayout_3->setStretch(1, 12);
        horizontalLayout_3->setStretch(2, 12);
        horizontalLayout_3->setStretch(3, 8);
        horizontalLayout_3->setStretch(4, 3);

        verticalLayout->addLayout(horizontalLayout_3);

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

        verticalLayout->addWidget(Line2_2);

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

        verticalLayout->addItem(verticalSpacer);

        horizontalLayout_4 = new QHBoxLayout();
        horizontalLayout_4->setSpacing(6);
        horizontalLayout_4->setObjectName(QString::fromUtf8("horizontalLayout_4"));
        progressBar = new QProgressBar(CsvExportDlg);
        progressBar->setObjectName(QString::fromUtf8("progressBar"));
        progressBar->setEnabled(true);
        progressBar->setValue(0);

        horizontalLayout_4->addWidget(progressBar);

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

        horizontalLayout_4->addItem(horizontalSpacer);

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

        horizontalLayout_4->addWidget(m_qbuttonOk);

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

        horizontalLayout_4->addWidget(m_qbuttonCancel);


        verticalLayout->addLayout(horizontalLayout_4);

        verticalLayout->setStretch(0, 8);
        verticalLayout->setStretch(1, 2);
        verticalLayout->setStretch(2, 15);
        verticalLayout->setStretch(3, 1);
        verticalLayout->setStretch(4, 15);
        verticalLayout->setStretch(5, 1);
        verticalLayout->setStretch(6, 28);
        verticalLayout->setStretch(7, 2);
        verticalLayout->setStretch(8, 1);
        verticalLayout->setStretch(9, 15);

        gridLayout->addLayout(verticalLayout, 0, 0, 1, 1);


        retranslateUi(CsvExportDlg);

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

    void retranslateUi(QDialog *CsvExportDlg)
    {
        CsvExportDlg->setWindowTitle(tr2i18n("Csv Export", 0));
        TextLabel2->setText(tr2i18n("From this dialog you are able to export transactions to a comma separated file, (known as a CSV file, because of the extension).  However, you are able to specify an alternative separator below.  Please enter the path to the CSV file or select it by clicking on the Browse button.\n"
"\n"
"You can choose the file's path, and the account. Choose Account to export all the transactions between the specified dates,  or just choose to export Categories.", 0));
        lblFileExport->setText(tr2i18n("File to export to:", 0));
        m_qbuttonBrowse->setText(tr2i18n("Browse...", 0));
        label->setText(tr2i18n("Account to export", 0));
        m_qgroupboxContents->setTitle(tr2i18n("Contents to Export", 0));
        m_radioButtonAccount->setText(tr2i18n("Account", 0));
        m_radioButtonCategories->setText(tr2i18n("Categories", 0));
        m_qgroupboxDates->setTitle(tr2i18n("Date Range", 0));
        lblStartDate->setText(tr2i18n("Start on:", 0));
        lblEndDate->setText(tr2i18n("End on:", 0));
        m_qgroupboxSeparator->setTitle(tr2i18n("Field Separator", 0));
        m_separatorComboBox->clear();
        m_separatorComboBox->insertItems(0, QStringList()
         << tr2i18n("Comma (,)", 0)
         << tr2i18n("Semicolon (;)", 0)
         << tr2i18n("Tab (\\t)", 0)
        );
        m_qbuttonOk->setText(tr2i18n("Export", 0));
        m_qbuttonCancel->setText(tr2i18n("Cancel", 0));
    } // retranslateUi

};

namespace Ui {
    class CsvExportDlg: public Ui_CsvExportDlg {};
} // namespace Ui

QT_END_NAMESPACE

#endif // CSVEXPORTDLG_H

