#include <klocalizedstring.h>

/********************************************************************************
** Form generated from reading UI file 'importoption.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_IMPORTOPTION_H
#define UI_IMPORTOPTION_H

#include <QtCore/QVariant>
#include <QtWidgets/QAction>
#include <QtWidgets/QApplication>
#include <QtWidgets/QButtonGroup>
#include <QtWidgets/QComboBox>
#include <QtWidgets/QGridLayout>
#include <QtWidgets/QGroupBox>
#include <QtWidgets/QHBoxLayout>
#include <QtWidgets/QHeaderView>
#include <QtWidgets/QLabel>
#include <QtWidgets/QSpacerItem>
#include <QtWidgets/QTimeEdit>
#include <QtWidgets/QVBoxLayout>
#include <QtWidgets/QWidget>
#include "kcombobox.h"

QT_BEGIN_NAMESPACE

class Ui_ImportOption
{
public:
    QVBoxLayout *verticalLayout;
    QGroupBox *buttonGroupBox1;
    QGridLayout *gridLayout;
    QLabel *textLabel3_2;
    KComboBox *m_preferName;
    QLabel *label_2;
    QComboBox *m_uniqueIdSource;
    QLabel *label;
    QHBoxLayout *hl2;
    KComboBox *m_timestampOffsetSign;
    QTimeEdit *m_timestampOffset;
    QSpacerItem *verticalSpacer;

    void setupUi(QWidget *ImportOption)
    {
        if (ImportOption->objectName().isEmpty())
            ImportOption->setObjectName(QStringLiteral("ImportOption"));
        ImportOption->resize(598, 170);
        verticalLayout = new QVBoxLayout(ImportOption);
        verticalLayout->setObjectName(QStringLiteral("verticalLayout"));
        verticalLayout->setContentsMargins(0, 0, 0, 0);
        buttonGroupBox1 = new QGroupBox(ImportOption);
        buttonGroupBox1->setObjectName(QStringLiteral("buttonGroupBox1"));
        gridLayout = new QGridLayout(buttonGroupBox1);
        gridLayout->setObjectName(QStringLiteral("gridLayout"));
        textLabel3_2 = new QLabel(buttonGroupBox1);
        textLabel3_2->setObjectName(QStringLiteral("textLabel3_2"));
        QSizePolicy sizePolicy(QSizePolicy::Preferred, QSizePolicy::Preferred);
        sizePolicy.setHorizontalStretch(1);
        sizePolicy.setVerticalStretch(0);
        sizePolicy.setHeightForWidth(textLabel3_2->sizePolicy().hasHeightForWidth());
        textLabel3_2->setSizePolicy(sizePolicy);
        textLabel3_2->setWordWrap(false);

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

        m_preferName = new KComboBox(buttonGroupBox1);
        m_preferName->insertItems(0, QStringList()
         << QStringLiteral("PAYEEID")
         << QStringLiteral("NAME")
         << QStringLiteral("MEMO")
        );
        m_preferName->setObjectName(QStringLiteral("m_preferName"));

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

        label_2 = new QLabel(buttonGroupBox1);
        label_2->setObjectName(QStringLiteral("label_2"));

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

        m_uniqueIdSource = new QComboBox(buttonGroupBox1);
        m_uniqueIdSource->setObjectName(QStringLiteral("m_uniqueIdSource"));

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

        label = new QLabel(buttonGroupBox1);
        label->setObjectName(QStringLiteral("label"));

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

        hl2 = new QHBoxLayout();
        hl2->setObjectName(QStringLiteral("hl2"));
        m_timestampOffsetSign = new KComboBox(buttonGroupBox1);
        m_timestampOffsetSign->setObjectName(QStringLiteral("m_timestampOffsetSign"));

        hl2->addWidget(m_timestampOffsetSign);

        m_timestampOffset = new QTimeEdit(buttonGroupBox1);
        m_timestampOffset->setObjectName(QStringLiteral("m_timestampOffset"));

        hl2->addWidget(m_timestampOffset);

        hl2->setStretch(1, 1);

        gridLayout->addLayout(hl2, 2, 1, 1, 1);


        verticalLayout->addWidget(buttonGroupBox1);

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

        verticalLayout->addItem(verticalSpacer);


        retranslateUi(ImportOption);

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

    void retranslateUi(QWidget *ImportOption)
    {
        buttonGroupBox1->setTitle(tr2i18n("Import options", Q_NULLPTR));
        textLabel3_2->setText(tr2i18n("Payee's name is based on contents of the OFX tag", Q_NULLPTR));
        label_2->setText(tr2i18n("Method to detect duplicate transactions during import", Q_NULLPTR));
        m_uniqueIdSource->clear();
        m_uniqueIdSource->insertItems(0, QStringList()
         << tr2i18n("OFX FITID", Q_NULLPTR)
         << tr2i18n("KMyMoney Hash", Q_NULLPTR)
        );
        label->setText(tr2i18n("Timezone offset", Q_NULLPTR));
        m_timestampOffsetSign->clear();
        m_timestampOffsetSign->insertItems(0, QStringList()
         << tr2i18n("+", Q_NULLPTR)
         << tr2i18n("-", Q_NULLPTR)
        );
        Q_UNUSED(ImportOption);
    } // retranslateUi

};

namespace Ui {
    class ImportOption: public Ui_ImportOption {};
} // namespace Ui

QT_END_NAMESPACE

#endif // IMPORTOPTION_H

