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

#ifndef UI_FORMARTICLEFILTERGENERATOR_H
#define UI_FORMARTICLEFILTERGENERATOR_H

#include <QtCore/QVariant>
#include <QtWidgets/QAbstractButton>
#include <QtWidgets/QApplication>
#include <QtWidgets/QComboBox>
#include <QtWidgets/QDialog>
#include <QtWidgets/QDialogButtonBox>
#include <QtWidgets/QGroupBox>
#include <QtWidgets/QHBoxLayout>
#include <QtWidgets/QLabel>
#include <QtWidgets/QPlainTextEdit>
#include <QtWidgets/QPushButton>
#include <QtWidgets/QScrollArea>
#include <QtWidgets/QSpacerItem>
#include <QtWidgets/QTabWidget>
#include <QtWidgets/QVBoxLayout>
#include <QtWidgets/QWidget>
#include "gui/reusable/helpspoiler.h"
#include "gui/reusable/labelwithstatus.h"

QT_BEGIN_NAMESPACE

class Ui_FormArticleFilterGenerator
{
public:
    QVBoxLayout *m_mainLayout;
    HelpSpoiler *m_helpDescription;
    QHBoxLayout *m_matchLayout;
    QLabel *m_lblMatch;
    QComboBox *m_cmbMatchMode;
    QSpacerItem *m_matchSpacer;
    QGroupBox *m_gbConditions;
    QVBoxLayout *m_conditionsGroupLayout;
    QScrollArea *m_scrollConditions;
    QWidget *m_conditionsContainer;
    QVBoxLayout *m_conditionsLayout;
    QSpacerItem *m_conditionsSpacer;
    QPushButton *m_btnAddCondition;
    QTabWidget *m_twOutcomes;
    QWidget *m_tabMatching;
    QVBoxLayout *m_matchingOutcomeLayout;
    QGroupBox *m_gbMatchingActions;
    QVBoxLayout *m_matchingActionsGroupLayout;
    QScrollArea *m_scrollActions;
    QWidget *m_actionsContainer;
    QVBoxLayout *m_actionsLayout;
    QSpacerItem *m_actionsSpacer;
    QPushButton *m_btnAddMatchingAction;
    QHBoxLayout *m_matchingDecisionLayout;
    QLabel *m_lblDecision;
    QComboBox *m_cmbDecision;
    QSpacerItem *m_matchingDecisionSpacer;
    QWidget *m_tabFallback;
    QVBoxLayout *m_fallbackOutcomeLayout;
    QGroupBox *m_gbFallbackActions;
    QVBoxLayout *m_fallbackActionsGroupLayout;
    QScrollArea *m_scrollFallbackActions;
    QWidget *m_fallbackActionsContainer;
    QVBoxLayout *m_fallbackActionsLayout;
    QSpacerItem *m_fallbackActionsSpacer;
    QPushButton *m_btnAddFallbackAction;
    QHBoxLayout *m_fallbackDecisionLayout;
    QLabel *m_lblFallbackDecision;
    QComboBox *m_cmbFallbackDecision;
    QSpacerItem *m_fallbackDecisionSpacer;
    QGroupBox *m_gbPreview;
    QVBoxLayout *m_previewLayout;
    QPlainTextEdit *m_txtPreview;
    LabelWithStatus *m_lblError;
    QDialogButtonBox *m_buttonBox;

    void setupUi(QDialog *FormArticleFilterGenerator)
    {
        if (FormArticleFilterGenerator->objectName().isEmpty())
            FormArticleFilterGenerator->setObjectName("FormArticleFilterGenerator");
        FormArticleFilterGenerator->resize(900, 760);
        m_mainLayout = new QVBoxLayout(FormArticleFilterGenerator);
        m_mainLayout->setObjectName("m_mainLayout");
        m_helpDescription = new HelpSpoiler(FormArticleFilterGenerator);
        m_helpDescription->setObjectName("m_helpDescription");

        m_mainLayout->addWidget(m_helpDescription);

        m_matchLayout = new QHBoxLayout();
        m_matchLayout->setObjectName("m_matchLayout");
        m_lblMatch = new QLabel(FormArticleFilterGenerator);
        m_lblMatch->setObjectName("m_lblMatch");

        m_matchLayout->addWidget(m_lblMatch);

        m_cmbMatchMode = new QComboBox(FormArticleFilterGenerator);
        m_cmbMatchMode->addItem(QString());
        m_cmbMatchMode->addItem(QString());
        m_cmbMatchMode->setObjectName("m_cmbMatchMode");

        m_matchLayout->addWidget(m_cmbMatchMode);

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

        m_matchLayout->addItem(m_matchSpacer);


        m_mainLayout->addLayout(m_matchLayout);

        m_gbConditions = new QGroupBox(FormArticleFilterGenerator);
        m_gbConditions->setObjectName("m_gbConditions");
        m_conditionsGroupLayout = new QVBoxLayout(m_gbConditions);
        m_conditionsGroupLayout->setObjectName("m_conditionsGroupLayout");
        m_scrollConditions = new QScrollArea(m_gbConditions);
        m_scrollConditions->setObjectName("m_scrollConditions");
        m_scrollConditions->setWidgetResizable(true);
        m_conditionsContainer = new QWidget();
        m_conditionsContainer->setObjectName("m_conditionsContainer");
        m_conditionsLayout = new QVBoxLayout(m_conditionsContainer);
        m_conditionsLayout->setObjectName("m_conditionsLayout");
        m_conditionsLayout->setContentsMargins(0, 0, 0, 0);
        m_conditionsSpacer = new QSpacerItem(20, 40, QSizePolicy::Policy::Minimum, QSizePolicy::Policy::Expanding);

        m_conditionsLayout->addItem(m_conditionsSpacer);

        m_scrollConditions->setWidget(m_conditionsContainer);

        m_conditionsGroupLayout->addWidget(m_scrollConditions);

        m_btnAddCondition = new QPushButton(m_gbConditions);
        m_btnAddCondition->setObjectName("m_btnAddCondition");

        m_conditionsGroupLayout->addWidget(m_btnAddCondition);


        m_mainLayout->addWidget(m_gbConditions);

        m_twOutcomes = new QTabWidget(FormArticleFilterGenerator);
        m_twOutcomes->setObjectName("m_twOutcomes");
        m_tabMatching = new QWidget();
        m_tabMatching->setObjectName("m_tabMatching");
        m_matchingOutcomeLayout = new QVBoxLayout(m_tabMatching);
        m_matchingOutcomeLayout->setObjectName("m_matchingOutcomeLayout");
        m_gbMatchingActions = new QGroupBox(m_tabMatching);
        m_gbMatchingActions->setObjectName("m_gbMatchingActions");
        m_matchingActionsGroupLayout = new QVBoxLayout(m_gbMatchingActions);
        m_matchingActionsGroupLayout->setObjectName("m_matchingActionsGroupLayout");
        m_scrollActions = new QScrollArea(m_gbMatchingActions);
        m_scrollActions->setObjectName("m_scrollActions");
        m_scrollActions->setWidgetResizable(true);
        m_actionsContainer = new QWidget();
        m_actionsContainer->setObjectName("m_actionsContainer");
        m_actionsLayout = new QVBoxLayout(m_actionsContainer);
        m_actionsLayout->setObjectName("m_actionsLayout");
        m_actionsLayout->setContentsMargins(0, 0, 0, 0);
        m_actionsSpacer = new QSpacerItem(20, 40, QSizePolicy::Policy::Minimum, QSizePolicy::Policy::Expanding);

        m_actionsLayout->addItem(m_actionsSpacer);

        m_scrollActions->setWidget(m_actionsContainer);

        m_matchingActionsGroupLayout->addWidget(m_scrollActions);

        m_btnAddMatchingAction = new QPushButton(m_gbMatchingActions);
        m_btnAddMatchingAction->setObjectName("m_btnAddMatchingAction");

        m_matchingActionsGroupLayout->addWidget(m_btnAddMatchingAction);


        m_matchingOutcomeLayout->addWidget(m_gbMatchingActions);

        m_matchingDecisionLayout = new QHBoxLayout();
        m_matchingDecisionLayout->setObjectName("m_matchingDecisionLayout");
        m_lblDecision = new QLabel(m_tabMatching);
        m_lblDecision->setObjectName("m_lblDecision");

        m_matchingDecisionLayout->addWidget(m_lblDecision);

        m_cmbDecision = new QComboBox(m_tabMatching);
        m_cmbDecision->addItem(QString());
        m_cmbDecision->addItem(QString());
        m_cmbDecision->addItem(QString());
        m_cmbDecision->setObjectName("m_cmbDecision");

        m_matchingDecisionLayout->addWidget(m_cmbDecision);

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

        m_matchingDecisionLayout->addItem(m_matchingDecisionSpacer);


        m_matchingOutcomeLayout->addLayout(m_matchingDecisionLayout);

        m_twOutcomes->addTab(m_tabMatching, QString());
        m_tabFallback = new QWidget();
        m_tabFallback->setObjectName("m_tabFallback");
        m_fallbackOutcomeLayout = new QVBoxLayout(m_tabFallback);
        m_fallbackOutcomeLayout->setObjectName("m_fallbackOutcomeLayout");
        m_gbFallbackActions = new QGroupBox(m_tabFallback);
        m_gbFallbackActions->setObjectName("m_gbFallbackActions");
        m_fallbackActionsGroupLayout = new QVBoxLayout(m_gbFallbackActions);
        m_fallbackActionsGroupLayout->setObjectName("m_fallbackActionsGroupLayout");
        m_scrollFallbackActions = new QScrollArea(m_gbFallbackActions);
        m_scrollFallbackActions->setObjectName("m_scrollFallbackActions");
        m_scrollFallbackActions->setWidgetResizable(true);
        m_fallbackActionsContainer = new QWidget();
        m_fallbackActionsContainer->setObjectName("m_fallbackActionsContainer");
        m_fallbackActionsLayout = new QVBoxLayout(m_fallbackActionsContainer);
        m_fallbackActionsLayout->setObjectName("m_fallbackActionsLayout");
        m_fallbackActionsLayout->setContentsMargins(0, 0, 0, 0);
        m_fallbackActionsSpacer = new QSpacerItem(20, 40, QSizePolicy::Policy::Minimum, QSizePolicy::Policy::Expanding);

        m_fallbackActionsLayout->addItem(m_fallbackActionsSpacer);

        m_scrollFallbackActions->setWidget(m_fallbackActionsContainer);

        m_fallbackActionsGroupLayout->addWidget(m_scrollFallbackActions);

        m_btnAddFallbackAction = new QPushButton(m_gbFallbackActions);
        m_btnAddFallbackAction->setObjectName("m_btnAddFallbackAction");

        m_fallbackActionsGroupLayout->addWidget(m_btnAddFallbackAction);


        m_fallbackOutcomeLayout->addWidget(m_gbFallbackActions);

        m_fallbackDecisionLayout = new QHBoxLayout();
        m_fallbackDecisionLayout->setObjectName("m_fallbackDecisionLayout");
        m_lblFallbackDecision = new QLabel(m_tabFallback);
        m_lblFallbackDecision->setObjectName("m_lblFallbackDecision");

        m_fallbackDecisionLayout->addWidget(m_lblFallbackDecision);

        m_cmbFallbackDecision = new QComboBox(m_tabFallback);
        m_cmbFallbackDecision->addItem(QString());
        m_cmbFallbackDecision->addItem(QString());
        m_cmbFallbackDecision->addItem(QString());
        m_cmbFallbackDecision->setObjectName("m_cmbFallbackDecision");

        m_fallbackDecisionLayout->addWidget(m_cmbFallbackDecision);

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

        m_fallbackDecisionLayout->addItem(m_fallbackDecisionSpacer);


        m_fallbackOutcomeLayout->addLayout(m_fallbackDecisionLayout);

        m_twOutcomes->addTab(m_tabFallback, QString());

        m_mainLayout->addWidget(m_twOutcomes);

        m_gbPreview = new QGroupBox(FormArticleFilterGenerator);
        m_gbPreview->setObjectName("m_gbPreview");
        m_previewLayout = new QVBoxLayout(m_gbPreview);
        m_previewLayout->setObjectName("m_previewLayout");
        m_txtPreview = new QPlainTextEdit(m_gbPreview);
        m_txtPreview->setObjectName("m_txtPreview");
        m_txtPreview->setReadOnly(true);

        m_previewLayout->addWidget(m_txtPreview);

        m_lblError = new LabelWithStatus(m_gbPreview);
        m_lblError->setObjectName("m_lblError");

        m_previewLayout->addWidget(m_lblError);


        m_mainLayout->addWidget(m_gbPreview);

        m_buttonBox = new QDialogButtonBox(FormArticleFilterGenerator);
        m_buttonBox->setObjectName("m_buttonBox");
        m_buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Ok);

        m_mainLayout->addWidget(m_buttonBox);


        retranslateUi(FormArticleFilterGenerator);

        m_twOutcomes->setCurrentIndex(0);


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

    void retranslateUi(QDialog *FormArticleFilterGenerator)
    {
        FormArticleFilterGenerator->setWindowTitle(QCoreApplication::translate("FormArticleFilterGenerator", "Article filter generator", nullptr));
        m_lblMatch->setText(QCoreApplication::translate("FormArticleFilterGenerator", "Match", nullptr));
        m_cmbMatchMode->setItemText(0, QCoreApplication::translate("FormArticleFilterGenerator", "all conditions", nullptr));
        m_cmbMatchMode->setItemText(1, QCoreApplication::translate("FormArticleFilterGenerator", "at least one condition", nullptr));

        m_gbConditions->setTitle(QCoreApplication::translate("FormArticleFilterGenerator", "Conditions", nullptr));
        m_btnAddCondition->setText(QCoreApplication::translate("FormArticleFilterGenerator", "Add condition", nullptr));
        m_gbMatchingActions->setTitle(QCoreApplication::translate("FormArticleFilterGenerator", "Actions", nullptr));
        m_btnAddMatchingAction->setText(QCoreApplication::translate("FormArticleFilterGenerator", "Add action", nullptr));
        m_lblDecision->setText(QCoreApplication::translate("FormArticleFilterGenerator", "Result", nullptr));
        m_cmbDecision->setItemText(0, QCoreApplication::translate("FormArticleFilterGenerator", "Accept - keep article", nullptr));
        m_cmbDecision->setItemText(1, QCoreApplication::translate("FormArticleFilterGenerator", "Ignore - do not import or update article", nullptr));
        m_cmbDecision->setItemText(2, QCoreApplication::translate("FormArticleFilterGenerator", "Purge - delete stored or discard new article", nullptr));

        m_twOutcomes->setTabText(m_twOutcomes->indexOf(m_tabMatching), QCoreApplication::translate("FormArticleFilterGenerator", "When conditions match", nullptr));
        m_gbFallbackActions->setTitle(QCoreApplication::translate("FormArticleFilterGenerator", "Actions", nullptr));
        m_btnAddFallbackAction->setText(QCoreApplication::translate("FormArticleFilterGenerator", "Add action", nullptr));
        m_lblFallbackDecision->setText(QCoreApplication::translate("FormArticleFilterGenerator", "Result", nullptr));
        m_cmbFallbackDecision->setItemText(0, QCoreApplication::translate("FormArticleFilterGenerator", "Accept - keep article", nullptr));
        m_cmbFallbackDecision->setItemText(1, QCoreApplication::translate("FormArticleFilterGenerator", "Ignore - do not import or update article", nullptr));
        m_cmbFallbackDecision->setItemText(2, QCoreApplication::translate("FormArticleFilterGenerator", "Purge - delete stored or discard new article", nullptr));

#if QT_CONFIG(tooltip)
        m_cmbFallbackDecision->setToolTip(QCoreApplication::translate("FormArticleFilterGenerator", "Result used when the article does not match the conditions", nullptr));
#endif // QT_CONFIG(tooltip)
        m_twOutcomes->setTabText(m_twOutcomes->indexOf(m_tabFallback), QCoreApplication::translate("FormArticleFilterGenerator", "When conditions do not match", nullptr));
        m_gbPreview->setTitle(QCoreApplication::translate("FormArticleFilterGenerator", "Generated script", nullptr));
    } // retranslateUi

};

namespace Ui {
    class FormArticleFilterGenerator: public Ui_FormArticleFilterGenerator {};
} // namespace Ui

QT_END_NAMESPACE

#endif // UI_FORMARTICLEFILTERGENERATOR_H
