#include <klocalizedstring.h>

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

#ifndef UI_CONSTANTSEDITOR_H
#define UI_CONSTANTSEDITOR_H

#include <QtCore/QVariant>
#include <QtWidgets/QAction>
#include <QtWidgets/QApplication>
#include <QtWidgets/QButtonGroup>
#include <QtWidgets/QGridLayout>
#include <QtWidgets/QHeaderView>
#include <QtWidgets/QLabel>
#include <QtWidgets/QPushButton>
#include <QtWidgets/QSpacerItem>
#include <QtWidgets/QTreeWidget>
#include <QtWidgets/QWidget>
#include "equationedit.h"
#include "klineedit.h"

QT_BEGIN_NAMESPACE

class Ui_ConstantsEditor
{
public:
    QGridLayout *gridLayout;
    QLabel *valueInvalidLabel;
    QGridLayout *gridLayout1;
    KLineEdit *nameEdit;
    QLabel *label_2;
    QLabel *label;
    EquationEdit *valueEdit;
    QPushButton *cmdNew;
    QTreeWidget *constantList;
    QSpacerItem *spacerItem;
    QPushButton *cmdDelete;

    void setupUi(QWidget *ConstantsEditor)
    {
        if (ConstantsEditor->objectName().isEmpty())
            ConstantsEditor->setObjectName(QStringLiteral("ConstantsEditor"));
        ConstantsEditor->resize(521, 442);
        gridLayout = new QGridLayout(ConstantsEditor);
#ifndef UI_Q_OS_MAC
        gridLayout->setSpacing(6);
#endif
#ifndef UI_Q_OS_MAC
        gridLayout->setContentsMargins(9, 9, 9, 9);
#endif
        gridLayout->setObjectName(QStringLiteral("gridLayout"));
        valueInvalidLabel = new QLabel(ConstantsEditor);
        valueInvalidLabel->setObjectName(QStringLiteral("valueInvalidLabel"));
        valueInvalidLabel->setAlignment(Qt::AlignCenter);

        gridLayout->addWidget(valueInvalidLabel, 0, 1, 1, 1);

        gridLayout1 = new QGridLayout();
#ifndef UI_Q_OS_MAC
        gridLayout1->setSpacing(6);
#endif
        gridLayout1->setContentsMargins(0, 0, 0, 0);
        gridLayout1->setObjectName(QStringLiteral("gridLayout1"));
        nameEdit = new KLineEdit(ConstantsEditor);
        nameEdit->setObjectName(QStringLiteral("nameEdit"));

        gridLayout1->addWidget(nameEdit, 0, 1, 1, 1);

        label_2 = new QLabel(ConstantsEditor);
        label_2->setObjectName(QStringLiteral("label_2"));
        label_2->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);

        gridLayout1->addWidget(label_2, 1, 0, 1, 1);

        label = new QLabel(ConstantsEditor);
        label->setObjectName(QStringLiteral("label"));
        label->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);

        gridLayout1->addWidget(label, 0, 0, 1, 1);

        valueEdit = new EquationEdit(ConstantsEditor);
        valueEdit->setObjectName(QStringLiteral("valueEdit"));

        gridLayout1->addWidget(valueEdit, 1, 1, 1, 1);


        gridLayout->addLayout(gridLayout1, 0, 0, 1, 1);

        cmdNew = new QPushButton(ConstantsEditor);
        cmdNew->setObjectName(QStringLiteral("cmdNew"));

        gridLayout->addWidget(cmdNew, 1, 1, 1, 1);

        constantList = new QTreeWidget(ConstantsEditor);
        constantList->setObjectName(QStringLiteral("constantList"));
        constantList->setRootIsDecorated(false);
        constantList->setColumnCount(4);

        gridLayout->addWidget(constantList, 1, 0, 3, 1);

        spacerItem = new QSpacerItem(20, 261, QSizePolicy::Minimum, QSizePolicy::Expanding);

        gridLayout->addItem(spacerItem, 3, 1, 1, 1);

        cmdDelete = new QPushButton(ConstantsEditor);
        cmdDelete->setObjectName(QStringLiteral("cmdDelete"));
        cmdDelete->setEnabled(false);

        gridLayout->addWidget(cmdDelete, 2, 1, 1, 1);


        retranslateUi(ConstantsEditor);

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

    void retranslateUi(QWidget *ConstantsEditor)
    {
        ConstantsEditor->setWindowTitle(tr2i18n("Constant Editor", Q_NULLPTR));
#ifndef UI_QT_NO_TOOLTIP
        valueInvalidLabel->setToolTip(tr2i18n("The value must be a number (e.g. \"pi^2\")", Q_NULLPTR));
#endif // QT_NO_TOOLTIP
        valueInvalidLabel->setText(tr2i18n("(invalid)", Q_NULLPTR));
#ifndef UI_QT_NO_WHATSTHIS
        nameEdit->setWhatsThis(QString());
#endif // QT_NO_WHATSTHIS
        label_2->setText(tr2i18n("Value:", Q_NULLPTR));
        label->setText(tr2i18n("Constant:", Q_NULLPTR));
#ifndef UI_QT_NO_TOOLTIP
        valueEdit->setToolTip(tr2i18n("Enter an expression that evaluates to a number", Q_NULLPTR));
#endif // QT_NO_TOOLTIP
#ifndef UI_QT_NO_TOOLTIP
        cmdNew->setToolTip(tr2i18n("Add a new constant", Q_NULLPTR));
#endif // QT_NO_TOOLTIP
#ifndef UI_QT_NO_WHATSTHIS
        cmdNew->setWhatsThis(tr2i18n("Click this button to add a new constant.", Q_NULLPTR));
#endif // QT_NO_WHATSTHIS
        cmdNew->setText(tr2i18n("&New", Q_NULLPTR));
        QTreeWidgetItem *___qtreewidgetitem = constantList->headerItem();
        ___qtreewidgetitem->setText(3, tr2i18n("Global", Q_NULLPTR));
        ___qtreewidgetitem->setText(2, tr2i18n("Document", Q_NULLPTR));
        ___qtreewidgetitem->setText(1, tr2i18n("Value", Q_NULLPTR));
        ___qtreewidgetitem->setText(0, tr2i18n("Constant", Q_NULLPTR));
#ifndef UI_QT_NO_TOOLTIP
        cmdDelete->setToolTip(tr2i18n("Delete the selected constant", Q_NULLPTR));
#endif // QT_NO_TOOLTIP
#ifndef UI_QT_NO_WHATSTHIS
        cmdDelete->setWhatsThis(tr2i18n("Click here to delete the selected constant; it can only be removed if it is not currently used by a plot.", Q_NULLPTR));
#endif // QT_NO_WHATSTHIS
        cmdDelete->setText(tr2i18n("&Delete", Q_NULLPTR));
    } // retranslateUi

};

namespace Ui {
    class ConstantsEditor: public Ui_ConstantsEditor {};
} // namespace Ui

QT_END_NAMESPACE

#endif // CONSTANTSEDITOR_H

