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

#ifndef UI_USERCOMMANDEDITDIALOG_H
#define UI_USERCOMMANDEDITDIALOG_H

#include <QtCore/QVariant>
#include <QtWidgets/QApplication>
#include <QtWidgets/QComboBox>
#include <QtWidgets/QDialog>
#include <QtWidgets/QDialogButtonBox>
#include <QtWidgets/QFormLayout>
#include <QtWidgets/QHBoxLayout>
#include <QtWidgets/QLabel>
#include <QtWidgets/QPushButton>
#include <QtWidgets/QSpacerItem>
#include <QtWidgets/QTextEdit>
#include <QtWidgets/QVBoxLayout>
#include "../common/utils/lineedit.h"

QT_BEGIN_NAMESPACE

class Ui_UserCommandEditDialog
{
public:
    QVBoxLayout *verticalLayout_2;
    QFormLayout *formLayout;
    QLabel *labelItem;
    QHBoxLayout *horizontalLayout_2;
    QComboBox *comboBoxItem;
    QPushButton *pushButtonAdd;
    QPushButton *pushButtonRemove;
    QLabel *labelName;
    LineEdit *lineEditName;
    QVBoxLayout *verticalLayout;
    QLabel *labelContent;
    QSpacerItem *verticalSpacer;
    QPushButton *pushButtonInsertPlaceHolder;
    QTextEdit *textEditContent;
    QDialogButtonBox *buttonBox;

    void setupUi(QDialog *UserCommandEditDialog)
    {
        if (UserCommandEditDialog->objectName().isEmpty())
            UserCommandEditDialog->setObjectName(QString::fromUtf8("UserCommandEditDialog"));
        UserCommandEditDialog->resize(480, 300);
        verticalLayout_2 = new QVBoxLayout(UserCommandEditDialog);
        verticalLayout_2->setObjectName(QString::fromUtf8("verticalLayout_2"));
        formLayout = new QFormLayout();
        formLayout->setObjectName(QString::fromUtf8("formLayout"));
        labelItem = new QLabel(UserCommandEditDialog);
        labelItem->setObjectName(QString::fromUtf8("labelItem"));

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

        horizontalLayout_2 = new QHBoxLayout();
        horizontalLayout_2->setObjectName(QString::fromUtf8("horizontalLayout_2"));
        comboBoxItem = new QComboBox(UserCommandEditDialog);
        comboBoxItem->setObjectName(QString::fromUtf8("comboBoxItem"));

        horizontalLayout_2->addWidget(comboBoxItem);

        pushButtonAdd = new QPushButton(UserCommandEditDialog);
        pushButtonAdd->setObjectName(QString::fromUtf8("pushButtonAdd"));

        horizontalLayout_2->addWidget(pushButtonAdd);

        pushButtonRemove = new QPushButton(UserCommandEditDialog);
        pushButtonRemove->setObjectName(QString::fromUtf8("pushButtonRemove"));

        horizontalLayout_2->addWidget(pushButtonRemove);


        formLayout->setLayout(0, QFormLayout::FieldRole, horizontalLayout_2);

        labelName = new QLabel(UserCommandEditDialog);
        labelName->setObjectName(QString::fromUtf8("labelName"));
        labelName->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);

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

        lineEditName = new LineEdit(UserCommandEditDialog);
        lineEditName->setObjectName(QString::fromUtf8("lineEditName"));

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

        verticalLayout = new QVBoxLayout();
        verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
        labelContent = new QLabel(UserCommandEditDialog);
        labelContent->setObjectName(QString::fromUtf8("labelContent"));
        labelContent->setAlignment(Qt::AlignRight|Qt::AlignTop|Qt::AlignTrailing);

        verticalLayout->addWidget(labelContent);

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

        verticalLayout->addItem(verticalSpacer);

        pushButtonInsertPlaceHolder = new QPushButton(UserCommandEditDialog);
        pushButtonInsertPlaceHolder->setObjectName(QString::fromUtf8("pushButtonInsertPlaceHolder"));

        verticalLayout->addWidget(pushButtonInsertPlaceHolder);


        formLayout->setLayout(2, QFormLayout::LabelRole, verticalLayout);

        textEditContent = new QTextEdit(UserCommandEditDialog);
        textEditContent->setObjectName(QString::fromUtf8("textEditContent"));

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


        verticalLayout_2->addLayout(formLayout);

        buttonBox = new QDialogButtonBox(UserCommandEditDialog);
        buttonBox->setObjectName(QString::fromUtf8("buttonBox"));
        buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Ok);

        verticalLayout_2->addWidget(buttonBox);

#if QT_CONFIG(shortcut)
        labelItem->setBuddy(comboBoxItem);
        labelName->setBuddy(lineEditName);
        labelContent->setBuddy(textEditContent);
#endif // QT_CONFIG(shortcut)
        QWidget::setTabOrder(comboBoxItem, pushButtonAdd);
        QWidget::setTabOrder(pushButtonAdd, pushButtonRemove);
        QWidget::setTabOrder(pushButtonRemove, lineEditName);
        QWidget::setTabOrder(lineEditName, textEditContent);
        QWidget::setTabOrder(textEditContent, pushButtonInsertPlaceHolder);
        QWidget::setTabOrder(pushButtonInsertPlaceHolder, buttonBox);

        retranslateUi(UserCommandEditDialog);
        QObject::connect(buttonBox, SIGNAL(rejected()), UserCommandEditDialog, SLOT(reject()));

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

    void retranslateUi(QDialog *UserCommandEditDialog)
    {
        UserCommandEditDialog->setWindowTitle(QCoreApplication::translate("UserCommandEditDialog", "Edit User Defined Commands", nullptr));
        labelItem->setText(QCoreApplication::translate("UserCommandEditDialog", "&Select item:", nullptr));
        pushButtonAdd->setText(QCoreApplication::translate("UserCommandEditDialog", "&Add", nullptr));
        pushButtonRemove->setText(QCoreApplication::translate("UserCommandEditDialog", "&Remove", nullptr));
        labelName->setText(QCoreApplication::translate("UserCommandEditDialog", "Item &name:", nullptr));
        labelContent->setText(QCoreApplication::translate("UserCommandEditDialog", "&LaTeX content:", nullptr));
        pushButtonInsertPlaceHolder->setText(QCoreApplication::translate("UserCommandEditDialog", "&Insert placeholder", nullptr));
    } // retranslateUi

};

namespace Ui {
    class UserCommandEditDialog: public Ui_UserCommandEditDialog {};
} // namespace Ui

QT_END_NAMESPACE

#endif // UI_USERCOMMANDEDITDIALOG_H
