/********************************************************************************
** Form generated from reading UI file 'articleamountcontrol.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_ARTICLEAMOUNTCONTROL_H
#define UI_ARTICLEAMOUNTCONTROL_H

#include <QtCore/QDate>
#include <QtCore/QVariant>
#include <QtWidgets/QApplication>
#include <QtWidgets/QCheckBox>
#include <QtWidgets/QDateTimeEdit>
#include <QtWidgets/QFormLayout>
#include <QtWidgets/QGridLayout>
#include <QtWidgets/QGroupBox>
#include <QtWidgets/QHBoxLayout>
#include <QtWidgets/QLabel>
#include <QtWidgets/QRadioButton>
#include <QtWidgets/QSpacerItem>
#include <QtWidgets/QSpinBox>
#include <QtWidgets/QTabWidget>
#include <QtWidgets/QWidget>
#include "helpspoiler.h"
#include "multifeededitcheckbox.h"
#include "timespinbox.h"

QT_BEGIN_NAMESPACE

class Ui_ArticleAmountControl
{
public:
    QHBoxLayout *horizontalLayout;
    QTabWidget *tabWidget;
    QWidget *m_tabIgnore;
    QFormLayout *formLayout_2;
    QHBoxLayout *horizontalLayout_3;
    MultiFeedEditCheckBox *m_mcbAddAnyDateArticles;
    QCheckBox *m_cbAddAnyDateArticles;
    QHBoxLayout *horizontalLayout_2;
    MultiFeedEditCheckBox *m_mcbAvoidOldArticles;
    QWidget *m_wdgAvoidOldArticles;
    QHBoxLayout *horizontalLayout_8;
    QGroupBox *m_gbAvoidOldArticles;
    QGridLayout *gridLayout;
    QRadioButton *m_rbAvoidAbsolute;
    QRadioButton *m_rbAvoidRelative;
    QSpacerItem *horizontalSpacer;
    QDateTimeEdit *m_dtDateTimeToAvoid;
    QSpacerItem *horizontalSpacer_2;
    TimeSpinBox *m_spinHoursAvoid;
    HelpSpoiler *m_helpIgnoring;
    QWidget *m_tabLimit;
    QFormLayout *formLayout_3;
    QHBoxLayout *horizontalLayout_9;
    MultiFeedEditCheckBox *m_mcbArticleLimittingCustomize;
    QCheckBox *m_cbArticleLimittingCustomize;
    QHBoxLayout *horizontalLayout_4;
    MultiFeedEditCheckBox *m_mcbArticleLimittingSetup;
    QWidget *m_wdgArticleLimittingCustomize;
    QFormLayout *formLayout;
    QLabel *label;
    QSpinBox *m_spinArticleCount;
    QCheckBox *m_cbNoRemoveImportant;
    QCheckBox *m_cbNoRemoveUnread;
    QCheckBox *m_cbMoveToBinNoPurge;
    HelpSpoiler *m_helpLimit;

    void setupUi(QWidget *ArticleAmountControl)
    {
        if (ArticleAmountControl->objectName().isEmpty())
            ArticleAmountControl->setObjectName("ArticleAmountControl");
        ArticleAmountControl->resize(402, 300);
        horizontalLayout = new QHBoxLayout(ArticleAmountControl);
        horizontalLayout->setObjectName("horizontalLayout");
        horizontalLayout->setContentsMargins(0, 0, 0, 0);
        tabWidget = new QTabWidget(ArticleAmountControl);
        tabWidget->setObjectName("tabWidget");
        m_tabIgnore = new QWidget();
        m_tabIgnore->setObjectName("m_tabIgnore");
        formLayout_2 = new QFormLayout(m_tabIgnore);
        formLayout_2->setObjectName("formLayout_2");
        horizontalLayout_3 = new QHBoxLayout();
        horizontalLayout_3->setObjectName("horizontalLayout_3");
        m_mcbAddAnyDateArticles = new MultiFeedEditCheckBox(m_tabIgnore);
        m_mcbAddAnyDateArticles->setObjectName("m_mcbAddAnyDateArticles");

        horizontalLayout_3->addWidget(m_mcbAddAnyDateArticles);

        m_cbAddAnyDateArticles = new QCheckBox(m_tabIgnore);
        m_cbAddAnyDateArticles->setObjectName("m_cbAddAnyDateArticles");

        horizontalLayout_3->addWidget(m_cbAddAnyDateArticles);


        formLayout_2->setLayout(0, QFormLayout::ItemRole::SpanningRole, horizontalLayout_3);

        horizontalLayout_2 = new QHBoxLayout();
        horizontalLayout_2->setObjectName("horizontalLayout_2");
        m_mcbAvoidOldArticles = new MultiFeedEditCheckBox(m_tabIgnore);
        m_mcbAvoidOldArticles->setObjectName("m_mcbAvoidOldArticles");

        horizontalLayout_2->addWidget(m_mcbAvoidOldArticles);

        m_wdgAvoidOldArticles = new QWidget(m_tabIgnore);
        m_wdgAvoidOldArticles->setObjectName("m_wdgAvoidOldArticles");
        horizontalLayout_8 = new QHBoxLayout(m_wdgAvoidOldArticles);
        horizontalLayout_8->setObjectName("horizontalLayout_8");
        horizontalLayout_8->setContentsMargins(0, 0, 0, 0);
        m_gbAvoidOldArticles = new QGroupBox(m_wdgAvoidOldArticles);
        m_gbAvoidOldArticles->setObjectName("m_gbAvoidOldArticles");
        m_gbAvoidOldArticles->setCheckable(true);
        gridLayout = new QGridLayout(m_gbAvoidOldArticles);
        gridLayout->setObjectName("gridLayout");
        m_rbAvoidAbsolute = new QRadioButton(m_gbAvoidOldArticles);
        m_rbAvoidAbsolute->setObjectName("m_rbAvoidAbsolute");

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

        m_rbAvoidRelative = new QRadioButton(m_gbAvoidOldArticles);
        m_rbAvoidRelative->setObjectName("m_rbAvoidRelative");

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

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

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

        m_dtDateTimeToAvoid = new QDateTimeEdit(m_gbAvoidOldArticles);
        m_dtDateTimeToAvoid->setObjectName("m_dtDateTimeToAvoid");
        QSizePolicy sizePolicy(QSizePolicy::Policy::Minimum, QSizePolicy::Policy::Fixed);
        sizePolicy.setHorizontalStretch(1);
        sizePolicy.setVerticalStretch(0);
        sizePolicy.setHeightForWidth(m_dtDateTimeToAvoid->sizePolicy().hasHeightForWidth());
        m_dtDateTimeToAvoid->setSizePolicy(sizePolicy);
        m_dtDateTimeToAvoid->setMinimumDate(QDate(1971, 1, 1));
        m_dtDateTimeToAvoid->setCalendarPopup(true);

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

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

        gridLayout->addItem(horizontalSpacer_2, 2, 2, 1, 1);

        m_spinHoursAvoid = new TimeSpinBox(m_gbAvoidOldArticles);
        m_spinHoursAvoid->setObjectName("m_spinHoursAvoid");
        sizePolicy.setHeightForWidth(m_spinHoursAvoid->sizePolicy().hasHeightForWidth());
        m_spinHoursAvoid->setSizePolicy(sizePolicy);
        m_spinHoursAvoid->setMaximum(10000.000000000000000);

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


        horizontalLayout_8->addWidget(m_gbAvoidOldArticles);


        horizontalLayout_2->addWidget(m_wdgAvoidOldArticles);


        formLayout_2->setLayout(1, QFormLayout::ItemRole::SpanningRole, horizontalLayout_2);

        m_helpIgnoring = new HelpSpoiler(m_tabIgnore);
        m_helpIgnoring->setObjectName("m_helpIgnoring");

        formLayout_2->setWidget(2, QFormLayout::ItemRole::SpanningRole, m_helpIgnoring);

        tabWidget->addTab(m_tabIgnore, QString());
        m_tabLimit = new QWidget();
        m_tabLimit->setObjectName("m_tabLimit");
        formLayout_3 = new QFormLayout(m_tabLimit);
        formLayout_3->setObjectName("formLayout_3");
        horizontalLayout_9 = new QHBoxLayout();
        horizontalLayout_9->setObjectName("horizontalLayout_9");
        m_mcbArticleLimittingCustomize = new MultiFeedEditCheckBox(m_tabLimit);
        m_mcbArticleLimittingCustomize->setObjectName("m_mcbArticleLimittingCustomize");

        horizontalLayout_9->addWidget(m_mcbArticleLimittingCustomize);

        m_cbArticleLimittingCustomize = new QCheckBox(m_tabLimit);
        m_cbArticleLimittingCustomize->setObjectName("m_cbArticleLimittingCustomize");

        horizontalLayout_9->addWidget(m_cbArticleLimittingCustomize);


        formLayout_3->setLayout(0, QFormLayout::ItemRole::SpanningRole, horizontalLayout_9);

        horizontalLayout_4 = new QHBoxLayout();
        horizontalLayout_4->setObjectName("horizontalLayout_4");
        m_mcbArticleLimittingSetup = new MultiFeedEditCheckBox(m_tabLimit);
        m_mcbArticleLimittingSetup->setObjectName("m_mcbArticleLimittingSetup");

        horizontalLayout_4->addWidget(m_mcbArticleLimittingSetup);

        m_wdgArticleLimittingCustomize = new QWidget(m_tabLimit);
        m_wdgArticleLimittingCustomize->setObjectName("m_wdgArticleLimittingCustomize");
        formLayout = new QFormLayout(m_wdgArticleLimittingCustomize);
        formLayout->setObjectName("formLayout");
        formLayout->setContentsMargins(0, 0, 0, 0);
        label = new QLabel(m_wdgArticleLimittingCustomize);
        label->setObjectName("label");

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

        m_spinArticleCount = new QSpinBox(m_wdgArticleLimittingCustomize);
        m_spinArticleCount->setObjectName("m_spinArticleCount");
        m_spinArticleCount->setMaximum(100000);

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

        m_cbNoRemoveImportant = new QCheckBox(m_wdgArticleLimittingCustomize);
        m_cbNoRemoveImportant->setObjectName("m_cbNoRemoveImportant");

        formLayout->setWidget(1, QFormLayout::ItemRole::SpanningRole, m_cbNoRemoveImportant);

        m_cbNoRemoveUnread = new QCheckBox(m_wdgArticleLimittingCustomize);
        m_cbNoRemoveUnread->setObjectName("m_cbNoRemoveUnread");

        formLayout->setWidget(2, QFormLayout::ItemRole::SpanningRole, m_cbNoRemoveUnread);

        m_cbMoveToBinNoPurge = new QCheckBox(m_wdgArticleLimittingCustomize);
        m_cbMoveToBinNoPurge->setObjectName("m_cbMoveToBinNoPurge");

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


        horizontalLayout_4->addWidget(m_wdgArticleLimittingCustomize);


        formLayout_3->setLayout(1, QFormLayout::ItemRole::SpanningRole, horizontalLayout_4);

        m_helpLimit = new HelpSpoiler(m_tabLimit);
        m_helpLimit->setObjectName("m_helpLimit");

        formLayout_3->setWidget(2, QFormLayout::ItemRole::SpanningRole, m_helpLimit);

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

        horizontalLayout->addWidget(tabWidget);


        retranslateUi(ArticleAmountControl);
        QObject::connect(m_rbAvoidAbsolute, &QRadioButton::toggled, m_dtDateTimeToAvoid, &QDateTimeEdit::setEnabled);
        QObject::connect(m_rbAvoidRelative, SIGNAL(toggled(bool)), m_spinHoursAvoid, SLOT(setEnabled(bool)));

        tabWidget->setCurrentIndex(0);


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

    void retranslateUi(QWidget *ArticleAmountControl)
    {
        ArticleAmountControl->setWindowTitle(QCoreApplication::translate("ArticleAmountControl", "Form", nullptr));
        m_cbAddAnyDateArticles->setText(QCoreApplication::translate("ArticleAmountControl", "Add articles with any date into the database", nullptr));
        m_gbAvoidOldArticles->setTitle(QCoreApplication::translate("ArticleAmountControl", "Avoid adding articles before this date/time into the database", nullptr));
        m_rbAvoidAbsolute->setText(QCoreApplication::translate("ArticleAmountControl", "Absolute date/time", nullptr));
        m_rbAvoidRelative->setText(QCoreApplication::translate("ArticleAmountControl", "Relative time", nullptr));
        tabWidget->setTabText(tabWidget->indexOf(m_tabIgnore), QCoreApplication::translate("ArticleAmountControl", "Ignoring old articles", nullptr));
        m_cbArticleLimittingCustomize->setText(QCoreApplication::translate("ArticleAmountControl", "Customize article limits", nullptr));
        label->setText(QCoreApplication::translate("ArticleAmountControl", "In database, keep", nullptr));
        m_cbNoRemoveImportant->setText(QCoreApplication::translate("ArticleAmountControl", "Do not remove important articles", nullptr));
        m_cbNoRemoveUnread->setText(QCoreApplication::translate("ArticleAmountControl", "Do not remove unread articles", nullptr));
        m_cbMoveToBinNoPurge->setText(QCoreApplication::translate("ArticleAmountControl", "Just move articles to recycle bin, do not purge them", nullptr));
        tabWidget->setTabText(tabWidget->indexOf(m_tabLimit), QCoreApplication::translate("ArticleAmountControl", "Limiting amount of articles in feeds", nullptr));
    } // retranslateUi

};

namespace Ui {
    class ArticleAmountControl: public Ui_ArticleAmountControl {};
} // namespace Ui

QT_END_NAMESPACE

#endif // UI_ARTICLEAMOUNTCONTROL_H
