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

/********************************************************************************
** Form generated from reading UI file 'kimportdlgdecl.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_KIMPORTDLGDECL_H
#define UI_KIMPORTDLGDECL_H

#include <QtCore/QVariant>
#include <QtGui/QAction>
#include <QtGui/QApplication>
#include <QtGui/QButtonGroup>
#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"

QT_BEGIN_NAMESPACE

class Ui_KImportDlgDecl
{
public:
    QVBoxLayout *verticalLayout;
    QLabel *qLabel1;
    QHBoxLayout *horizontalLayout;
    QLabel *lblImportFile;
    KLineEdit *m_qlineeditFile;
    KPushButton *m_qbuttonBrowse;
    QGroupBox *m_optionGroupBox;
    QGridLayout *gridLayout;
    QLabel *TextLabel3_2;
    KComboBox *m_profileComboBox;
    KPushButton *m_profileEditorButton;
    QLabel *textLabel1;
    KComboBox *m_typeComboBox;
    QSpacerItem *verticalSpacer;
    QFrame *Line1;
    QHBoxLayout *hboxLayout;
    QSpacerItem *Spacer1;
    KPushButton *m_qbuttonOk;
    KPushButton *m_qbuttonCancel;

    void setupUi(QDialog *KImportDlgDecl)
    {
        if (KImportDlgDecl->objectName().isEmpty())
            KImportDlgDecl->setObjectName(QString::fromUtf8("KImportDlgDecl"));
        KImportDlgDecl->resize(595, 464);
        KImportDlgDecl->setSizeGripEnabled(true);
        verticalLayout = new QVBoxLayout(KImportDlgDecl);
        verticalLayout->setSpacing(6);
        verticalLayout->setContentsMargins(11, 11, 11, 11);
        verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
        qLabel1 = new QLabel(KImportDlgDecl);
        qLabel1->setObjectName(QString::fromUtf8("qLabel1"));
        QSizePolicy sizePolicy(QSizePolicy::Preferred, QSizePolicy::MinimumExpanding);
        sizePolicy.setHorizontalStretch(0);
        sizePolicy.setVerticalStretch(0);
        sizePolicy.setHeightForWidth(qLabel1->sizePolicy().hasHeightForWidth());
        qLabel1->setSizePolicy(sizePolicy);
        qLabel1->setFocusPolicy(Qt::NoFocus);
        qLabel1->setWordWrap(true);

        verticalLayout->addWidget(qLabel1);

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

        horizontalLayout->addWidget(lblImportFile);

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

        horizontalLayout->addWidget(m_qlineeditFile);

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

        horizontalLayout->addWidget(m_qbuttonBrowse);


        verticalLayout->addLayout(horizontalLayout);

        m_optionGroupBox = new QGroupBox(KImportDlgDecl);
        m_optionGroupBox->setObjectName(QString::fromUtf8("m_optionGroupBox"));
        gridLayout = new QGridLayout(m_optionGroupBox);
        gridLayout->setSpacing(6);
        gridLayout->setContentsMargins(11, 11, 11, 11);
        gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
        TextLabel3_2 = new QLabel(m_optionGroupBox);
        TextLabel3_2->setObjectName(QString::fromUtf8("TextLabel3_2"));
        TextLabel3_2->setWordWrap(false);

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

        m_profileComboBox = new KComboBox(m_optionGroupBox);
        m_profileComboBox->setObjectName(QString::fromUtf8("m_profileComboBox"));
        QSizePolicy sizePolicy2(QSizePolicy::MinimumExpanding, QSizePolicy::Fixed);
        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);

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

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

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

        textLabel1 = new QLabel(m_optionGroupBox);
        textLabel1->setObjectName(QString::fromUtf8("textLabel1"));
        textLabel1->setWordWrap(false);

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

        m_typeComboBox = new KComboBox(m_optionGroupBox);
        m_typeComboBox->setObjectName(QString::fromUtf8("m_typeComboBox"));

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


        verticalLayout->addWidget(m_optionGroupBox);

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

        verticalLayout->addItem(verticalSpacer);

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

        verticalLayout->addWidget(Line1);

        hboxLayout = new QHBoxLayout();
        hboxLayout->setSpacing(6);
        hboxLayout->setContentsMargins(0, 0, 0, 0);
        hboxLayout->setObjectName(QString::fromUtf8("hboxLayout"));
        Spacer1 = new QSpacerItem(411, 0, QSizePolicy::Expanding, QSizePolicy::Minimum);

        hboxLayout->addItem(Spacer1);

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

        hboxLayout->addWidget(m_qbuttonOk);

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

        hboxLayout->addWidget(m_qbuttonCancel);


        verticalLayout->addLayout(hboxLayout);

        qLabel1->raise();
        Line1->raise();

        retranslateUi(KImportDlgDecl);

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

    void retranslateUi(QDialog *KImportDlgDecl)
    {
        KImportDlgDecl->setWindowTitle(tr2i18n("QIF Import", 0));
        qLabel1->setText(tr2i18n("<p>From this dialog you are able to import transactions from a Quicken<b>&trade;</b> compatible file, (known as a QIF file, because of the extension).</p>\n"
"<p>Please enter the path to the QIF file or select it by clicking on the Browse button. Once you have the file's path press the Import button and KMyMoney will import all the transactions, categories and payees it finds.</p>", 0));
        lblImportFile->setText(tr2i18n("QIF File to Import:", 0));
        m_qbuttonBrowse->setText(tr2i18n("Browse...", 0));
        m_optionGroupBox->setTitle(tr2i18n("Import options", 0));
        TextLabel3_2->setText(tr2i18n("QIF Profile", 0));
        m_profileEditorButton->setText(tr2i18n("New...", "@action create new import profile"));
        textLabel1->setText(tr2i18n("Source of QIF", 0));
        m_typeComboBox->clear();
        m_typeComboBox->insertItems(0, QStringList()
         << tr2i18n("Bank statement", 0)
         << tr2i18n("Other application", 0)
        );
#ifndef UI_QT_NO_WHATSTHIS
        m_typeComboBox->setWhatsThis(tr2i18n("Select <b>Bank statement</b> turns on automatic category matching which is turned off in case of <b>Other application</b>. Use the latter if you import files from other Personal Finance Management software.", 0));
#endif // QT_NO_WHATSTHIS
        m_qbuttonOk->setText(tr2i18n("Import", 0));
        m_qbuttonCancel->setText(tr2i18n("Cancel", 0));
    } // retranslateUi

};

namespace Ui {
    class KImportDlgDecl: public Ui_KImportDlgDecl {};
} // namespace Ui

QT_END_NAMESPACE

#endif // KIMPORTDLGDECL_H

