/********************************************************************************
** Form generated from reading UI file 'AlertSettingDialog.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_ALERTSETTINGDIALOG_H
#define UI_ALERTSETTINGDIALOG_H

#include <QtCore/QVariant>
#include <QtWidgets/QAbstractButton>
#include <QtWidgets/QApplication>
#include <QtWidgets/QDialog>
#include <QtWidgets/QDialogButtonBox>
#include <QtWidgets/QGroupBox>
#include <QtWidgets/QHBoxLayout>
#include <QtWidgets/QHeaderView>
#include <QtWidgets/QPushButton>
#include <QtWidgets/QSpacerItem>
#include <QtWidgets/QTableView>
#include <QtWidgets/QVBoxLayout>

QT_BEGIN_NAMESPACE

class Ui_AlertSettingDialog
{
public:
    QVBoxLayout *verticalLayout_3;
    QHBoxLayout *horizontalLayout;
    QGroupBox *groupBox;
    QVBoxLayout *verticalLayout_2;
    QTableView *rulesTableView;
    QVBoxLayout *verticalLayout;
    QSpacerItem *verticalSpacer_2;
    QPushButton *addRuleButton;
    QPushButton *editRuleButton;
    QPushButton *removeRuleButton;
    QSpacerItem *verticalSpacer;
    QDialogButtonBox *buttonBox;

    void setupUi(QDialog *AlertSettingDialog)
    {
        if (AlertSettingDialog->objectName().isEmpty())
            AlertSettingDialog->setObjectName("AlertSettingDialog");
        AlertSettingDialog->resize(560, 427);
        verticalLayout_3 = new QVBoxLayout(AlertSettingDialog);
        verticalLayout_3->setObjectName("verticalLayout_3");
        horizontalLayout = new QHBoxLayout();
        horizontalLayout->setObjectName("horizontalLayout");
        groupBox = new QGroupBox(AlertSettingDialog);
        groupBox->setObjectName("groupBox");
        verticalLayout_2 = new QVBoxLayout(groupBox);
        verticalLayout_2->setObjectName("verticalLayout_2");
        rulesTableView = new QTableView(groupBox);
        rulesTableView->setObjectName("rulesTableView");
        rulesTableView->setEditTriggers(QAbstractItemView::DoubleClicked);
        rulesTableView->setAlternatingRowColors(true);
        rulesTableView->setSelectionMode(QAbstractItemView::SingleSelection);
        rulesTableView->setSelectionBehavior(QAbstractItemView::SelectRows);
        rulesTableView->setVerticalScrollMode(QAbstractItemView::ScrollPerPixel);
        rulesTableView->setHorizontalScrollMode(QAbstractItemView::ScrollPerPixel);
        rulesTableView->setShowGrid(true);
        rulesTableView->horizontalHeader()->setMinimumSectionSize(50);
        rulesTableView->horizontalHeader()->setDefaultSectionSize(100);
        rulesTableView->horizontalHeader()->setStretchLastSection(true);
        rulesTableView->verticalHeader()->setVisible(false);
        rulesTableView->verticalHeader()->setMinimumSectionSize(20);
        rulesTableView->verticalHeader()->setDefaultSectionSize(20);
        rulesTableView->verticalHeader()->setStretchLastSection(false);

        verticalLayout_2->addWidget(rulesTableView);


        horizontalLayout->addWidget(groupBox);

        verticalLayout = new QVBoxLayout();
        verticalLayout->setObjectName("verticalLayout");
        verticalSpacer_2 = new QSpacerItem(20, 40, QSizePolicy::Policy::Minimum, QSizePolicy::Policy::Expanding);

        verticalLayout->addItem(verticalSpacer_2);

        addRuleButton = new QPushButton(AlertSettingDialog);
        addRuleButton->setObjectName("addRuleButton");

        verticalLayout->addWidget(addRuleButton);

        editRuleButton = new QPushButton(AlertSettingDialog);
        editRuleButton->setObjectName("editRuleButton");

        verticalLayout->addWidget(editRuleButton);

        removeRuleButton = new QPushButton(AlertSettingDialog);
        removeRuleButton->setObjectName("removeRuleButton");

        verticalLayout->addWidget(removeRuleButton);

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

        verticalLayout->addItem(verticalSpacer);


        horizontalLayout->addLayout(verticalLayout);


        verticalLayout_3->addLayout(horizontalLayout);

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

        verticalLayout_3->addWidget(buttonBox);


        retranslateUi(AlertSettingDialog);
        QObject::connect(buttonBox, &QDialogButtonBox::accepted, AlertSettingDialog, qOverload<>(&QDialog::accept));
        QObject::connect(buttonBox, &QDialogButtonBox::rejected, AlertSettingDialog, qOverload<>(&QDialog::reject));
        QObject::connect(removeRuleButton, SIGNAL(clicked()), AlertSettingDialog, SLOT(removeRule()));
        QObject::connect(editRuleButton, SIGNAL(clicked()), AlertSettingDialog, SLOT(editRuleButton()));
        QObject::connect(addRuleButton, SIGNAL(clicked()), AlertSettingDialog, SLOT(addRule()));
        QObject::connect(rulesTableView, SIGNAL(doubleClicked(QModelIndex)), AlertSettingDialog, SLOT(editRule(QModelIndex)));

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

    void retranslateUi(QDialog *AlertSettingDialog)
    {
        AlertSettingDialog->setWindowTitle(QCoreApplication::translate("AlertSettingDialog", "Alerts Rules", nullptr));
        groupBox->setTitle(QCoreApplication::translate("AlertSettingDialog", "Rules", nullptr));
        addRuleButton->setText(QCoreApplication::translate("AlertSettingDialog", "Add", nullptr));
        editRuleButton->setText(QCoreApplication::translate("AlertSettingDialog", "Edit", nullptr));
        removeRuleButton->setText(QCoreApplication::translate("AlertSettingDialog", "Remove", nullptr));
    } // retranslateUi

};

namespace Ui {
    class AlertSettingDialog: public Ui_AlertSettingDialog {};
} // namespace Ui

QT_END_NAMESPACE

#endif // UI_ALERTSETTINGDIALOG_H
