/********************************************************************************
** Form generated from reading UI file 'KSTHighlightRuleDetail.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_KSTHIGHLIGHTRULEDETAIL_H
#define UI_KSTHIGHLIGHTRULEDETAIL_H

#include <QtCore/QVariant>
#include <QtWidgets/QAbstractButton>
#include <QtWidgets/QApplication>
#include <QtWidgets/QCheckBox>
#include <QtWidgets/QComboBox>
#include <QtWidgets/QDialog>
#include <QtWidgets/QDialogButtonBox>
#include <QtWidgets/QFormLayout>
#include <QtWidgets/QHBoxLayout>
#include <QtWidgets/QLabel>
#include <QtWidgets/QLineEdit>
#include <QtWidgets/QPushButton>
#include <QtWidgets/QSpacerItem>
#include <QtWidgets/QVBoxLayout>

QT_BEGIN_NAMESPACE

class Ui_KSTHighlightRuleDetail
{
public:
    QVBoxLayout *verticalLayout;
    QHBoxLayout *horizontalLayout_5;
    QFormLayout *titleLayout_3;
    QLabel *ruleNameLabel;
    QLineEdit *ruleLineEdit;
    QLabel *roomLabel;
    QComboBox *roomCombo;
    QLabel *enabledLabel;
    QCheckBox *enabledCheckbox;
    QLabel *matchLabel;
    QComboBox *matchCombo;
    QSpacerItem *verticalSpacer_2;
    QVBoxLayout *conditionsLayout;
    QHBoxLayout *horizontalLayout_6;
    QPushButton *addConditionButton;
    QSpacerItem *horizontalSpacer_6;
    QSpacerItem *verticalSpacer;
    QDialogButtonBox *buttonBox;

    void setupUi(QDialog *KSTHighlightRuleDetail)
    {
        if (KSTHighlightRuleDetail->objectName().isEmpty())
            KSTHighlightRuleDetail->setObjectName("KSTHighlightRuleDetail");
        KSTHighlightRuleDetail->resize(563, 265);
        verticalLayout = new QVBoxLayout(KSTHighlightRuleDetail);
        verticalLayout->setObjectName("verticalLayout");
        horizontalLayout_5 = new QHBoxLayout();
        horizontalLayout_5->setObjectName("horizontalLayout_5");
        titleLayout_3 = new QFormLayout();
        titleLayout_3->setObjectName("titleLayout_3");
        ruleNameLabel = new QLabel(KSTHighlightRuleDetail);
        ruleNameLabel->setObjectName("ruleNameLabel");

        titleLayout_3->setWidget(0, QFormLayout::ItemRole::LabelRole, ruleNameLabel);

        ruleLineEdit = new QLineEdit(KSTHighlightRuleDetail);
        ruleLineEdit->setObjectName("ruleLineEdit");

        titleLayout_3->setWidget(0, QFormLayout::ItemRole::FieldRole, ruleLineEdit);

        roomLabel = new QLabel(KSTHighlightRuleDetail);
        roomLabel->setObjectName("roomLabel");

        titleLayout_3->setWidget(1, QFormLayout::ItemRole::LabelRole, roomLabel);

        roomCombo = new QComboBox(KSTHighlightRuleDetail);
        roomCombo->setObjectName("roomCombo");

        titleLayout_3->setWidget(1, QFormLayout::ItemRole::FieldRole, roomCombo);

        enabledLabel = new QLabel(KSTHighlightRuleDetail);
        enabledLabel->setObjectName("enabledLabel");

        titleLayout_3->setWidget(2, QFormLayout::ItemRole::LabelRole, enabledLabel);

        enabledCheckbox = new QCheckBox(KSTHighlightRuleDetail);
        enabledCheckbox->setObjectName("enabledCheckbox");
        enabledCheckbox->setLayoutDirection(Qt::LeftToRight);

        titleLayout_3->setWidget(2, QFormLayout::ItemRole::FieldRole, enabledCheckbox);

        matchLabel = new QLabel(KSTHighlightRuleDetail);
        matchLabel->setObjectName("matchLabel");

        titleLayout_3->setWidget(3, QFormLayout::ItemRole::LabelRole, matchLabel);

        matchCombo = new QComboBox(KSTHighlightRuleDetail);
        matchCombo->addItem(QString());
        matchCombo->addItem(QString());
        matchCombo->setObjectName("matchCombo");
        QSizePolicy sizePolicy(QSizePolicy::Policy::Preferred, QSizePolicy::Policy::Fixed);
        sizePolicy.setHorizontalStretch(0);
        sizePolicy.setVerticalStretch(0);
        sizePolicy.setHeightForWidth(matchCombo->sizePolicy().hasHeightForWidth());
        matchCombo->setSizePolicy(sizePolicy);

        titleLayout_3->setWidget(3, QFormLayout::ItemRole::FieldRole, matchCombo);


        horizontalLayout_5->addLayout(titleLayout_3);


        verticalLayout->addLayout(horizontalLayout_5);

        verticalSpacer_2 = new QSpacerItem(10, 20, QSizePolicy::Policy::Minimum, QSizePolicy::Policy::Preferred);

        verticalLayout->addItem(verticalSpacer_2);

        conditionsLayout = new QVBoxLayout();
        conditionsLayout->setObjectName("conditionsLayout");

        verticalLayout->addLayout(conditionsLayout);

        horizontalLayout_6 = new QHBoxLayout();
        horizontalLayout_6->setObjectName("horizontalLayout_6");
        addConditionButton = new QPushButton(KSTHighlightRuleDetail);
        addConditionButton->setObjectName("addConditionButton");
        sizePolicy.setHeightForWidth(addConditionButton->sizePolicy().hasHeightForWidth());
        addConditionButton->setSizePolicy(sizePolicy);

        horizontalLayout_6->addWidget(addConditionButton);

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

        horizontalLayout_6->addItem(horizontalSpacer_6);


        verticalLayout->addLayout(horizontalLayout_6);

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

        verticalLayout->addItem(verticalSpacer);

        buttonBox = new QDialogButtonBox(KSTHighlightRuleDetail);
        buttonBox->setObjectName("buttonBox");
        buttonBox->setOrientation(Qt::Horizontal);
        buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Ok);

        verticalLayout->addWidget(buttonBox);


        retranslateUi(KSTHighlightRuleDetail);
        QObject::connect(buttonBox, SIGNAL(accepted()), KSTHighlightRuleDetail, SLOT(save()));
        QObject::connect(buttonBox, &QDialogButtonBox::rejected, KSTHighlightRuleDetail, qOverload<>(&QDialog::reject));
        QObject::connect(ruleLineEdit, SIGNAL(textChanged(QString)), KSTHighlightRuleDetail, SLOT(ruleNameChanged(QString)));
        QObject::connect(addConditionButton, SIGNAL(clicked()), KSTHighlightRuleDetail, SLOT(addCondition()));

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

    void retranslateUi(QDialog *KSTHighlightRuleDetail)
    {
        KSTHighlightRuleDetail->setWindowTitle(QCoreApplication::translate("KSTHighlightRuleDetail", "Edit Rule", nullptr));
        ruleNameLabel->setText(QCoreApplication::translate("KSTHighlightRuleDetail", "Rule Name", nullptr));
        ruleLineEdit->setText(QString());
        roomLabel->setText(QCoreApplication::translate("KSTHighlightRuleDetail", "Chat Room", nullptr));
        enabledLabel->setText(QCoreApplication::translate("KSTHighlightRuleDetail", "Enabled", nullptr));
        enabledCheckbox->setText(QString());
        matchLabel->setText(QCoreApplication::translate("KSTHighlightRuleDetail", "Highlight message which match", nullptr));
        matchCombo->setItemText(0, QCoreApplication::translate("KSTHighlightRuleDetail", "All the following conditions", nullptr));
        matchCombo->setItemText(1, QCoreApplication::translate("KSTHighlightRuleDetail", "Any of the following conditions", nullptr));

        addConditionButton->setText(QCoreApplication::translate("KSTHighlightRuleDetail", "Add Condition", nullptr));
    } // retranslateUi

};

namespace Ui {
    class KSTHighlightRuleDetail: public Ui_KSTHighlightRuleDetail {};
} // namespace Ui

QT_END_NAMESPACE

#endif // UI_KSTHIGHLIGHTRULEDETAIL_H
