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

/********************************************************************************
** Form generated from reading UI file 'konlinebankingstatusdecl.ui'
**
** Created by: Qt User Interface Compiler version 4.8.6
**
** WARNING! All changes made in this file will be lost when recompiling UI file!
********************************************************************************/

#ifndef UI_KONLINEBANKINGSTATUSDECL_H
#define UI_KONLINEBANKINGSTATUSDECL_H

#include <QtCore/QVariant>
#include <QtGui/QAction>
#include <QtGui/QApplication>
#include <QtGui/QButtonGroup>
#include <QtGui/QCheckBox>
#include <QtGui/QFrame>
#include <QtGui/QGridLayout>
#include <QtGui/QGroupBox>
#include <QtGui/QHBoxLayout>
#include <QtGui/QHeaderView>
#include <QtGui/QLabel>
#include <QtGui/QLineEdit>
#include <QtGui/QRadioButton>
#include <QtGui/QSpacerItem>
#include <QtGui/QSpinBox>
#include <QtGui/QTimeEdit>
#include <QtGui/QVBoxLayout>
#include <QtGui/QWidget>
#include "kcombobox.h"
#include "kled.h"
#include "klineedit.h"
#include "kmymoneydateinput.h"
#include "ktabwidget.h"

QT_BEGIN_NAMESPACE

class Ui_KOnlineBankingStatusDecl
{
public:
    QVBoxLayout *verticalLayout_5;
    KTabWidget *tabWidget;
    QWidget *accountTab;
    QVBoxLayout *verticalLayout_2;
    QGridLayout *gridLayout_2;
    QLabel *textLabel1;
    QHBoxLayout *hboxLayout;
    KLed *m_ledOnlineStatus;
    QLabel *m_textOnlineStatus;
    QSpacerItem *spacer4;
    QLabel *textLabel2;
    QLabel *m_textBank;
    QLabel *textLabel3;
    QLabel *m_textOnlineAccount;
    QCheckBox *m_storePassword;
    KLineEdit *m_password;
    QSpacerItem *verticalSpacer_3;
    QWidget *ofxTab;
    QVBoxLayout *verticalLayout_3;
    QGridLayout *gridLayout_1;
    QLabel *textLabel1_3;
    KComboBox *m_applicationCombo;
    QSpacerItem *spacer4_2;
    KComboBox *m_headerVersionCombo;
    QLabel *textLabel1_2;
    KLineEdit *m_headerVersionEdit;
    KLineEdit *m_applicationEdit;
    QLineEdit *m_clientUidEdit;
    QLabel *m_clientUidLabel;
    QSpacerItem *verticalSpacer_2;
    QWidget *importTab;
    QVBoxLayout *verticalLayout_4;
    QGroupBox *buttonGroupBox2;
    QVBoxLayout *verticalLayout;
    QFrame *frame;
    QGridLayout *gridLayout;
    QRadioButton *m_lastUpdateRB;
    QLabel *m_lastUpdateTXT;
    QRadioButton *m_todayRB;
    QSpinBox *m_numdaysSpin;
    QLabel *textLabel2_2;
    QRadioButton *m_pickDateRB;
    kMyMoneyDateInput *m_specificDate;
    QSpacerItem *horizontalSpacer;
    QGroupBox *buttonGroupBox1;
    QHBoxLayout *horizontalLayout;
    QLabel *textLabel3_2;
    KComboBox *m_preferredPayee;
    QGroupBox *groupBox;
    QVBoxLayout *verticalLayout_6;
    QHBoxLayout *horizontalLayout_2;
    QLabel *label;
    KComboBox *m_timestampOffsetSign;
    QTimeEdit *m_timestampOffset;
    QSpacerItem *verticalSpacer;
    QButtonGroup *buttonGroup2;

    void setupUi(QWidget *KOnlineBankingStatusDecl)
    {
        if (KOnlineBankingStatusDecl->objectName().isEmpty())
            KOnlineBankingStatusDecl->setObjectName(QString::fromUtf8("KOnlineBankingStatusDecl"));
        KOnlineBankingStatusDecl->resize(634, 338);
        verticalLayout_5 = new QVBoxLayout(KOnlineBankingStatusDecl);
        verticalLayout_5->setSpacing(6);
        verticalLayout_5->setContentsMargins(11, 11, 11, 11);
        verticalLayout_5->setObjectName(QString::fromUtf8("verticalLayout_5"));
        tabWidget = new KTabWidget(KOnlineBankingStatusDecl);
        tabWidget->setObjectName(QString::fromUtf8("tabWidget"));
        accountTab = new QWidget();
        accountTab->setObjectName(QString::fromUtf8("accountTab"));
        verticalLayout_2 = new QVBoxLayout(accountTab);
        verticalLayout_2->setSpacing(6);
        verticalLayout_2->setContentsMargins(11, 11, 11, 11);
        verticalLayout_2->setObjectName(QString::fromUtf8("verticalLayout_2"));
        gridLayout_2 = new QGridLayout();
        gridLayout_2->setSpacing(6);
        gridLayout_2->setObjectName(QString::fromUtf8("gridLayout_2"));
        textLabel1 = new QLabel(accountTab);
        textLabel1->setObjectName(QString::fromUtf8("textLabel1"));
        textLabel1->setWordWrap(false);

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

        hboxLayout = new QHBoxLayout();
        hboxLayout->setSpacing(6);
        hboxLayout->setObjectName(QString::fromUtf8("hboxLayout"));
        m_ledOnlineStatus = new KLed(accountTab);
        m_ledOnlineStatus->setObjectName(QString::fromUtf8("m_ledOnlineStatus"));
        m_ledOnlineStatus->setState(KLed::Off);

        hboxLayout->addWidget(m_ledOnlineStatus);

        m_textOnlineStatus = new QLabel(accountTab);
        m_textOnlineStatus->setObjectName(QString::fromUtf8("m_textOnlineStatus"));
        QSizePolicy sizePolicy(QSizePolicy::Fixed, QSizePolicy::Maximum);
        sizePolicy.setHorizontalStretch(10);
        sizePolicy.setVerticalStretch(0);
        sizePolicy.setHeightForWidth(m_textOnlineStatus->sizePolicy().hasHeightForWidth());
        m_textOnlineStatus->setSizePolicy(sizePolicy);
        m_textOnlineStatus->setWordWrap(false);

        hboxLayout->addWidget(m_textOnlineStatus);

        spacer4 = new QSpacerItem(41, 21, QSizePolicy::Expanding, QSizePolicy::Minimum);

        hboxLayout->addItem(spacer4);


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

        textLabel2 = new QLabel(accountTab);
        textLabel2->setObjectName(QString::fromUtf8("textLabel2"));
        textLabel2->setWordWrap(false);

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

        m_textBank = new QLabel(accountTab);
        m_textBank->setObjectName(QString::fromUtf8("m_textBank"));
        QSizePolicy sizePolicy1(QSizePolicy::Minimum, QSizePolicy::Fixed);
        sizePolicy1.setHorizontalStretch(0);
        sizePolicy1.setVerticalStretch(0);
        sizePolicy1.setHeightForWidth(m_textBank->sizePolicy().hasHeightForWidth());
        m_textBank->setSizePolicy(sizePolicy1);
        QFont font;
        font.setBold(true);
        font.setWeight(75);
        m_textBank->setFont(font);
        m_textBank->setWordWrap(false);

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

        textLabel3 = new QLabel(accountTab);
        textLabel3->setObjectName(QString::fromUtf8("textLabel3"));
        textLabel3->setWordWrap(false);

        gridLayout_2->addWidget(textLabel3, 2, 0, 1, 1);

        m_textOnlineAccount = new QLabel(accountTab);
        m_textOnlineAccount->setObjectName(QString::fromUtf8("m_textOnlineAccount"));
        sizePolicy1.setHeightForWidth(m_textOnlineAccount->sizePolicy().hasHeightForWidth());
        m_textOnlineAccount->setSizePolicy(sizePolicy1);
        m_textOnlineAccount->setFont(font);
        m_textOnlineAccount->setWordWrap(false);

        gridLayout_2->addWidget(m_textOnlineAccount, 2, 1, 1, 1);

        m_storePassword = new QCheckBox(accountTab);
        m_storePassword->setObjectName(QString::fromUtf8("m_storePassword"));

        gridLayout_2->addWidget(m_storePassword, 3, 0, 1, 1);

        m_password = new KLineEdit(accountTab);
        m_password->setObjectName(QString::fromUtf8("m_password"));
        m_password->setEnabled(false);
        m_password->setProperty("showClearButton", QVariant(true));
        m_password->setPasswordMode(true);

        gridLayout_2->addWidget(m_password, 3, 1, 1, 1);


        verticalLayout_2->addLayout(gridLayout_2);

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

        verticalLayout_2->addItem(verticalSpacer_3);

        tabWidget->addTab(accountTab, QString());
        ofxTab = new QWidget();
        ofxTab->setObjectName(QString::fromUtf8("ofxTab"));
        verticalLayout_3 = new QVBoxLayout(ofxTab);
        verticalLayout_3->setSpacing(6);
        verticalLayout_3->setContentsMargins(11, 11, 11, 11);
        verticalLayout_3->setObjectName(QString::fromUtf8("verticalLayout_3"));
        gridLayout_1 = new QGridLayout();
        gridLayout_1->setSpacing(6);
        gridLayout_1->setObjectName(QString::fromUtf8("gridLayout_1"));
        textLabel1_3 = new QLabel(ofxTab);
        textLabel1_3->setObjectName(QString::fromUtf8("textLabel1_3"));
        textLabel1_3->setWordWrap(false);

        gridLayout_1->addWidget(textLabel1_3, 1, 0, 1, 1);

        m_applicationCombo = new KComboBox(ofxTab);
        m_applicationCombo->setObjectName(QString::fromUtf8("m_applicationCombo"));

        gridLayout_1->addWidget(m_applicationCombo, 0, 1, 1, 1);

        spacer4_2 = new QSpacerItem(150, 21, QSizePolicy::Expanding, QSizePolicy::Minimum);

        gridLayout_1->addItem(spacer4_2, 0, 4, 1, 1);

        m_headerVersionCombo = new KComboBox(ofxTab);
        m_headerVersionCombo->setObjectName(QString::fromUtf8("m_headerVersionCombo"));

        gridLayout_1->addWidget(m_headerVersionCombo, 1, 1, 1, 1);

        textLabel1_2 = new QLabel(ofxTab);
        textLabel1_2->setObjectName(QString::fromUtf8("textLabel1_2"));
        textLabel1_2->setWordWrap(false);

        gridLayout_1->addWidget(textLabel1_2, 0, 0, 1, 1);

        m_headerVersionEdit = new KLineEdit(ofxTab);
        m_headerVersionEdit->setObjectName(QString::fromUtf8("m_headerVersionEdit"));

        gridLayout_1->addWidget(m_headerVersionEdit, 1, 2, 1, 1);

        m_applicationEdit = new KLineEdit(ofxTab);
        m_applicationEdit->setObjectName(QString::fromUtf8("m_applicationEdit"));

        gridLayout_1->addWidget(m_applicationEdit, 0, 2, 1, 1);

        m_clientUidEdit = new QLineEdit(ofxTab);
        m_clientUidEdit->setObjectName(QString::fromUtf8("m_clientUidEdit"));

        gridLayout_1->addWidget(m_clientUidEdit, 2, 1, 1, 1);

        m_clientUidLabel = new QLabel(ofxTab);
        m_clientUidLabel->setObjectName(QString::fromUtf8("m_clientUidLabel"));

        gridLayout_1->addWidget(m_clientUidLabel, 2, 0, 1, 1);


        verticalLayout_3->addLayout(gridLayout_1);

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

        verticalLayout_3->addItem(verticalSpacer_2);

        tabWidget->addTab(ofxTab, QString());
        importTab = new QWidget();
        importTab->setObjectName(QString::fromUtf8("importTab"));
        verticalLayout_4 = new QVBoxLayout(importTab);
        verticalLayout_4->setSpacing(6);
        verticalLayout_4->setContentsMargins(11, 11, 11, 11);
        verticalLayout_4->setObjectName(QString::fromUtf8("verticalLayout_4"));
        buttonGroupBox2 = new QGroupBox(importTab);
        buttonGroupBox2->setObjectName(QString::fromUtf8("buttonGroupBox2"));
        verticalLayout = new QVBoxLayout(buttonGroupBox2);
        verticalLayout->setSpacing(6);
        verticalLayout->setContentsMargins(11, 11, 11, 11);
        verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
        frame = new QFrame(buttonGroupBox2);
        frame->setObjectName(QString::fromUtf8("frame"));
        frame->setFrameShape(QFrame::NoFrame);
        frame->setFrameShadow(QFrame::Plain);
        frame->setLineWidth(0);
        gridLayout = new QGridLayout(frame);
        gridLayout->setSpacing(6);
        gridLayout->setContentsMargins(11, 11, 11, 11);
        gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
        gridLayout->setSizeConstraint(QLayout::SetMinimumSize);
        m_lastUpdateRB = new QRadioButton(frame);
        buttonGroup2 = new QButtonGroup(KOnlineBankingStatusDecl);
        buttonGroup2->setObjectName(QString::fromUtf8("buttonGroup2"));
        buttonGroup2->addButton(m_lastUpdateRB);
        m_lastUpdateRB->setObjectName(QString::fromUtf8("m_lastUpdateRB"));

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

        m_lastUpdateTXT = new QLabel(frame);
        m_lastUpdateTXT->setObjectName(QString::fromUtf8("m_lastUpdateTXT"));
        m_lastUpdateTXT->setWordWrap(false);

        gridLayout->addWidget(m_lastUpdateTXT, 0, 2, 1, 3);

        m_todayRB = new QRadioButton(frame);
        buttonGroup2->addButton(m_todayRB);
        m_todayRB->setObjectName(QString::fromUtf8("m_todayRB"));
        m_todayRB->setChecked(true);

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

        m_numdaysSpin = new QSpinBox(frame);
        m_numdaysSpin->setObjectName(QString::fromUtf8("m_numdaysSpin"));
        m_numdaysSpin->setMaximum(180);

        gridLayout->addWidget(m_numdaysSpin, 1, 2, 1, 1);

        textLabel2_2 = new QLabel(frame);
        textLabel2_2->setObjectName(QString::fromUtf8("textLabel2_2"));
        textLabel2_2->setWordWrap(false);

        gridLayout->addWidget(textLabel2_2, 1, 3, 1, 2);

        m_pickDateRB = new QRadioButton(frame);
        buttonGroup2->addButton(m_pickDateRB);
        m_pickDateRB->setObjectName(QString::fromUtf8("m_pickDateRB"));

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

        m_specificDate = new kMyMoneyDateInput(frame);
        m_specificDate->setObjectName(QString::fromUtf8("m_specificDate"));
        m_specificDate->setEnabled(false);

        gridLayout->addWidget(m_specificDate, 2, 1, 1, 3);

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

        gridLayout->addItem(horizontalSpacer, 2, 4, 1, 1);


        verticalLayout->addWidget(frame);


        verticalLayout_4->addWidget(buttonGroupBox2);

        buttonGroupBox1 = new QGroupBox(importTab);
        buttonGroupBox1->setObjectName(QString::fromUtf8("buttonGroupBox1"));
        horizontalLayout = new QHBoxLayout(buttonGroupBox1);
        horizontalLayout->setSpacing(6);
        horizontalLayout->setContentsMargins(11, 11, 11, 11);
        horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout"));
        textLabel3_2 = new QLabel(buttonGroupBox1);
        textLabel3_2->setObjectName(QString::fromUtf8("textLabel3_2"));
        QSizePolicy sizePolicy2(QSizePolicy::Preferred, QSizePolicy::Preferred);
        sizePolicy2.setHorizontalStretch(1);
        sizePolicy2.setVerticalStretch(0);
        sizePolicy2.setHeightForWidth(textLabel3_2->sizePolicy().hasHeightForWidth());
        textLabel3_2->setSizePolicy(sizePolicy2);
        textLabel3_2->setWordWrap(false);

        horizontalLayout->addWidget(textLabel3_2);

        m_preferredPayee = new KComboBox(buttonGroupBox1);
        m_preferredPayee->insertItems(0, QStringList()
         << QString::fromUtf8("PAYEEID")
         << QString::fromUtf8("NAME")
         << QString::fromUtf8("MEMO")
        );
        m_preferredPayee->setObjectName(QString::fromUtf8("m_preferredPayee"));

        horizontalLayout->addWidget(m_preferredPayee);


        verticalLayout_4->addWidget(buttonGroupBox1);

        groupBox = new QGroupBox(importTab);
        groupBox->setObjectName(QString::fromUtf8("groupBox"));
        verticalLayout_6 = new QVBoxLayout(groupBox);
        verticalLayout_6->setSpacing(6);
        verticalLayout_6->setContentsMargins(11, 11, 11, 11);
        verticalLayout_6->setObjectName(QString::fromUtf8("verticalLayout_6"));
        horizontalLayout_2 = new QHBoxLayout();
        horizontalLayout_2->setSpacing(6);
        horizontalLayout_2->setObjectName(QString::fromUtf8("horizontalLayout_2"));
        label = new QLabel(groupBox);
        label->setObjectName(QString::fromUtf8("label"));

        horizontalLayout_2->addWidget(label);

        m_timestampOffsetSign = new KComboBox(groupBox);
        m_timestampOffsetSign->setObjectName(QString::fromUtf8("m_timestampOffsetSign"));

        horizontalLayout_2->addWidget(m_timestampOffsetSign);

        m_timestampOffset = new QTimeEdit(groupBox);
        m_timestampOffset->setObjectName(QString::fromUtf8("m_timestampOffset"));

        horizontalLayout_2->addWidget(m_timestampOffset);

        horizontalLayout_2->setStretch(0, 1);

        verticalLayout_6->addLayout(horizontalLayout_2);


        verticalLayout_4->addWidget(groupBox);

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

        verticalLayout_4->addItem(verticalSpacer);

        tabWidget->addTab(importTab, QString());

        verticalLayout_5->addWidget(tabWidget);


        retranslateUi(KOnlineBankingStatusDecl);
        QObject::connect(m_pickDateRB, SIGNAL(toggled(bool)), m_specificDate, SLOT(setEnabled(bool)));
        QObject::connect(m_todayRB, SIGNAL(toggled(bool)), m_numdaysSpin, SLOT(setEnabled(bool)));
        QObject::connect(m_storePassword, SIGNAL(toggled(bool)), m_password, SLOT(setEnabled(bool)));

        tabWidget->setCurrentIndex(0);


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

    void retranslateUi(QWidget *KOnlineBankingStatusDecl)
    {
        textLabel1->setText(tr2i18n("STATUS:", 0));
        m_textOnlineStatus->setText(tr2i18n("Unavailable", 0));
        textLabel2->setText(tr2i18n("BANK/BROKER:", 0));
        m_textBank->setText(tr2i18n("&lt;Not configured&gt;", 0));
        textLabel3->setText(tr2i18n("ACCOUNT:", 0));
        m_textOnlineAccount->setText(tr2i18n("&lt;Not configured&gt;", 0));
        m_storePassword->setText(tr2i18n("Store password", 0));
        tabWidget->setTabText(tabWidget->indexOf(accountTab), tr2i18n("Account Details", 0));
        textLabel1_3->setText(tr2i18n("Header Version", 0));
        textLabel1_2->setText(tr2i18n("Identify as", 0));
#ifndef UI_QT_NO_TOOLTIP
        m_clientUidEdit->setToolTip(QString());
#endif // QT_NO_TOOLTIP
#ifndef UI_QT_NO_WHATSTHIS
        m_clientUidEdit->setWhatsThis(tr2i18n("OFX <CLIENTUID> for institutions that require it", 0));
#endif // QT_NO_WHATSTHIS
        m_clientUidLabel->setText(tr2i18n("Client UID", 0));
        tabWidget->setTabText(tabWidget->indexOf(ofxTab), tr2i18n("OFX Details", 0));
        buttonGroupBox2->setTitle(tr2i18n("Start date of import", 0));
        m_lastUpdateRB->setText(tr2i18n("Last &update", 0));
        m_lastUpdateTXT->setText(QString());
        m_todayRB->setText(tr2i18n("To&day minus", 0));
        textLabel2_2->setText(tr2i18n("days", "@action number of days"));
        m_pickDateRB->setText(tr2i18n("Pi&ck date", 0));
        buttonGroupBox1->setTitle(QString());
        textLabel3_2->setText(tr2i18n("Payee's name is based on contents of the OFX tag", 0));
#ifndef UI_QT_NO_WHATSTHIS
        groupBox->setWhatsThis(tr2i18n("<html><head/><body><p>In case the server is located in a different timezone than your local time, then the post date of imported transactions is off by a day.</p><p>This setting can be used to adjust the timestamps of the transactions during import to reflect your local time. It does not affect previously imported transactions. </p><p>If you are located west of your bank's server than enter a negative time, in case you are located east of it enter a positve time.</p><p>If you are not sure, leave this setting at 0:00.</p></body></html>", 0));
#endif // QT_NO_WHATSTHIS
        label->setText(tr2i18n("Timezone offset", 0));
        m_timestampOffsetSign->clear();
        m_timestampOffsetSign->insertItems(0, QStringList()
         << tr2i18n("+", 0)
         << tr2i18n("-", 0)
        );
        tabWidget->setTabText(tabWidget->indexOf(importTab), tr2i18n("Import Details", 0));
        Q_UNUSED(KOnlineBankingStatusDecl);
    } // retranslateUi

};

namespace Ui {
    class KOnlineBankingStatusDecl: public Ui_KOnlineBankingStatusDecl {};
} // namespace Ui

QT_END_NAMESPACE

#endif // KONLINEBANKINGSTATUSDECL_H

