#include <klocalizedstring.h>

/********************************************************************************
** Form generated from reading UI file 'pumpioeditaccountwidget.ui'
**
** Created by: Qt User Interface Compiler version 5.6.2
**
** 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 <QtWidgets/QAction>
#include <QtWidgets/QApplication>
#include <QtWidgets/QButtonGroup>
#include <QtWidgets/QFormLayout>
#include <QtWidgets/QGridLayout>
#include <QtWidgets/QGroupBox>
#include <QtWidgets/QHeaderView>
#include <QtWidgets/QLabel>
#include <QtWidgets/QLineEdit>
#include <QtWidgets/QPushButton>
#include <QtWidgets/QSpacerItem>
#include <QtWidgets/QTabWidget>
#include <QtWidgets/QTableWidget>
#include <QtWidgets/QVBoxLayout>
#include <QtWidgets/QWidget>
#include "kled.h"

QT_BEGIN_NAMESPACE

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

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

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

        kcfg_alias = new QLineEdit(tabAccount);
        kcfg_alias->setObjectName(QStringLiteral("kcfg_alias"));

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

        label = new QLabel(tabAccount);
        label->setObjectName(QStringLiteral("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(QStringLiteral("kcfg_basicAuth"));
        formLayout = new QFormLayout(kcfg_basicAuth);
        formLayout->setObjectName(QStringLiteral("formLayout"));
        formLayout->setFieldGrowthPolicy(QFormLayout::ExpandingFieldsGrow);
        label_4 = new QLabel(kcfg_basicAuth);
        label_4->setObjectName(QStringLiteral("label_4"));
        label_4->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);

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

        kcfg_webfingerid = new QLineEdit(kcfg_basicAuth);
        kcfg_webfingerid->setObjectName(QStringLiteral("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(QStringLiteral("kcfg_credentialsBox"));
        gridLayout_2 = new QGridLayout(kcfg_credentialsBox);
        gridLayout_2->setObjectName(QStringLiteral("gridLayout_2"));
        label_2 = new QLabel(kcfg_credentialsBox);
        label_2->setObjectName(QStringLiteral("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(QStringLiteral("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(QStringLiteral("kcfg_authenticateStatus"));

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

        kcfg_authorize = new QPushButton(kcfg_credentialsBox);
        kcfg_authorize->setObjectName(QStringLiteral("kcfg_authorize"));
        QIcon icon;
        QString iconThemeName = QStringLiteral("object-locked");
        if (QIcon::hasThemeIcon(iconThemeName)) {
            icon = QIcon::fromTheme(iconThemeName);
        } else {
            icon.addFile(QStringLiteral(""), 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(QStringLiteral("tab"));
        verticalLayout_2 = new QVBoxLayout(tab);
        verticalLayout_2->setObjectName(QStringLiteral("verticalLayout_2"));
        label_5 = new QLabel(tab);
        label_5->setObjectName(QStringLiteral("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(QStringLiteral("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("A&lias:", 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

