/********************************************************************************
** Form generated from reading UI file 'EditHotkeyDialog.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_EDITHOTKEYDIALOG_H
#define UI_EDITHOTKEYDIALOG_H

#include <QtCore/QVariant>
#include <QtWidgets/QAbstractButton>
#include <QtWidgets/QApplication>
#include <QtWidgets/QComboBox>
#include <QtWidgets/QDialog>
#include <QtWidgets/QDialogButtonBox>
#include <QtWidgets/QFormLayout>
#include <QtWidgets/QKeySequenceEdit>
#include <QtWidgets/QLabel>
#include <QtWidgets/QLineEdit>
#include <QtWidgets/QPlainTextEdit>
#include <QtWidgets/QVBoxLayout>

QT_BEGIN_NAMESPACE

class Ui_EditHotkeyDialog
{
public:
    QVBoxLayout *verticalLayout;
    QLabel *warningLabel;
    QFormLayout *formLayout;
    QLabel *nameLabel;
    QLineEdit *nameEdit;
    QLabel *categoryLabel;
    QComboBox *categoryPicker;
    QLabel *actionLabel;
    QComboBox *actionPicker;
    QLabel *keyComboLabel;
    QKeySequenceEdit *keyComboEdit;
    QLabel *easyArgsLabel;
    QLabel *argumentsLabel;
    QLabel *argumentsDescription;
    QPlainTextEdit *argumentsEdit;
    QComboBox *easyArgsPicker;
    QDialogButtonBox *buttons;

    void setupUi(QDialog *EditHotkeyDialog)
    {
        if (EditHotkeyDialog->objectName().isEmpty())
            EditHotkeyDialog->setObjectName("EditHotkeyDialog");
        EditHotkeyDialog->resize(400, 400);
        verticalLayout = new QVBoxLayout(EditHotkeyDialog);
        verticalLayout->setObjectName("verticalLayout");
        warningLabel = new QLabel(EditHotkeyDialog);
        warningLabel->setObjectName("warningLabel");
        warningLabel->setEnabled(true);
        QSizePolicy sizePolicy(QSizePolicy::Policy::Preferred, QSizePolicy::Policy::Maximum);
        sizePolicy.setHorizontalStretch(0);
        sizePolicy.setVerticalStretch(0);
        sizePolicy.setHeightForWidth(warningLabel->sizePolicy().hasHeightForWidth());
        warningLabel->setSizePolicy(sizePolicy);
        QFont font;
        font.setBold(true);
        font.setKerning(true);
        warningLabel->setFont(font);

        verticalLayout->addWidget(warningLabel);

        formLayout = new QFormLayout();
        formLayout->setObjectName("formLayout");
        nameLabel = new QLabel(EditHotkeyDialog);
        nameLabel->setObjectName("nameLabel");

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

        nameEdit = new QLineEdit(EditHotkeyDialog);
        nameEdit->setObjectName("nameEdit");
        nameEdit->setFrame(true);
        nameEdit->setReadOnly(false);

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

        categoryLabel = new QLabel(EditHotkeyDialog);
        categoryLabel->setObjectName("categoryLabel");

        formLayout->setWidget(1, QFormLayout::ItemRole::LabelRole, categoryLabel);

        categoryPicker = new QComboBox(EditHotkeyDialog);
        categoryPicker->setObjectName("categoryPicker");

        formLayout->setWidget(1, QFormLayout::ItemRole::FieldRole, categoryPicker);

        actionLabel = new QLabel(EditHotkeyDialog);
        actionLabel->setObjectName("actionLabel");

        formLayout->setWidget(2, QFormLayout::ItemRole::LabelRole, actionLabel);

        actionPicker = new QComboBox(EditHotkeyDialog);
        actionPicker->setObjectName("actionPicker");
        actionPicker->setEditable(false);

        formLayout->setWidget(2, QFormLayout::ItemRole::FieldRole, actionPicker);

        keyComboLabel = new QLabel(EditHotkeyDialog);
        keyComboLabel->setObjectName("keyComboLabel");

        formLayout->setWidget(3, QFormLayout::ItemRole::LabelRole, keyComboLabel);

        keyComboEdit = new QKeySequenceEdit(EditHotkeyDialog);
        keyComboEdit->setObjectName("keyComboEdit");

        formLayout->setWidget(3, QFormLayout::ItemRole::FieldRole, keyComboEdit);

        easyArgsLabel = new QLabel(EditHotkeyDialog);
        easyArgsLabel->setObjectName("easyArgsLabel");

        formLayout->setWidget(4, QFormLayout::ItemRole::LabelRole, easyArgsLabel);

        argumentsLabel = new QLabel(EditHotkeyDialog);
        argumentsLabel->setObjectName("argumentsLabel");

        formLayout->setWidget(5, QFormLayout::ItemRole::LabelRole, argumentsLabel);

        argumentsDescription = new QLabel(EditHotkeyDialog);
        argumentsDescription->setObjectName("argumentsDescription");

        formLayout->setWidget(5, QFormLayout::ItemRole::FieldRole, argumentsDescription);

        argumentsEdit = new QPlainTextEdit(EditHotkeyDialog);
        argumentsEdit->setObjectName("argumentsEdit");

        formLayout->setWidget(6, QFormLayout::ItemRole::FieldRole, argumentsEdit);

        easyArgsPicker = new QComboBox(EditHotkeyDialog);
        easyArgsPicker->setObjectName("easyArgsPicker");
        QSizePolicy sizePolicy1(QSizePolicy::Policy::Minimum, QSizePolicy::Policy::Fixed);
        sizePolicy1.setHorizontalStretch(0);
        sizePolicy1.setVerticalStretch(0);
        sizePolicy1.setHeightForWidth(easyArgsPicker->sizePolicy().hasHeightForWidth());
        easyArgsPicker->setSizePolicy(sizePolicy1);

        formLayout->setWidget(4, QFormLayout::ItemRole::FieldRole, easyArgsPicker);


        verticalLayout->addLayout(formLayout);

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

        verticalLayout->addWidget(buttons);

#if QT_CONFIG(shortcut)
        nameLabel->setBuddy(nameEdit);
        categoryLabel->setBuddy(categoryPicker);
        actionLabel->setBuddy(actionPicker);
        keyComboLabel->setBuddy(keyComboEdit);
        argumentsLabel->setBuddy(argumentsEdit);
#endif // QT_CONFIG(shortcut)
        QWidget::setTabOrder(nameEdit, categoryPicker);
        QWidget::setTabOrder(categoryPicker, actionPicker);
        QWidget::setTabOrder(actionPicker, keyComboEdit);
        QWidget::setTabOrder(keyComboEdit, argumentsEdit);

        retranslateUi(EditHotkeyDialog);
        QObject::connect(buttons, SIGNAL(accepted()), EditHotkeyDialog, SLOT(afterEdit()));
        QObject::connect(buttons, &QDialogButtonBox::rejected, EditHotkeyDialog, qOverload<>(&QDialog::reject));
        QObject::connect(categoryPicker, SIGNAL(currentIndexChanged(int)), EditHotkeyDialog, SLOT(updatePossibleActions()));
        QObject::connect(actionPicker, SIGNAL(currentIndexChanged(int)), EditHotkeyDialog, SLOT(updateArgumentsInput()));

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

    void retranslateUi(QDialog *EditHotkeyDialog)
    {
        EditHotkeyDialog->setWindowTitle(QCoreApplication::translate("EditHotkeyDialog", "Edit Hotkey", nullptr));
        warningLabel->setText(QCoreApplication::translate("EditHotkeyDialog", "Something went wrong, you should never\n"
"see this message :)", nullptr));
#if QT_CONFIG(tooltip)
        nameLabel->setToolTip(QCoreApplication::translate("EditHotkeyDialog", "Set a name for the hotkey so you will be able to identify it later", nullptr));
#endif // QT_CONFIG(tooltip)
        nameLabel->setText(QCoreApplication::translate("EditHotkeyDialog", "Name:", nullptr));
        nameEdit->setText(QString());
        nameEdit->setPlaceholderText(QCoreApplication::translate("EditHotkeyDialog", "A description of what the hotkey does.", nullptr));
        categoryLabel->setText(QCoreApplication::translate("EditHotkeyDialog", "Category:", nullptr));
        actionLabel->setText(QCoreApplication::translate("EditHotkeyDialog", "Action:", nullptr));
#if QT_CONFIG(tooltip)
        keyComboLabel->setToolTip(QCoreApplication::translate("EditHotkeyDialog", "Pressing this keybinding will invoke the hotkey", nullptr));
#endif // QT_CONFIG(tooltip)
        keyComboLabel->setText(QCoreApplication::translate("EditHotkeyDialog", "Keybinding:", nullptr));
#if QT_CONFIG(tooltip)
        easyArgsLabel->setToolTip(QCoreApplication::translate("EditHotkeyDialog", "You are not supposed to see this, please report this!", nullptr));
#endif // QT_CONFIG(tooltip)
        easyArgsLabel->setText(QCoreApplication::translate("EditHotkeyDialog", "Argument:", nullptr));
        argumentsLabel->setText(QCoreApplication::translate("EditHotkeyDialog", "Arguments:", nullptr));
        argumentsDescription->setText(QCoreApplication::translate("EditHotkeyDialog", "You should never see this message :)", nullptr));
        argumentsEdit->setPlainText(QString());
        argumentsEdit->setPlaceholderText(QCoreApplication::translate("EditHotkeyDialog", "Newline separated arguments for the action", nullptr));
        easyArgsPicker->setCurrentText(QString());
    } // retranslateUi

};

namespace Ui {
    class EditHotkeyDialog: public Ui_EditHotkeyDialog {};
} // namespace Ui

QT_END_NAMESPACE

#endif // UI_EDITHOTKEYDIALOG_H
