/********************************************************************************
** Form generated from reading UI file 'KSTHighlighterSettingDialog.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_KSTHIGHLIGHTERSETTINGDIALOG_H
#define UI_KSTHIGHLIGHTERSETTINGDIALOG_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_KSTHighlighterSettingDialog
{
public:
    QVBoxLayout *verticalLayout_2;
    QHBoxLayout *horizontalLayout;
    QGroupBox *groupBox;
    QVBoxLayout *verticalLayout_3;
    QTableView *rulesView;
    QVBoxLayout *verticalLayout;
    QSpacerItem *verticalSpacer_2;
    QPushButton *addRuleButton;
    QPushButton *editRuleButton;
    QPushButton *removeRuleButton;
    QSpacerItem *verticalSpacer;
    QDialogButtonBox *buttonBox;

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

        verticalLayout_3->addWidget(rulesView);


        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(KSTHighlighterSettingDialog);
        addRuleButton->setObjectName("addRuleButton");

        verticalLayout->addWidget(addRuleButton);

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

        verticalLayout->addWidget(editRuleButton);

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

        verticalLayout->addWidget(removeRuleButton);

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

        verticalLayout->addItem(verticalSpacer);


        horizontalLayout->addLayout(verticalLayout);


        verticalLayout_2->addLayout(horizontalLayout);

        buttonBox = new QDialogButtonBox(KSTHighlighterSettingDialog);
        buttonBox->setObjectName("buttonBox");
        buttonBox->setStandardButtons(QDialogButtonBox::Ok);

        verticalLayout_2->addWidget(buttonBox);


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

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

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

};

namespace Ui {
    class KSTHighlighterSettingDialog: public Ui_KSTHighlighterSettingDialog {};
} // namespace Ui

QT_END_NAMESPACE

#endif // UI_KSTHIGHLIGHTERSETTINGDIALOG_H
