#include <kdialog.h>
#include <klocale.h>

/********************************************************************************
** Form generated from reading UI file 'ActionEditor.ui'
**
** Created by: Qt User Interface Compiler version 4.8.7
**
** 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 <QtGui/QAction>
#include <QtGui/QApplication>
#include <QtGui/QButtonGroup>
#include <QtGui/QGridLayout>
#include <QtGui/QGroupBox>
#include <QtGui/QHeaderView>
#include <QtGui/QLabel>
#include <QtGui/QPushButton>
#include <QtGui/QSpacerItem>
#include <QtGui/QTreeView>
#include <QtGui/QWidget>
#include "kcombobox.h"
#include "kicondialog.h"
#include "klineedit.h"
#include "kurlrequester.h"

QT_BEGIN_NAMESPACE

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

    void setupUi(QWidget *ActionEditor)
    {
        if (ActionEditor->objectName().isEmpty())
            ActionEditor->setObjectName(QString::fromUtf8("ActionEditor"));
        ActionEditor->resize(602, 522);
        gridLayout_5 = new QGridLayout(ActionEditor);
        gridLayout_5->setObjectName(QString::fromUtf8("gridLayout_5"));
        GlActionIconName = new QGridLayout();
        GlActionIconName->setObjectName(QString::fromUtf8("GlActionIconName"));
        IbActionIcon = new KIconButton(ActionEditor);
        IbActionIcon->setObjectName(QString::fromUtf8("IbActionIcon"));
        QSizePolicy sizePolicy(QSizePolicy::Fixed, QSizePolicy::Fixed);
        sizePolicy.setHorizontalStretch(0);
        sizePolicy.setVerticalStretch(0);
        sizePolicy.setHeightForWidth(IbActionIcon->sizePolicy().hasHeightForWidth());
        IbActionIcon->setSizePolicy(sizePolicy);
        IbActionIcon->setMinimumSize(QSize(80, 80));
        IbActionIcon->setMaximumSize(QSize(75, 75));

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

        LeActionFriendlyName = new KLineEdit(ActionEditor);
        LeActionFriendlyName->setObjectName(QString::fromUtf8("LeActionFriendlyName"));

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


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

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

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

        LeActionCommand = new KUrlRequester(ActionEditor);
        LeActionCommand->setObjectName(QString::fromUtf8("LeActionCommand"));

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


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

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

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

        TvPredicateTree = new QTreeView(ActionEditor);
        TvPredicateTree->setObjectName(QString::fromUtf8("TvPredicateTree"));

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


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

        GbParameter = new QGroupBox(ActionEditor);
        GbParameter->setObjectName(QString::fromUtf8("GbParameter"));
        gridLayout_2 = new QGridLayout(GbParameter);
        gridLayout_2->setObjectName(QString::fromUtf8("gridLayout_2"));
        GlParameterType = new QGridLayout();
        GlParameterType->setObjectName(QString::fromUtf8("GlParameterType"));
        LblParameterType = new QLabel(GbParameter);
        LblParameterType->setObjectName(QString::fromUtf8("LblParameterType"));
        QSizePolicy sizePolicy1(QSizePolicy::Maximum, QSizePolicy::Preferred);
        sizePolicy1.setHorizontalStretch(0);
        sizePolicy1.setVerticalStretch(0);
        sizePolicy1.setHeightForWidth(LblParameterType->sizePolicy().hasHeightForWidth());
        LblParameterType->setSizePolicy(sizePolicy1);
        LblParameterType->setMinimumSize(QSize(150, 0));
        LblParameterType->setMaximumSize(QSize(150, 16777215));

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

        CbParameterType = new KComboBox(GbParameter);
        CbParameterType->setObjectName(QString::fromUtf8("CbParameterType"));

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


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

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

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

        CbDeviceType = new KComboBox(GbParameter);
        CbDeviceType->setObjectName(QString::fromUtf8("CbDeviceType"));
        QSizePolicy sizePolicy2(QSizePolicy::Expanding, QSizePolicy::Fixed);
        sizePolicy2.setHorizontalStretch(0);
        sizePolicy2.setVerticalStretch(0);
        sizePolicy2.setHeightForWidth(CbDeviceType->sizePolicy().hasHeightForWidth());
        CbDeviceType->setSizePolicy(sizePolicy2);

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


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

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

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

        CbValueName = new KComboBox(GbParameter);
        CbValueName->setObjectName(QString::fromUtf8("CbValueName"));
        sizePolicy2.setHeightForWidth(CbValueName->sizePolicy().hasHeightForWidth());
        CbValueName->setSizePolicy(sizePolicy2);

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


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

        GlValueMatch = new QGridLayout();
        GlValueMatch->setObjectName(QString::fromUtf8("GlValueMatch"));
        CbValueMatch = new KComboBox(GbParameter);
        CbValueMatch->setObjectName(QString::fromUtf8("CbValueMatch"));
        sizePolicy1.setHeightForWidth(CbValueMatch->sizePolicy().hasHeightForWidth());
        CbValueMatch->setSizePolicy(sizePolicy1);
        CbValueMatch->setMinimumSize(QSize(150, 0));
        CbValueMatch->setMaximumSize(QSize(150, 16777215));

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

        LeValueMatch = new KLineEdit(GbParameter);
        LeValueMatch->setObjectName(QString::fromUtf8("LeValueMatch"));

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


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

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

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

        PbParameterReset = new QPushButton(GbParameter);
        PbParameterReset->setObjectName(QString::fromUtf8("PbParameterReset"));

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

        PbParameterSave = new QPushButton(GbParameter);
        PbParameterSave->setObjectName(QString::fromUtf8("PbParameterSave"));

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


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


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


        retranslateUi(ActionEditor);

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

    void retranslateUi(QWidget *ActionEditor)
    {
#ifndef UI_QT_NO_TOOLTIP
        IbActionIcon->setToolTip(tr2i18n("Action icon, click to change it", 0));
#endif // QT_NO_TOOLTIP
#ifndef UI_QT_NO_TOOLTIP
        LeActionFriendlyName->setToolTip(tr2i18n("Action name", 0));
#endif // QT_NO_TOOLTIP
        TlActionCommand->setText(tr2i18n("Command: ", 0));
#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", 0));
#endif // QT_NO_TOOLTIP
        TlPredicateTree->setText(tr2i18n("Devices must match the following parameters for this action:", 0));
        GbParameter->setTitle(tr2i18n("Edit Parameter", 0));
        LblParameterType->setText(tr2i18n("Parameter type:", 0));
        CbParameterType->clear();
        CbParameterType->insertItems(0, QStringList()
         << tr2i18n("Property Match", 0)
         << tr2i18n("Content Conjunction", 0)
         << tr2i18n("Content Disjunction", 0)
         << tr2i18n("Device Interface Match", 0)
        );
        LblDeviceType->setText(tr2i18n("Device type:", 0));
        LblValueName->setText(tr2i18n("Value name:", 0));
        CbValueMatch->clear();
        CbValueMatch->insertItems(0, QStringList()
         << tr2i18n("Equals", 0)
         << tr2i18n("Contains", 0)
        );
        PbParameterReset->setText(tr2i18n("Reset Parameter", 0));
        PbParameterSave->setText(tr2i18n("Save Parameter Changes", 0));
        Q_UNUSED(ActionEditor);
    } // retranslateUi

};

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

QT_END_NAMESPACE

#endif // ACTIONEDITOR_H

