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

/********************************************************************************
** Form generated from reading UI file 'pumpioeditaccountwidget.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_PUMPIOEDITACCOUNTWIDGET_H
#define UI_PUMPIOEDITACCOUNTWIDGET_H

#include <QtCore/QVariant>
#include <QtGui/QAction>
#include <QtGui/QApplication>
#include <QtGui/QButtonGroup>
#include <QtGui/QFormLayout>
#include <QtGui/QGridLayout>
#include <QtGui/QGroupBox>
#include <QtGui/QHeaderView>
#include <QtGui/QLabel>
#include <QtGui/QSpacerItem>
#include <QtGui/QTableWidget>
#include <QtGui/QVBoxLayout>
#include <QtGui/QWidget>
#include "kled.h"
#include "klineedit.h"
#include "kpushbutton.h"
#include "ktabwidget.h"

QT_BEGIN_NAMESPACE

class Ui_PumpIOEditAccountWidget
{
public:
    QVBoxLayout *verticalLayout;
    KTabWidget *tabwidget;
    QWidget *tabAccount;
    QGridLayout *gridLayout;
    QLabel *label_3;
    KLineEdit *kcfg_alias;
    QLabel *label;
    QGroupBox *kcfg_basicAuth;
    QFormLayout *formLayout;
    QLabel *label_4;
    KLineEdit *kcfg_webfingerid;
    QGroupBox *kcfg_credentialsBox;
    QGridLayout *gridLayout_2;
    QLabel *label_2;
    KLed *kcfg_authenticateLed;
    QLabel *kcfg_authenticateStatus;
    KPushButton *kcfg_authorize;
    QSpacerItem *verticalSpacer;
    QWidget *tab;
    QVBoxLayout *verticalLayout_2;
    QLabel *label_5;
    QTableWidget *timelinesTable;

    void setupUi(QWidget *PumpIOEditAccountWidget)
    {
        if (PumpIOEditAccountWidget->objectName().isEmpty())
            PumpIOEditAccountWidget->setObjectName(QString::fromUtf8("PumpIOEditAccountWidget"));
        PumpIOEditAccountWidget->resize(387, 346);
        verticalLayout = new QVBoxLayout(PumpIOEditAccountWidget);
        verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
        tabwidget = new KTabWidget(PumpIOEditAccountWidget);
        tabwidget->setObjectName(QString::fromUtf8("tabwidget"));
        tabAccount = new QWidget();
        tabAccount->setObjectName(QString::fromUtf8("tabAccount"));
        gridLayout = new QGridLayout(tabAccount);
        gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
        label_3 = new QLabel(tabAccount);
        label_3->setObjectName(QString::fromUtf8("label_3"));
        label_3->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);

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

        kcfg_alias = new KLineEdit(tabAccount);
        kcfg_alias->setObjectName(QString::fromUtf8("kcfg_alias"));

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

        label = new QLabel(tabAccount);
        label->setObjectName(QString::fromUtf8("label"));
        QSizePolicy sizePolicy(QSizePolicy::Preferred, QSizePolicy::Maximum);
        sizePolicy.setHorizontalStretch(0);
        sizePolicy.setVerticalStretch(0);
        sizePolicy.setHeightForWidth(label->sizePolicy().hasHeightForWidth());
        label->setSizePolicy(sizePolicy);
        label->setAlignment(Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop);
        label->setWordWrap(true);

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

        kcfg_basicAuth = new QGroupBox(tabAccount);
        kcfg_basicAuth->setObjectName(QString::fromUtf8("kcfg_basicAuth"));
        formLayout = new QFormLayout(kcfg_basicAuth);
        formLayout->setObjectName(QString::fromUtf8("formLayout"));
        formLayout->setFieldGrowthPolicy(QFormLayout::ExpandingFieldsGrow);
        label_4 = new QLabel(kcfg_basicAuth);
        label_4->setObjectName(QString::fromUtf8("label_4"));
        label_4->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);

        formLayout->setWidget(0, QFormLayout::LabelRole, label_4);

        kcfg_webfingerid = new KLineEdit(kcfg_basicAuth);
        kcfg_webfingerid->setObjectName(QString::fromUtf8("kcfg_webfingerid"));

        formLayout->setWidget(0, QFormLayout::FieldRole, kcfg_webfingerid);


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

        kcfg_credentialsBox = new QGroupBox(tabAccount);
        kcfg_credentialsBox->setObjectName(QString::fromUtf8("kcfg_credentialsBox"));
        gridLayout_2 = new QGridLayout(kcfg_credentialsBox);
        gridLayout_2->setObjectName(QString::fromUtf8("gridLayout_2"));
        label_2 = new QLabel(kcfg_credentialsBox);
        label_2->setObjectName(QString::fromUtf8("label_2"));
        QSizePolicy sizePolicy1(QSizePolicy::Preferred, QSizePolicy::Minimum);
        sizePolicy1.setHorizontalStretch(0);
        sizePolicy1.setVerticalStretch(0);
        sizePolicy1.setHeightForWidth(label_2->sizePolicy().hasHeightForWidth());
        label_2->setSizePolicy(sizePolicy1);
        label_2->setWordWrap(true);

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

        kcfg_authenticateLed = new KLed(kcfg_credentialsBox);
        kcfg_authenticateLed->setObjectName(QString::fromUtf8("kcfg_authenticateLed"));
        kcfg_authenticateLed->setEnabled(true);
        QSizePolicy sizePolicy2(QSizePolicy::Maximum, QSizePolicy::Preferred);
        sizePolicy2.setHorizontalStretch(0);
        sizePolicy2.setVerticalStretch(0);
        sizePolicy2.setHeightForWidth(kcfg_authenticateLed->sizePolicy().hasHeightForWidth());
        kcfg_authenticateLed->setSizePolicy(sizePolicy2);
        kcfg_authenticateLed->setState(KLed::Off);

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

        kcfg_authenticateStatus = new QLabel(kcfg_credentialsBox);
        kcfg_authenticateStatus->setObjectName(QString::fromUtf8("kcfg_authenticateStatus"));

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

        kcfg_authorize = new KPushButton(kcfg_credentialsBox);
        kcfg_authorize->setObjectName(QString::fromUtf8("kcfg_authorize"));
        QIcon icon;
        QString iconThemeName = QString::fromUtf8("object-locked");
        if (QIcon::hasThemeIcon(iconThemeName)) {
            icon = QIcon::fromTheme(iconThemeName);
        } else {
            icon.addFile(QString::fromUtf8(""), QSize(), QIcon::Normal, QIcon::Off);
        }
        kcfg_authorize->setIcon(icon);

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


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

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

        gridLayout->addItem(verticalSpacer, 4, 0, 1, 2);

        tabwidget->addTab(tabAccount, QString());
        tab = new QWidget();
        tab->setObjectName(QString::fromUtf8("tab"));
        verticalLayout_2 = new QVBoxLayout(tab);
        verticalLayout_2->setObjectName(QString::fromUtf8("verticalLayout_2"));
        label_5 = new QLabel(tab);
        label_5->setObjectName(QString::fromUtf8("label_5"));
        QFont font;
        font.setBold(true);
        font.setWeight(75);
        label_5->setFont(font);

        verticalLayout_2->addWidget(label_5);

        timelinesTable = new QTableWidget(tab);
        if (timelinesTable->columnCount() < 2)
            timelinesTable->setColumnCount(2);
        QTableWidgetItem *__qtablewidgetitem = new QTableWidgetItem();
        timelinesTable->setHorizontalHeaderItem(0, __qtablewidgetitem);
        QTableWidgetItem *__qtablewidgetitem1 = new QTableWidgetItem();
        timelinesTable->setHorizontalHeaderItem(1, __qtablewidgetitem1);
        timelinesTable->setObjectName(QString::fromUtf8("timelinesTable"));

        verticalLayout_2->addWidget(timelinesTable);

        tabwidget->addTab(tab, QString());

        verticalLayout->addWidget(tabwidget);

#ifndef UI_QT_NO_SHORTCUT
        label_3->setBuddy(kcfg_alias);
#endif // QT_NO_SHORTCUT
        QWidget::setTabOrder(kcfg_alias, kcfg_webfingerid);
        QWidget::setTabOrder(kcfg_webfingerid, kcfg_authorize);
        QWidget::setTabOrder(kcfg_authorize, tabwidget);

        retranslateUi(PumpIOEditAccountWidget);

        tabwidget->setCurrentIndex(0);


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

    void retranslateUi(QWidget *PumpIOEditAccountWidget)
    {
        label_3->setText(tr2i18n("&Alias:", 0));
#ifndef UI_QT_NO_TOOLTIP
        kcfg_alias->setToolTip(tr2i18n("The account alias", 0));
#endif // QT_NO_TOOLTIP
#ifndef UI_QT_NO_WHATSTHIS
        kcfg_alias->setWhatsThis(tr2i18n("The alias is the name you want to give to your account. It should be unique. You can have several connections to the same service so the alias lets you give them names.", 0));
#endif // QT_NO_WHATSTHIS
        label->setText(tr2i18n("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
"<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
"p, li { white-space: pre-wrap; }\n"
"</style></head><body style=\" font-family:'DejaVu Sans'; font-size:9pt; font-weight:400; font-style:normal;\">\n"
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-size:8pt; font-weight:600;\">Note:</span><span style=\" font-size:8pt;\"> The alias must be unique.</span></p></body></html>", 0));
        kcfg_basicAuth->setTitle(tr2i18n("Credentials", 0));
        label_4->setText(tr2i18n("Webfinger ID:", 0));
        kcfg_credentialsBox->setTitle(tr2i18n("OAuth Authentication", 0));
        label_2->setText(tr2i18n("Click the below button; if everything goes well, you will pointed to Pump.io website to allow access to Choqok.", 0));
        kcfg_authenticateStatus->setText(tr2i18n("Not Authenticated", 0));
#ifndef UI_QT_NO_TOOLTIP
        kcfg_authorize->setToolTip(tr2i18n("Verify credentials", 0));
#endif // QT_NO_TOOLTIP
        kcfg_authorize->setText(tr2i18n("&Authenticate with Pump.io Service", 0));
        tabwidget->setTabText(tabwidget->indexOf(tabAccount), tr2i18n("PumpIO Account", 0));
        label_5->setText(tr2i18n("Which timelines do you like to be enabled?", 0));
        QTableWidgetItem *___qtablewidgetitem = timelinesTable->horizontalHeaderItem(0);
        ___qtablewidgetitem->setText(tr2i18n("Name", 0));
        QTableWidgetItem *___qtablewidgetitem1 = timelinesTable->horizontalHeaderItem(1);
        ___qtablewidgetitem1->setText(tr2i18n("Enable", 0));
        tabwidget->setTabText(tabwidget->indexOf(tab), tr2i18n("Timelines Configuration", 0));
        Q_UNUSED(PumpIOEditAccountWidget);
    } // retranslateUi

};

namespace Ui {
    class PumpIOEditAccountWidget: public Ui_PumpIOEditAccountWidget {};
} // namespace Ui

QT_END_NAMESPACE

#endif // PUMPIOEDITACCOUNTWIDGET_H

