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

#ifndef UI_GMAILACCOUNTDETAILS_H
#define UI_GMAILACCOUNTDETAILS_H

#include <QtCore/QVariant>
#include <QtWidgets/QApplication>
#include <QtWidgets/QCheckBox>
#include <QtWidgets/QFormLayout>
#include <QtWidgets/QGroupBox>
#include <QtWidgets/QHBoxLayout>
#include <QtWidgets/QLabel>
#include <QtWidgets/QPushButton>
#include <QtWidgets/QSpacerItem>
#include <QtWidgets/QWidget>
#include "helpspoiler.h"
#include "labelwithstatus.h"
#include "lineeditwithstatus.h"
#include "messagecountspinbox.h"

QT_BEGIN_NAMESPACE

class Ui_GmailAccountDetails
{
public:
    QFormLayout *formLayout_4;
    QLabel *m_lblUsername;
    LineEditWithStatus *m_txtUsername;
    QGroupBox *groupBox;
    QFormLayout *formLayout;
    QLabel *m_lblUsername_2;
    LineEditWithStatus *m_txtAppId;
    QLabel *m_lblUsername_3;
    LineEditWithStatus *m_txtAppKey;
    QLabel *m_lblUsername_4;
    LineEditWithStatus *m_txtRedirectUrl;
    QHBoxLayout *horizontalLayout;
    QPushButton *m_btnRegisterApi;
    QSpacerItem *horizontalSpacer;
    HelpSpoiler *m_lblInfo;
    QFormLayout *formLayout_3;
    QLabel *label;
    MessageCountSpinBox *m_spinLimitMessages;
    QFormLayout *formLayout_2;
    QPushButton *m_btnTestSetup;
    LabelWithStatus *m_lblTestResult;
    QSpacerItem *verticalSpacer;
    QCheckBox *m_cbDownloadOnlyUnreadMessages;

    void setupUi(QWidget *GmailAccountDetails)
    {
        if (GmailAccountDetails->objectName().isEmpty())
            GmailAccountDetails->setObjectName("GmailAccountDetails");
        GmailAccountDetails->resize(431, 259);
        formLayout_4 = new QFormLayout(GmailAccountDetails);
        formLayout_4->setObjectName("formLayout_4");
        m_lblUsername = new QLabel(GmailAccountDetails);
        m_lblUsername->setObjectName("m_lblUsername");

        formLayout_4->setWidget(0, QFormLayout::ItemRole::LabelRole, m_lblUsername);

        m_txtUsername = new LineEditWithStatus(GmailAccountDetails);
        m_txtUsername->setObjectName("m_txtUsername");

        formLayout_4->setWidget(0, QFormLayout::ItemRole::FieldRole, m_txtUsername);

        groupBox = new QGroupBox(GmailAccountDetails);
        groupBox->setObjectName("groupBox");
        QSizePolicy sizePolicy(QSizePolicy::Policy::Preferred, QSizePolicy::Policy::Preferred);
        sizePolicy.setHorizontalStretch(0);
        sizePolicy.setVerticalStretch(1);
        sizePolicy.setHeightForWidth(groupBox->sizePolicy().hasHeightForWidth());
        groupBox->setSizePolicy(sizePolicy);
        formLayout = new QFormLayout(groupBox);
        formLayout->setObjectName("formLayout");
        m_lblUsername_2 = new QLabel(groupBox);
        m_lblUsername_2->setObjectName("m_lblUsername_2");

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

        m_txtAppId = new LineEditWithStatus(groupBox);
        m_txtAppId->setObjectName("m_txtAppId");

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

        m_lblUsername_3 = new QLabel(groupBox);
        m_lblUsername_3->setObjectName("m_lblUsername_3");

        formLayout->setWidget(1, QFormLayout::ItemRole::LabelRole, m_lblUsername_3);

        m_txtAppKey = new LineEditWithStatus(groupBox);
        m_txtAppKey->setObjectName("m_txtAppKey");

        formLayout->setWidget(1, QFormLayout::ItemRole::FieldRole, m_txtAppKey);

        m_lblUsername_4 = new QLabel(groupBox);
        m_lblUsername_4->setObjectName("m_lblUsername_4");

        formLayout->setWidget(2, QFormLayout::ItemRole::LabelRole, m_lblUsername_4);

        m_txtRedirectUrl = new LineEditWithStatus(groupBox);
        m_txtRedirectUrl->setObjectName("m_txtRedirectUrl");

        formLayout->setWidget(2, QFormLayout::ItemRole::FieldRole, m_txtRedirectUrl);

        horizontalLayout = new QHBoxLayout();
        horizontalLayout->setObjectName("horizontalLayout");
        m_btnRegisterApi = new QPushButton(groupBox);
        m_btnRegisterApi->setObjectName("m_btnRegisterApi");

        horizontalLayout->addWidget(m_btnRegisterApi);

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

        horizontalLayout->addItem(horizontalSpacer);


        formLayout->setLayout(4, QFormLayout::ItemRole::SpanningRole, horizontalLayout);

        m_lblInfo = new HelpSpoiler(groupBox);
        m_lblInfo->setObjectName("m_lblInfo");

        formLayout->setWidget(3, QFormLayout::ItemRole::SpanningRole, m_lblInfo);


        formLayout_4->setWidget(1, QFormLayout::ItemRole::SpanningRole, groupBox);

        formLayout_3 = new QFormLayout();
        formLayout_3->setObjectName("formLayout_3");
        label = new QLabel(GmailAccountDetails);
        label->setObjectName("label");

        formLayout_3->setWidget(0, QFormLayout::ItemRole::LabelRole, label);

        m_spinLimitMessages = new MessageCountSpinBox(GmailAccountDetails);
        m_spinLimitMessages->setObjectName("m_spinLimitMessages");
        m_spinLimitMessages->setMaximumSize(QSize(140, 16777215));

        formLayout_3->setWidget(0, QFormLayout::ItemRole::FieldRole, m_spinLimitMessages);


        formLayout_4->setLayout(3, QFormLayout::ItemRole::SpanningRole, formLayout_3);

        formLayout_2 = new QFormLayout();
        formLayout_2->setObjectName("formLayout_2");
        m_btnTestSetup = new QPushButton(GmailAccountDetails);
        m_btnTestSetup->setObjectName("m_btnTestSetup");

        formLayout_2->setWidget(0, QFormLayout::ItemRole::LabelRole, m_btnTestSetup);

        m_lblTestResult = new LabelWithStatus(GmailAccountDetails);
        m_lblTestResult->setObjectName("m_lblTestResult");
        m_lblTestResult->setLayoutDirection(Qt::RightToLeft);

        formLayout_2->setWidget(0, QFormLayout::ItemRole::FieldRole, m_lblTestResult);


        formLayout_4->setLayout(4, QFormLayout::ItemRole::SpanningRole, formLayout_2);

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

        formLayout_4->setItem(5, QFormLayout::ItemRole::SpanningRole, verticalSpacer);

        m_cbDownloadOnlyUnreadMessages = new QCheckBox(GmailAccountDetails);
        m_cbDownloadOnlyUnreadMessages->setObjectName("m_cbDownloadOnlyUnreadMessages");

        formLayout_4->setWidget(2, QFormLayout::ItemRole::SpanningRole, m_cbDownloadOnlyUnreadMessages);

#if QT_CONFIG(shortcut)
        m_lblUsername_2->setBuddy(m_txtAppId);
        m_lblUsername_3->setBuddy(m_txtAppKey);
        m_lblUsername_4->setBuddy(m_txtRedirectUrl);
        label->setBuddy(m_spinLimitMessages);
#endif // QT_CONFIG(shortcut)
        QWidget::setTabOrder(m_btnRegisterApi, m_cbDownloadOnlyUnreadMessages);
        QWidget::setTabOrder(m_cbDownloadOnlyUnreadMessages, m_spinLimitMessages);
        QWidget::setTabOrder(m_spinLimitMessages, m_btnTestSetup);

        retranslateUi(GmailAccountDetails);

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

    void retranslateUi(QWidget *GmailAccountDetails)
    {
        m_lblUsername->setText(QCoreApplication::translate("GmailAccountDetails", "Username", nullptr));
        groupBox->setTitle(QCoreApplication::translate("GmailAccountDetails", "OAuth 2.0 settings", nullptr));
        m_lblUsername_2->setText(QCoreApplication::translate("GmailAccountDetails", "Client ID", nullptr));
        m_lblUsername_3->setText(QCoreApplication::translate("GmailAccountDetails", "Client secret", nullptr));
        m_lblUsername_4->setText(QCoreApplication::translate("GmailAccountDetails", "Redirect URL", nullptr));
        m_btnRegisterApi->setText(QCoreApplication::translate("GmailAccountDetails", "Get my credentials", nullptr));
        label->setText(QCoreApplication::translate("GmailAccountDetails", "Only download newest X articles per feed", nullptr));
        m_btnTestSetup->setText(QCoreApplication::translate("GmailAccountDetails", "&Login", nullptr));
        m_cbDownloadOnlyUnreadMessages->setText(QCoreApplication::translate("GmailAccountDetails", "Download unread articles only", nullptr));
        (void)GmailAccountDetails;
    } // retranslateUi

};

namespace Ui {
    class GmailAccountDetails: public Ui_GmailAccountDetails {};
} // namespace Ui

QT_END_NAMESPACE

#endif // UI_GMAILACCOUNTDETAILS_H
