#include <klocalizedstring.h>

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

#ifndef UI_ACTIONEDITOR_H
#define UI_ACTIONEDITOR_H

#include <QtCore/QVariant>
#include <QtWidgets/QAction>
#include <QtWidgets/QApplication>
#include <QtWidgets/QButtonGroup>
#include <QtWidgets/QComboBox>
#include <QtWidgets/QDialogButtonBox>
#include <QtWidgets/QGridLayout>
#include <QtWidgets/QGroupBox>
#include <QtWidgets/QHeaderView>
#include <QtWidgets/QLabel>
#include <QtWidgets/QLineEdit>
#include <QtWidgets/QPushButton>
#include <QtWidgets/QSpacerItem>
#include <QtWidgets/QTreeView>
#include <QtWidgets/QWidget>
#include "kiconbutton.h"
#include "kurlrequester.h"

QT_BEGIN_NAMESPACE

class Ui_ActionEditor
{
public:
    QGridLayout *gridLayout_5;
    QGroupBox *GbParameter;
    QGridLayout *gridLayout_2;
    QGridLayout *GlParameterType;
    QLabel *LblParameterType;
    QComboBox *CbParameterType;
    QGridLayout *GlDeviceType;
    QLabel *LblDeviceType;
    QComboBox *CbDeviceType;
    QGridLayout *GlValueName;
    QLabel *LblValueName;
    QComboBox *CbValueName;
    QGridLayout *GlValueMatch;
    QComboBox *CbValueMatch;
    QLineEdit *LeValueMatch;
    QGridLayout *GlParameterControl;
    QSpacerItem *HsParameterControl;
    QPushButton *PbParameterReset;
    QPushButton *PbParameterSave;
    QGridLayout *GlActionIconName;
    KIconButton *IbActionIcon;
    QLineEdit *LeActionFriendlyName;
    QGridLayout *GlActionCommand;
    QLabel *TlActionCommand;
    KUrlRequester *LeActionCommand;
    QGridLayout *GlPredicateTree;
    QLabel *TlPredicateTree;
    QTreeView *TvPredicateTree;
    QDialogButtonBox *buttonBox;

    void setupUi(QWidget *ActionEditor)
    {
        if (ActionEditor->objectName().isEmpty())
            ActionEditor->setObjectName(QStringLiteral("ActionEditor"));
        ActionEditor->resize(602, 522);
        gridLayout_5 = new QGridLayout(ActionEditor);
        gridLayout_5->setObjectName(QStringLiteral("gridLayout_5"));
        GbParameter = new QGroupBox(ActionEditor);
        GbParameter->setObjectName(QStringLiteral("GbParameter"));
        gridLayout_2 = new QGridLayout(GbParameter);
        gridLayout_2->setObjectName(QStringLiteral("gridLayout_2"));
        GlParameterType = new QGridLayout();
        GlParameterType->setObjectName(QStringLiteral("GlParameterType"));
        LblParameterType = new QLabel(GbParameter);
        LblParameterType->setObjectName(QStringLiteral("LblParameterType"));
        QSizePolicy sizePolicy(QSizePolicy::Maximum, QSizePolicy::Preferred);
        sizePolicy.setHorizontalStretch(0);
        sizePolicy.setVerticalStretch(0);
        sizePolicy.setHeightForWidth(LblParameterType->sizePolicy().hasHeightForWidth());
        LblParameterType->setSizePolicy(sizePolicy);
        LblParameterType->setMinimumSize(QSize(150, 0));
        LblParameterType->setMaximumSize(QSize(150, 16777215));

        GlParameterType->addWidget(LblParameterType, 0, 0, 1, 1);

        CbParameterType = new QComboBox(GbParameter);
        CbParameterType->setObjectName(QStringLiteral("CbParameterType"));

        GlParameterType->addWidget(CbParameterType, 0, 1, 1, 1);


        gridLayout_2->addLayout(GlParameterType, 0, 0, 1, 1);

        GlDeviceType = new QGridLayout();
        GlDeviceType->setObjectName(QStringLiteral("GlDeviceType"));
        LblDeviceType = new QLabel(GbParameter);
        LblDeviceType->setObjectName(QStringLiteral("LblDeviceType"));
        sizePolicy.setHeightForWidth(LblDeviceType->sizePolicy().hasHeightForWidth());
        LblDeviceType->setSizePolicy(sizePolicy);
        LblDeviceType->setMinimumSize(QSize(150, 0));
        LblDeviceType->setMaximumSize(QSize(150, 16777215));

        GlDeviceType->addWidget(LblDeviceType, 0, 0, 1, 1);

        CbDeviceType = new QComboBox(GbParameter);
        CbDeviceType->setObjectName(QStringLiteral("CbDeviceType"));
        QSizePolicy sizePolicy1(QSizePolicy::Expanding, QSizePolicy::Fixed);
        sizePolicy1.setHorizontalStretch(0);
        sizePolicy1.setVerticalStretch(0);
        sizePolicy1.setHeightForWidth(CbDeviceType->sizePolicy().hasHeightForWidth());
        CbDeviceType->setSizePolicy(sizePolicy1);

        GlDeviceType->addWidget(CbDeviceType, 0, 1, 1, 1);


        gridLayout_2->addLayout(GlDeviceType, 1, 0, 1, 1);

        GlValueName = new QGridLayout();
        GlValueName->setObjectName(QStringLiteral("GlValueName"));
        LblValueName = new QLabel(GbParameter);
        LblValueName->setObjectName(QStringLiteral("LblValueName"));
        sizePolicy.setHeightForWidth(LblValueName->sizePolicy().hasHeightForWidth());
        LblValueName->setSizePolicy(sizePolicy);
        LblValueName->setMinimumSize(QSize(150, 0));
        LblValueName->setMaximumSize(QSize(150, 16777215));

        GlValueName->addWidget(LblValueName, 0, 0, 1, 1);

        CbValueName = new QComboBox(GbParameter);
        CbValueName->setObjectName(QStringLiteral("CbValueName"));
        sizePolicy1.setHeightForWidth(CbValueName->sizePolicy().hasHeightForWidth());
        CbValueName->setSizePolicy(sizePolicy1);

        GlValueName->addWidget(CbValueName, 0, 1, 1, 1);


        gridLayout_2->addLayout(GlValueName, 2, 0, 1, 1);

        GlValueMatch = new QGridLayout();
        GlValueMatch->setObjectName(QStringLiteral("GlValueMatch"));
        CbValueMatch = new QComboBox(GbParameter);
        CbValueMatch->setObjectName(QStringLiteral("CbValueMatch"));
        sizePolicy.setHeightForWidth(CbValueMatch->sizePolicy().hasHeightForWidth());
        CbValueMatch->setSizePolicy(sizePolicy);
        CbValueMatch->setMinimumSize(QSize(150, 0));
        CbValueMatch->setMaximumSize(QSize(150, 16777215));

        GlValueMatch->addWidget(CbValueMatch, 0, 0, 1, 1);

        LeValueMatch = new QLineEdit(GbParameter);
        LeValueMatch->setObjectName(QStringLiteral("LeValueMatch"));

        GlValueMatch->addWidget(LeValueMatch, 0, 1, 1, 1);


        gridLayout_2->addLayout(GlValueMatch, 3, 0, 1, 1);

        GlParameterControl = new QGridLayout();
        GlParameterControl->setObjectName(QStringLiteral("GlParameterControl"));
        HsParameterControl = new QSpacerItem(227, 25, QSizePolicy::Expanding, QSizePolicy::Minimum);

        GlParameterControl->addItem(HsParameterControl, 0, 0, 1, 1);

        PbParameterReset = new QPushButton(GbParameter);
        PbParameterReset->setObjectName(QStringLiteral("PbParameterReset"));

        GlParameterControl->addWidget(PbParameterReset, 0, 1, 1, 1);

        PbParameterSave = new QPushButton(GbParameter);
        PbParameterSave->setObjectName(QStringLiteral("PbParameterSave"));

        GlParameterControl->addWidget(PbParameterSave, 0, 2, 1, 1);


        gridLayout_2->addLayout(GlParameterControl, 4, 0, 1, 1);


        gridLayout_5->addWidget(GbParameter, 3, 0, 1, 1);

        GlActionIconName = new QGridLayout();
        GlActionIconName->setObjectName(QStringLiteral("GlActionIconName"));
        IbActionIcon = new KIconButton(ActionEditor);
        IbActionIcon->setObjectName(QStringLiteral("IbActionIcon"));
        QSizePolicy sizePolicy2(QSizePolicy::Fixed, QSizePolicy::Fixed);
        sizePolicy2.setHorizontalStretch(0);
        sizePolicy2.setVerticalStretch(0);
        sizePolicy2.setHeightForWidth(IbActionIcon->sizePolicy().hasHeightForWidth());
        IbActionIcon->setSizePolicy(sizePolicy2);
        IbActionIcon->setMinimumSize(QSize(80, 80));
        IbActionIcon->setMaximumSize(QSize(75, 75));

        GlActionIconName->addWidget(IbActionIcon, 0, 0, 1, 1);

        LeActionFriendlyName = new QLineEdit(ActionEditor);
        LeActionFriendlyName->setObjectName(QStringLiteral("LeActionFriendlyName"));

        GlActionIconName->addWidget(LeActionFriendlyName, 0, 1, 1, 1);


        gridLayout_5->addLayout(GlActionIconName, 0, 0, 1, 1);

        GlActionCommand = new QGridLayout();
        GlActionCommand->setObjectName(QStringLiteral("GlActionCommand"));
        TlActionCommand = new QLabel(ActionEditor);
        TlActionCommand->setObjectName(QStringLiteral("TlActionCommand"));
        TlActionCommand->setMinimumSize(QSize(80, 0));

        GlActionCommand->addWidget(TlActionCommand, 0, 0, 1, 1);

        LeActionCommand = new KUrlRequester(ActionEditor);
        LeActionCommand->setObjectName(QStringLiteral("LeActionCommand"));

        GlActionCommand->addWidget(LeActionCommand, 0, 1, 1, 1);


        gridLayout_5->addLayout(GlActionCommand, 1, 0, 1, 1);

        GlPredicateTree = new QGridLayout();
        GlPredicateTree->setObjectName(QStringLiteral("GlPredicateTree"));
        TlPredicateTree = new QLabel(ActionEditor);
        TlPredicateTree->setObjectName(QStringLiteral("TlPredicateTree"));
        TlPredicateTree->setMinimumSize(QSize(80, 0));

        GlPredicateTree->addWidget(TlPredicateTree, 0, 0, 1, 2);

        TvPredicateTree = new QTreeView(ActionEditor);
        TvPredicateTree->setObjectName(QStringLiteral("TvPredicateTree"));

        GlPredicateTree->addWidget(TvPredicateTree, 1, 0, 1, 2);


        gridLayout_5->addLayout(GlPredicateTree, 2, 0, 1, 1);

        buttonBox = new QDialogButtonBox(ActionEditor);
        buttonBox->setObjectName(QStringLiteral("buttonBox"));
        buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Ok);

        gridLayout_5->addWidget(buttonBox, 4, 0, 1, 1);

        QWidget::setTabOrder(IbActionIcon, LeActionFriendlyName);
        QWidget::setTabOrder(LeActionFriendlyName, LeActionCommand);
        QWidget::setTabOrder(LeActionCommand, TvPredicateTree);
        QWidget::setTabOrder(TvPredicateTree, CbDeviceType);
        QWidget::setTabOrder(CbDeviceType, CbParameterType);
        QWidget::setTabOrder(CbParameterType, CbValueName);
        QWidget::setTabOrder(CbValueName, CbValueMatch);
        QWidget::setTabOrder(CbValueMatch, LeValueMatch);
        QWidget::setTabOrder(LeValueMatch, PbParameterReset);
        QWidget::setTabOrder(PbParameterReset, PbParameterSave);

        retranslateUi(ActionEditor);

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

    void retranslateUi(QWidget *ActionEditor)
    {
        GbParameter->setTitle(tr2i18n("Edit Parameter", Q_NULLPTR));
        LblParameterType->setText(tr2i18n("Parameter type:", Q_NULLPTR));
        CbParameterType->clear();
        CbParameterType->insertItems(0, QStringList()
         << tr2i18n("Property Match", Q_NULLPTR)
         << tr2i18n("Content Conjunction", Q_NULLPTR)
         << tr2i18n("Content Disjunction", Q_NULLPTR)
         << tr2i18n("Device Interface Match", Q_NULLPTR)
        );
        LblDeviceType->setText(tr2i18n("Device type:", Q_NULLPTR));
        LblValueName->setText(tr2i18n("Value name:", Q_NULLPTR));
        CbValueMatch->clear();
        CbValueMatch->insertItems(0, QStringList()
         << tr2i18n("Equals", Q_NULLPTR)
         << tr2i18n("Contains", Q_NULLPTR)
        );
        PbParameterReset->setText(tr2i18n("Reset Parameter", Q_NULLPTR));
        PbParameterSave->setText(tr2i18n("Save Parameter Changes", Q_NULLPTR));
#ifndef UI_QT_NO_TOOLTIP
        IbActionIcon->setToolTip(tr2i18n("Action icon, click to change it", Q_NULLPTR));
#endif // QT_NO_TOOLTIP
#ifndef UI_QT_NO_TOOLTIP
        LeActionFriendlyName->setToolTip(tr2i18n("Action name", Q_NULLPTR));
#endif // QT_NO_TOOLTIP
        TlActionCommand->setText(tr2i18n("Command: ", Q_NULLPTR));
#ifndef UI_QT_NO_TOOLTIP
        LeActionCommand->setToolTip(tr2i18n("Command that will trigger the action\n"
"This can include any or all of the following case insensitive expands:\n"
"\n"
"%f: The mountpoint for the device - Storage Access devices only\n"
"%d: Path to the device node - Block devices only\n"
"%i: The identifier of the device", Q_NULLPTR));
#endif // QT_NO_TOOLTIP
        TlPredicateTree->setText(tr2i18n("Devices must match the following parameters for this action:", Q_NULLPTR));
        Q_UNUSED(ActionEditor);
    } // retranslateUi

};

namespace Ui {
    class ActionEditor: public Ui_ActionEditor {};
} // namespace Ui

QT_END_NAMESPACE

#endif // ACTIONEDITOR_H

