/********************************************************************************
** Form generated from reading UI file 'ShortcutUi.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_SHORTCUTUI_H
#define UI_SHORTCUTUI_H

#include <QtCore/QVariant>
#include <QtGui/QAction>
#include <QtGui/QApplication>
#include <QtGui/QButtonGroup>
#include <QtGui/QDialog>
#include <QtGui/QGridLayout>
#include <QtGui/QHBoxLayout>
#include <QtGui/QHeaderView>
#include <QtGui/QLabel>
#include <QtGui/QLineEdit>
#include <QtGui/QPushButton>
#include <QtGui/QSpacerItem>
#include "CustomizedWidgets.h"
#include "qt_i18n.h"

QT_BEGIN_NAMESPACE

class Ui_shortcutUi
{
public:
    QGridLayout *gridLayout;
    QHBoxLayout *hboxLayout;
    QSpacerItem *spacerItem;
    QPushButton *okPB;
    QPushButton *cancelPB;
    QLineEdit *lfunLE;
    QPushButton *removePB;
    QPushButton *clearPB;
    QLabel *shortcutLBL;
    QLabel *lfunLBL;
    lyx::frontend::ShortcutWidget *shortcutWG;

    void setupUi(QDialog *shortcutUi)
    {
        if (shortcutUi->objectName().isEmpty())
            shortcutUi->setObjectName(QString::fromUtf8("shortcutUi"));
        shortcutUi->resize(421, 111);
        shortcutUi->setSizeGripEnabled(true);
        gridLayout = new QGridLayout(shortcutUi);
#ifndef Q_OS_MAC
        gridLayout->setSpacing(6);
#endif
#ifndef Q_OS_MAC
        gridLayout->setContentsMargins(9, 9, 9, 9);
#endif
        gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
        hboxLayout = new QHBoxLayout();
#ifndef Q_OS_MAC
        hboxLayout->setSpacing(6);
#endif
#ifndef Q_OS_MAC
        hboxLayout->setContentsMargins(0, 0, 0, 0);
#endif
        hboxLayout->setObjectName(QString::fromUtf8("hboxLayout"));
        spacerItem = new QSpacerItem(20, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);

        hboxLayout->addItem(spacerItem);

        okPB = new QPushButton(shortcutUi);
        okPB->setObjectName(QString::fromUtf8("okPB"));
        okPB->setAutoDefault(false);
        okPB->setDefault(true);

        hboxLayout->addWidget(okPB);

        cancelPB = new QPushButton(shortcutUi);
        cancelPB->setObjectName(QString::fromUtf8("cancelPB"));
        cancelPB->setAutoDefault(false);

        hboxLayout->addWidget(cancelPB);


        gridLayout->addLayout(hboxLayout, 2, 0, 1, 4);

        lfunLE = new QLineEdit(shortcutUi);
        lfunLE->setObjectName(QString::fromUtf8("lfunLE"));

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

        removePB = new QPushButton(shortcutUi);
        removePB->setObjectName(QString::fromUtf8("removePB"));

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

        clearPB = new QPushButton(shortcutUi);
        clearPB->setObjectName(QString::fromUtf8("clearPB"));

        gridLayout->addWidget(clearPB, 1, 3, 1, 1);

        shortcutLBL = new QLabel(shortcutUi);
        shortcutLBL->setObjectName(QString::fromUtf8("shortcutLBL"));

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

        lfunLBL = new QLabel(shortcutUi);
        lfunLBL->setObjectName(QString::fromUtf8("lfunLBL"));

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

        shortcutWG = new lyx::frontend::ShortcutWidget(shortcutUi);
        shortcutWG->setObjectName(QString::fromUtf8("shortcutWG"));
        shortcutWG->setEnabled(true);

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

#ifndef QT_NO_SHORTCUT
        shortcutLBL->setBuddy(shortcutWG);
        lfunLBL->setBuddy(lfunLE);
#endif // QT_NO_SHORTCUT
        QWidget::setTabOrder(lfunLE, okPB);
        QWidget::setTabOrder(okPB, cancelPB);

        retranslateUi(shortcutUi);

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

    void retranslateUi(QDialog *shortcutUi)
    {
        shortcutUi->setWindowTitle(lyx::qt_("Edit shortcut", 0));
        okPB->setText(lyx::qt_("&OK", 0));
        cancelPB->setText(lyx::qt_("Cancel", 0));
#ifndef QT_NO_TOOLTIP
        lfunLE->setToolTip(lyx::qt_("Enter LyX function or command sequence", 0));
#endif // QT_NO_TOOLTIP
        lfunLE->setText(QString());
#ifndef QT_NO_TOOLTIP
        removePB->setToolTip(lyx::qt_("Remove last key from the shortcut sequence", 0));
#endif // QT_NO_TOOLTIP
        removePB->setText(lyx::qt_("&Delete Key", 0));
#ifndef QT_NO_TOOLTIP
        clearPB->setToolTip(lyx::qt_("Clear current shortcut", 0));
#endif // QT_NO_TOOLTIP
        clearPB->setText(lyx::qt_("C&lear", 0));
        shortcutLBL->setText(lyx::qt_("&Shortcut:", 0));
        lfunLBL->setText(lyx::qt_("&Function:", 0));
#ifndef QT_NO_TOOLTIP
        shortcutWG->setToolTip(lyx::qt_("Type shortcut after clicking on this field. You can reset the content with the 'Clear' button", 0));
#endif // QT_NO_TOOLTIP
        shortcutWG->setText(QString());
    } // retranslateUi

};

namespace Ui {
    class shortcutUi: public Ui_shortcutUi {};
} // namespace Ui

QT_END_NAMESPACE

#endif // UI_SHORTCUTUI_H
