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

/********************************************************************************
** Form generated from reading UI file 'ksettingsonlinequotesdecl.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_KSETTINGSONLINEQUOTESDECL_H
#define UI_KSETTINGSONLINEQUOTESDECL_H

#include <QtCore/QVariant>
#include <QtGui/QAction>
#include <QtGui/QApplication>
#include <QtGui/QButtonGroup>
#include <QtGui/QCheckBox>
#include <QtGui/QGridLayout>
#include <QtGui/QGroupBox>
#include <QtGui/QHBoxLayout>
#include <QtGui/QHeaderView>
#include <QtGui/QLabel>
#include <QtGui/QSpacerItem>
#include <QtGui/QVBoxLayout>
#include <QtGui/QWidget>
#include <klineedit.h>
#include <klistwidget.h>
#include <kpushbutton.h>

QT_BEGIN_NAMESPACE

class Ui_KSettingsOnlineQuotesDecl
{
public:
    QVBoxLayout *vboxLayout;
    KListWidget *m_quoteSourceList;
    QGroupBox *groupParsing;
    QGridLayout *gridLayout;
    QLabel *textLabel4;
    QLabel *textLabel2;
    KLineEdit *m_editSymbol;
    KLineEdit *m_editPrice;
    KLineEdit *m_editURL;
    QLabel *textLabel3;
    KLineEdit *m_editDate;
    QLabel *textLabel4_2;
    QLabel *textLabel1;
    KLineEdit *m_editDateFormat;
    QCheckBox *m_skipStripping;
    QHBoxLayout *hboxLayout;
    KPushButton *m_newButton;
    KPushButton *m_deleteButton;
    QSpacerItem *spacer6;
    KPushButton *m_updateButton;

    void setupUi(QWidget *KSettingsOnlineQuotesDecl)
    {
        if (KSettingsOnlineQuotesDecl->objectName().isEmpty())
            KSettingsOnlineQuotesDecl->setObjectName(QString::fromUtf8("KSettingsOnlineQuotesDecl"));
        KSettingsOnlineQuotesDecl->resize(512, 442);
        KSettingsOnlineQuotesDecl->setMinimumSize(QSize(0, 0));
        vboxLayout = new QVBoxLayout(KSettingsOnlineQuotesDecl);
        vboxLayout->setSpacing(6);
        vboxLayout->setContentsMargins(11, 11, 11, 11);
        vboxLayout->setObjectName(QString::fromUtf8("vboxLayout"));
        m_quoteSourceList = new KListWidget(KSettingsOnlineQuotesDecl);
        m_quoteSourceList->setObjectName(QString::fromUtf8("m_quoteSourceList"));
        QSizePolicy sizePolicy(static_cast<QSizePolicy::Policy>(7), static_cast<QSizePolicy::Policy>(3));
        sizePolicy.setHorizontalStretch(0);
        sizePolicy.setVerticalStretch(0);
        sizePolicy.setHeightForWidth(m_quoteSourceList->sizePolicy().hasHeightForWidth());
        m_quoteSourceList->setSizePolicy(sizePolicy);

        vboxLayout->addWidget(m_quoteSourceList);

        groupParsing = new QGroupBox(KSettingsOnlineQuotesDecl);
        groupParsing->setObjectName(QString::fromUtf8("groupParsing"));
        gridLayout = new QGridLayout(groupParsing);
        gridLayout->setSpacing(6);
        gridLayout->setContentsMargins(11, 11, 11, 11);
        gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
        textLabel4 = new QLabel(groupParsing);
        textLabel4->setObjectName(QString::fromUtf8("textLabel4"));
        textLabel4->setWordWrap(false);

        gridLayout->addWidget(textLabel4, 3, 0, 1, 1);

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

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

        m_editSymbol = new KLineEdit(groupParsing);
        m_editSymbol->setObjectName(QString::fromUtf8("m_editSymbol"));

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

        m_editPrice = new KLineEdit(groupParsing);
        m_editPrice->setObjectName(QString::fromUtf8("m_editPrice"));

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

        m_editURL = new KLineEdit(groupParsing);
        m_editURL->setObjectName(QString::fromUtf8("m_editURL"));

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

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

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

        m_editDate = new KLineEdit(groupParsing);
        m_editDate->setObjectName(QString::fromUtf8("m_editDate"));

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

        textLabel4_2 = new QLabel(groupParsing);
        textLabel4_2->setObjectName(QString::fromUtf8("textLabel4_2"));
        textLabel4_2->setWordWrap(false);

        gridLayout->addWidget(textLabel4_2, 4, 0, 1, 1);

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

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

        m_editDateFormat = new KLineEdit(groupParsing);
        m_editDateFormat->setObjectName(QString::fromUtf8("m_editDateFormat"));

        gridLayout->addWidget(m_editDateFormat, 4, 1, 1, 1);

        m_skipStripping = new QCheckBox(groupParsing);
        m_skipStripping->setObjectName(QString::fromUtf8("m_skipStripping"));

        gridLayout->addWidget(m_skipStripping, 4, 2, 1, 1);


        vboxLayout->addWidget(groupParsing);

        hboxLayout = new QHBoxLayout();
        hboxLayout->setSpacing(6);
        hboxLayout->setObjectName(QString::fromUtf8("hboxLayout"));
        m_newButton = new KPushButton(KSettingsOnlineQuotesDecl);
        m_newButton->setObjectName(QString::fromUtf8("m_newButton"));

        hboxLayout->addWidget(m_newButton);

        m_deleteButton = new KPushButton(KSettingsOnlineQuotesDecl);
        m_deleteButton->setObjectName(QString::fromUtf8("m_deleteButton"));

        hboxLayout->addWidget(m_deleteButton);

        spacer6 = new QSpacerItem(240, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);

        hboxLayout->addItem(spacer6);

        m_updateButton = new KPushButton(KSettingsOnlineQuotesDecl);
        m_updateButton->setObjectName(QString::fromUtf8("m_updateButton"));

        hboxLayout->addWidget(m_updateButton);


        vboxLayout->addLayout(hboxLayout);


        retranslateUi(KSettingsOnlineQuotesDecl);

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

    void retranslateUi(QWidget *KSettingsOnlineQuotesDecl)
    {
        KSettingsOnlineQuotesDecl->setWindowTitle(tr2i18n("Online Quotes", 0));
        groupParsing->setTitle(tr2i18n("Details", 0));
#ifndef UI_QT_NO_WHATSTHIS
        groupParsing->setProperty("whatsThis", QVariant(tr2i18n("<i>Enter regular expressions which can be used to parse the data returned from the URL entered above.  The symbol, price, and date must be found in the quote data to be usable. You may also try the KMyMoney user's mailinglist at <a href=\"mailto:kmymoney@kde.org\">kmymoney@kde.org</a> to find what settings work for other users in your country.</i>", 0)));
#endif // QT_NO_WHATSTHIS
        textLabel4->setText(tr2i18n("Date", 0));
        textLabel2->setText(tr2i18n("Symbol", 0));
#ifndef UI_QT_NO_TOOLTIP
        m_editSymbol->setProperty("toolTip", QVariant(tr2i18n("Regular Expression to extract the symbol from the downloaded data", 0)));
#endif // QT_NO_TOOLTIP
#ifndef UI_QT_NO_TOOLTIP
        m_editPrice->setProperty("toolTip", QVariant(tr2i18n("Regular Expression to extract the price from the downloaded data", 0)));
#endif // QT_NO_TOOLTIP
#ifndef UI_QT_NO_TOOLTIP
        m_editURL->setProperty("toolTip", QVariant(tr2i18n("URL to be used to download the quote", 0)));
#endif // QT_NO_TOOLTIP
#ifndef UI_QT_NO_WHATSTHIS
        m_editURL->setProperty("whatsThis", QVariant(tr2i18n("Enter the URL from which stock quotes will be fetched.  <b>%1</b> will be replaced with the symbol for the security being quoted. For currency conversions, <b>%2</b> will be replaced with the currency to be quoted and <b>%1</b> with the currency the quote is based on.", 0)));
#endif // QT_NO_WHATSTHIS
        textLabel3->setText(tr2i18n("Price", 0));
#ifndef UI_QT_NO_TOOLTIP
        m_editDate->setProperty("toolTip", QVariant(tr2i18n("Regular Expression to extract the date from the downloaded data", 0)));
#endif // QT_NO_TOOLTIP
        textLabel4_2->setText(tr2i18n("Date Format", 0));
        textLabel1->setText(tr2i18n("URL", 0));
#ifndef UI_QT_NO_TOOLTIP
        m_editDateFormat->setProperty("toolTip", QVariant(tr2i18n("Regular Expression to extract the date from the downloaded data", 0)));
#endif // QT_NO_TOOLTIP
        m_skipStripping->setText(tr2i18n("Skip HTML stripping", 0));
#ifndef UI_QT_NO_WHATSTHIS
        m_skipStripping->setProperty("whatsThis", QVariant(tr2i18n("<p>For easier processing of the data returned by the online source, KMyMoney usually strips unused parts before it is parsed with the regular expressions. If matching of the fields relies on those items, then use this option to turn stripping off.</p>\n"
"\n"
"<p>The following items are usually removed by stripping:\n"
"\n"
"<ul>\n"
"<li>HTML tags such as <b>&lt;tag&gt;</b></li>\n"
"<li>& encoded characters such as <b>&amp;nbsp;</b></li>\n"
"<li>duplicate whitespace</li>\n"
"</ul>\n"
"</p>", 0)));
#endif // QT_NO_WHATSTHIS
        m_newButton->setText(tr2i18n("New", "@action create new quote source"));
        m_deleteButton->setText(tr2i18n("Delete", 0));
        m_updateButton->setText(tr2i18n("Update", "@action update quotes from online quote source"));
    } // retranslateUi

};

namespace Ui {
    class KSettingsOnlineQuotesDecl: public Ui_KSettingsOnlineQuotesDecl {};
} // namespace Ui

QT_END_NAMESPACE

#endif // KSETTINGSONLINEQUOTESDECL_H

