#include <klocalizedstring.h>

/********************************************************************************
** Form generated from reading UI file 'csvexportdlg.ui'
**
** Created by: Qt User Interface Compiler version 5.9.1
**
** 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 <QtWidgets/QAction>
#include <QtWidgets/QApplication>
#include <QtWidgets/QButtonGroup>
#include <QtWidgets/QComboBox>
#include <QtWidgets/QDateEdit>
#include <QtWidgets/QDialog>
#include <QtWidgets/QFrame>
#include <QtWidgets/QGridLayout>
#include <QtWidgets/QGroupBox>
#include <QtWidgets/QHBoxLayout>
#include <QtWidgets/QHeaderView>
#include <QtWidgets/QLabel>
#include <QtWidgets/QProgressBar>
#include <QtWidgets/QPushButton>
#include <QtWidgets/QRadioButton>
#include <QtWidgets/QSpacerItem>
#include <QtWidgets/QVBoxLayout>
#include "kcombobox.h"
#include "klineedit.h"

QT_BEGIN_NAMESPACE

class Ui_CsvExportDlg
{
public:
    QVBoxLayout *verticalLayout;
    QLabel *TextLabel2;
    QFrame *Line2;
    QHBoxLayout *horizontalLayout_1;
    QLabel *lblFileExport;
    KLineEdit *m_qlineeditFile;
    QPushButton *m_qbuttonBrowse;
    QHBoxLayout *horizontalLayout_2;
    QLabel *label;
    KComboBox *m_accountComboBox;
    QSpacerItem *horizontalSpacer_5;
    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;
    QHBoxLayout *horizontalLayout_4;
    QProgressBar *progressBar;
    QSpacerItem *horizontalSpacer;
    QPushButton *m_qbuttonOk;
    QPushButton *m_qbuttonCancel;

    void setupUi(QDialog *CsvExportDlg)
    {
        if (CsvExportDlg->objectName().isEmpty())
            CsvExportDlg->setObjectName(QStringLiteral("CsvExportDlg"));
        CsvExportDlg->resize(631, 394);
        CsvExportDlg->setSizeGripEnabled(true);
        verticalLayout = new QVBoxLayout(CsvExportDlg);
        verticalLayout->setSpacing(6);
        verticalLayout->setContentsMargins(11, 11, 11, 11);
        verticalLayout->setObjectName(QStringLiteral("verticalLayout"));
        TextLabel2 = new QLabel(CsvExportDlg);
        TextLabel2->setObjectName(QStringLiteral("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, 16777215));
        TextLabel2->setScaledContents(false);
        TextLabel2->setAlignment(Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop);
        TextLabel2->setWordWrap(true);
        TextLabel2->setMargin(2);

        verticalLayout->addWidget(TextLabel2);

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

        verticalLayout->addWidget(Line2);

        horizontalLayout_1 = new QHBoxLayout();
        horizontalLayout_1->setSpacing(6);
        horizontalLayout_1->setObjectName(QStringLiteral("horizontalLayout_1"));
        lblFileExport = new QLabel(CsvExportDlg);
        lblFileExport->setObjectName(QStringLiteral("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(QStringLiteral("m_qlineeditFile"));

        horizontalLayout_1->addWidget(m_qlineeditFile);

        m_qbuttonBrowse = new QPushButton(CsvExportDlg);
        m_qbuttonBrowse->setObjectName(QStringLiteral("m_qbuttonBrowse"));

        horizontalLayout_1->addWidget(m_qbuttonBrowse);


        verticalLayout->addLayout(horizontalLayout_1);

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

        horizontalLayout_2->addWidget(label);

        m_accountComboBox = new KComboBox(CsvExportDlg);
        m_accountComboBox->setObjectName(QStringLiteral("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(1, 100);
        horizontalLayout_2->setStretch(2, 5);

        verticalLayout->addLayout(horizontalLayout_2);

        horizontalLayout_3 = new QHBoxLayout();
        horizontalLayout_3->setSpacing(6);
        horizontalLayout_3->setObjectName(QStringLiteral("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(QStringLiteral("m_qgroupboxContents"));
        m_qgroupboxContents->setMaximumSize(QSize(16777215, 100));
        vboxLayout = new QVBoxLayout(m_qgroupboxContents);
        vboxLayout->setSpacing(6);
        vboxLayout->setContentsMargins(11, 11, 11, 11);
        vboxLayout->setObjectName(QStringLiteral("vboxLayout"));
        vboxLayout->setContentsMargins(11, 11, 11, 11);
        m_radioButtonAccount = new QRadioButton(m_qgroupboxContents);
        m_radioButtonAccount->setObjectName(QStringLiteral("m_radioButtonAccount"));

        vboxLayout->addWidget(m_radioButtonAccount);

        m_radioButtonCategories = new QRadioButton(m_qgroupboxContents);
        m_radioButtonCategories->setObjectName(QStringLiteral("m_radioButtonCategories"));

        vboxLayout->addWidget(m_radioButtonCategories);


        horizontalLayout_3->addWidget(m_qgroupboxContents);

        m_qgroupboxDates = new QGroupBox(CsvExportDlg);
        m_qgroupboxDates->setObjectName(QStringLiteral("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(QStringLiteral("gridLayout_3"));
        gridLayout_2 = new QGridLayout();
        gridLayout_2->setSpacing(6);
        gridLayout_2->setObjectName(QStringLiteral("gridLayout_2"));
        lblStartDate = new QLabel(m_qgroupboxDates);
        lblStartDate->setObjectName(QStringLiteral("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(QStringLiteral("m_kmymoneydateStart"));

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

        lblEndDate = new QLabel(m_qgroupboxDates);
        lblEndDate->setObjectName(QStringLiteral("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(QStringLiteral("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(QStringLiteral("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(QStringLiteral("verticalLayout_2"));
        m_separatorComboBox = new QComboBox(m_qgroupboxSeparator);
        m_separatorComboBox->setObjectName(QStringLiteral("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(QStringLiteral("Line2_2"));
        Line2_2->setFrameShape(QFrame::HLine);
        Line2_2->setFrameShadow(QFrame::Sunken);

        verticalLayout->addWidget(Line2_2);

        horizontalLayout_4 = new QHBoxLayout();
        horizontalLayout_4->setSpacing(6);
        horizontalLayout_4->setObjectName(QStringLiteral("horizontalLayout_4"));
        progressBar = new QProgressBar(CsvExportDlg);
        progressBar->setObjectName(QStringLiteral("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 QPushButton(CsvExportDlg);
        m_qbuttonOk->setObjectName(QStringLiteral("m_qbuttonOk"));
        m_qbuttonOk->setAutoDefault(true);

        horizontalLayout_4->addWidget(m_qbuttonOk);

        m_qbuttonCancel = new QPushButton(CsvExportDlg);
        m_qbuttonCancel->setObjectName(QStringLiteral("m_qbuttonCancel"));
        m_qbuttonCancel->setAutoDefault(true);

        horizontalLayout_4->addWidget(m_qbuttonCancel);


        verticalLayout->addLayout(horizontalLayout_4);

        verticalLayout->setStretch(0, 2);

        retranslateUi(CsvExportDlg);

        m_qbuttonOk->setDefault(true);


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

    void retranslateUi(QDialog *CsvExportDlg)
    {
        CsvExportDlg->setWindowTitle(tr2i18n("Csv Export", Q_NULLPTR));
        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.", Q_NULLPTR));
        lblFileExport->setText(tr2i18n("File to export to:", Q_NULLPTR));
        m_qbuttonBrowse->setText(tr2i18n("&Browse...", Q_NULLPTR));
        label->setText(tr2i18n("Account to export", Q_NULLPTR));
        m_qgroupboxContents->setTitle(tr2i18n("Contents to Export", Q_NULLPTR));
        m_radioButtonAccount->setText(tr2i18n("Acco&unt", Q_NULLPTR));
        m_radioButtonCategories->setText(tr2i18n("Ca&tegories", Q_NULLPTR));
        m_qgroupboxDates->setTitle(tr2i18n("Date Range", Q_NULLPTR));
        lblStartDate->setText(tr2i18n("Start on:", Q_NULLPTR));
        lblEndDate->setText(tr2i18n("End on:", Q_NULLPTR));
        m_qgroupboxSeparator->setTitle(tr2i18n("Field Separator", Q_NULLPTR));
        m_separatorComboBox->clear();
        m_separatorComboBox->insertItems(0, QStringList()
         << tr2i18n("Comma (,)", Q_NULLPTR)
         << tr2i18n("Semicolon (;)", Q_NULLPTR)
         << tr2i18n("Tab (\\t)", Q_NULLPTR)
        );
        m_qbuttonOk->setText(tr2i18n("&Export", Q_NULLPTR));
        m_qbuttonCancel->setText(tr2i18n("Cancel", Q_NULLPTR));
    } // retranslateUi

};

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

QT_END_NAMESPACE

#endif // CSVEXPORTDLG_H

