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

/********************************************************************************
** Form generated from reading UI file 'editsnippet.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_EDITSNIPPET_H
#define UI_EDITSNIPPET_H

#include <QtCore/QVariant>
#include <QtGui/QAction>
#include <QtGui/QApplication>
#include <QtGui/QButtonGroup>
#include <QtGui/QFormLayout>
#include <QtGui/QHeaderView>
#include <QtGui/QLabel>
#include <QtGui/QVBoxLayout>
#include <QtGui/QWidget>
#include <kmessagewidget.h>
#include "klineedit.h"
#include "kshortcutwidget.h"
#include "ktabwidget.h"

QT_BEGIN_NAMESPACE

class Ui_EditSnippetBase
{
public:
    QVBoxLayout *verticalLayout;
    KMessageWidget *messageWidget;
    QFormLayout *formLayout;
    QLabel *snippetName;
    KLineEdit *snippetNameEdit;
    QLabel *snippetPrefixLabel;
    KLineEdit *snippetPrefixEdit;
    QLabel *snippetArgumentsLabel;
    KLineEdit *snippetArgumentsEdit;
    QLabel *snippetPostfixLabel;
    KLineEdit *snippetPostfixEdit;
    QLabel *snippetShortcutLabel;
    KShortcutWidget *snippetShortcutWidget;
    KTabWidget *editorTabs;
    QWidget *snippetTab;
    QWidget *scriptTab;

    void setupUi(QWidget *EditSnippetBase)
    {
        if (EditSnippetBase->objectName().isEmpty())
            EditSnippetBase->setObjectName(QString::fromUtf8("EditSnippetBase"));
        EditSnippetBase->resize(500, 525);
        EditSnippetBase->setMinimumSize(QSize(500, 0));
        verticalLayout = new QVBoxLayout(EditSnippetBase);
        verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
        messageWidget = new KMessageWidget(EditSnippetBase);
        messageWidget->setObjectName(QString::fromUtf8("messageWidget"));
        messageWidget->setVisible(false);
        messageWidget->setCloseButtonVisible(false);
        messageWidget->setMessageType(KMessageWidget::Warning);

        verticalLayout->addWidget(messageWidget);

        formLayout = new QFormLayout();
        formLayout->setObjectName(QString::fromUtf8("formLayout"));
        formLayout->setFieldGrowthPolicy(QFormLayout::ExpandingFieldsGrow);
        snippetName = new QLabel(EditSnippetBase);
        snippetName->setObjectName(QString::fromUtf8("snippetName"));

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

        snippetNameEdit = new KLineEdit(EditSnippetBase);
        snippetNameEdit->setObjectName(QString::fromUtf8("snippetNameEdit"));

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

        snippetPrefixLabel = new QLabel(EditSnippetBase);
        snippetPrefixLabel->setObjectName(QString::fromUtf8("snippetPrefixLabel"));

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

        snippetPrefixEdit = new KLineEdit(EditSnippetBase);
        snippetPrefixEdit->setObjectName(QString::fromUtf8("snippetPrefixEdit"));

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

        snippetArgumentsLabel = new QLabel(EditSnippetBase);
        snippetArgumentsLabel->setObjectName(QString::fromUtf8("snippetArgumentsLabel"));

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

        snippetArgumentsEdit = new KLineEdit(EditSnippetBase);
        snippetArgumentsEdit->setObjectName(QString::fromUtf8("snippetArgumentsEdit"));

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

        snippetPostfixLabel = new QLabel(EditSnippetBase);
        snippetPostfixLabel->setObjectName(QString::fromUtf8("snippetPostfixLabel"));

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

        snippetPostfixEdit = new KLineEdit(EditSnippetBase);
        snippetPostfixEdit->setObjectName(QString::fromUtf8("snippetPostfixEdit"));

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

        snippetShortcutLabel = new QLabel(EditSnippetBase);
        snippetShortcutLabel->setObjectName(QString::fromUtf8("snippetShortcutLabel"));

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

        snippetShortcutWidget = new KShortcutWidget(EditSnippetBase);
        snippetShortcutWidget->setObjectName(QString::fromUtf8("snippetShortcutWidget"));

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


        verticalLayout->addLayout(formLayout);

        editorTabs = new KTabWidget(EditSnippetBase);
        editorTabs->setObjectName(QString::fromUtf8("editorTabs"));
        snippetTab = new QWidget();
        snippetTab->setObjectName(QString::fromUtf8("snippetTab"));
        editorTabs->addTab(snippetTab, QString());
        scriptTab = new QWidget();
        scriptTab->setObjectName(QString::fromUtf8("scriptTab"));
        editorTabs->addTab(scriptTab, QString());

        verticalLayout->addWidget(editorTabs);

#ifndef UI_QT_NO_SHORTCUT
        snippetName->setBuddy(snippetNameEdit);
        snippetPrefixLabel->setBuddy(snippetPrefixEdit);
        snippetArgumentsLabel->setBuddy(snippetArgumentsEdit);
        snippetPostfixLabel->setBuddy(snippetPostfixEdit);
#endif // QT_NO_SHORTCUT
        QWidget::setTabOrder(snippetPrefixEdit, snippetArgumentsEdit);
        QWidget::setTabOrder(snippetArgumentsEdit, snippetPostfixEdit);

        retranslateUi(EditSnippetBase);

        editorTabs->setCurrentIndex(0);


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

    void retranslateUi(QWidget *EditSnippetBase)
    {
        snippetName->setText(tr2i18n("&Name:", 0));
#ifndef UI_QT_NO_TOOLTIP
        snippetNameEdit->setToolTip(tr2i18n("<p>The name will also be used as the identifier during code completion.</p>\n"
"<p><b>Note:</b> No spaces allowed.</p>", 0));
#endif // QT_NO_TOOLTIP
        snippetPrefixLabel->setText(tr2i18n("Display &Prefix:", 0));
#ifndef UI_QT_NO_TOOLTIP
        snippetPrefixEdit->setToolTip(tr2i18n("The display prefix will be shown during code completion.", 0));
#endif // QT_NO_TOOLTIP
        snippetArgumentsLabel->setText(tr2i18n("Display &Arguments:", 0));
#ifndef UI_QT_NO_TOOLTIP
        snippetArgumentsEdit->setToolTip(tr2i18n("The arguments will be shown during code completion.", 0));
#endif // QT_NO_TOOLTIP
        snippetPostfixLabel->setText(tr2i18n("Display P&ostfix:", 0));
#ifndef UI_QT_NO_TOOLTIP
        snippetPostfixEdit->setToolTip(tr2i18n("The postfix will be shown during code completion.", 0));
#endif // QT_NO_TOOLTIP
        snippetShortcutLabel->setText(tr2i18n("Shortcut:", 0));
        editorTabs->setTabText(editorTabs->indexOf(snippetTab), tr2i18n("&Snippet", 0));
        editorTabs->setTabText(editorTabs->indexOf(scriptTab), tr2i18n("S&cripts", 0));
        Q_UNUSED(EditSnippetBase);
    } // retranslateUi

};

namespace Ui {
    class EditSnippetBase: public Ui_EditSnippetBase {};
} // namespace Ui

QT_END_NAMESPACE

#endif // EDITSNIPPET_H

