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

/********************************************************************************
** Form generated from reading UI file 'phrasebookdialog.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_PHRASEBOOKDIALOG_H
#define UI_PHRASEBOOKDIALOG_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/QRadioButton>
#include <QtGui/QTreeView>
#include <QtGui/QWidget>
#include "kkeysequencewidget.h"
#include "klineedit.h"

QT_BEGIN_NAMESPACE

class Ui_PhraseBookDialog
{
public:
    QGridLayout *gridLayout;
    QGroupBox *phrasebox;
    QGridLayout *gridLayout1;
    KKeySequenceWidget *keyButton;
    KLineEdit *lineEdit;
    QRadioButton *noKey;
    QRadioButton *customKey;
    QLabel *shortcutLabel;
    QLabel *textLabel;
    QTreeView *treeView;

    void setupUi(QWidget *PhraseBookDialog)
    {
        if (PhraseBookDialog->objectName().isEmpty())
            PhraseBookDialog->setObjectName(QString::fromUtf8("PhraseBookDialog"));
        PhraseBookDialog->resize(564, 393);
        gridLayout = new QGridLayout(PhraseBookDialog);
#ifndef UI_Q_OS_MAC
        gridLayout->setSpacing(6);
#endif
        gridLayout->setContentsMargins(0, 0, 0, 0);
        gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
        phrasebox = new QGroupBox(PhraseBookDialog);
        phrasebox->setObjectName(QString::fromUtf8("phrasebox"));
        gridLayout1 = new QGridLayout(phrasebox);
#ifndef UI_Q_OS_MAC
        gridLayout1->setSpacing(6);
#endif
        gridLayout1->setContentsMargins(11, 11, 11, 11);
        gridLayout1->setObjectName(QString::fromUtf8("gridLayout1"));
        keyButton = new KKeySequenceWidget(phrasebox);
        keyButton->setObjectName(QString::fromUtf8("keyButton"));

        gridLayout1->addWidget(keyButton, 3, 2, 1, 1);

        lineEdit = new KLineEdit(phrasebox);
        lineEdit->setObjectName(QString::fromUtf8("lineEdit"));

        gridLayout1->addWidget(lineEdit, 1, 0, 1, 3);

        noKey = new QRadioButton(phrasebox);
        noKey->setObjectName(QString::fromUtf8("noKey"));

        gridLayout1->addWidget(noKey, 3, 0, 1, 1);

        customKey = new QRadioButton(phrasebox);
        customKey->setObjectName(QString::fromUtf8("customKey"));

        gridLayout1->addWidget(customKey, 3, 1, 1, 1);

        shortcutLabel = new QLabel(phrasebox);
        shortcutLabel->setObjectName(QString::fromUtf8("shortcutLabel"));

        gridLayout1->addWidget(shortcutLabel, 2, 0, 1, 3);

        textLabel = new QLabel(phrasebox);
        textLabel->setObjectName(QString::fromUtf8("textLabel"));

        gridLayout1->addWidget(textLabel, 0, 0, 1, 3);


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

        treeView = new QTreeView(PhraseBookDialog);
        treeView->setObjectName(QString::fromUtf8("treeView"));
        treeView->setContextMenuPolicy(Qt::CustomContextMenu);
        treeView->setDragEnabled(true);
        treeView->setDragDropMode(QAbstractItemView::InternalMove);
        treeView->setDefaultDropAction(Qt::MoveAction);
        treeView->setSelectionMode(QAbstractItemView::ExtendedSelection);
        treeView->setUniformRowHeights(true);
        treeView->setAllColumnsShowFocus(true);
        treeView->header()->setDefaultSectionSize(300);

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

#ifndef UI_QT_NO_SHORTCUT
        textLabel->setBuddy(lineEdit);
#endif // QT_NO_SHORTCUT

        retranslateUi(PhraseBookDialog);

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

    void retranslateUi(QWidget *PhraseBookDialog)
    {
        PhraseBookDialog->setWindowTitle(tr2i18n("Phrase Book", 0));
        phrasebox->setTitle(tr2i18n("&Currently Selected Phrase or Phrase Book", 0));
#ifndef UI_QT_NO_WHATSTHIS
        keyButton->setWhatsThis(tr2i18n("By clicking on this button you can select the keyboard shortcut associated with the selected phrase.", 0));
#endif // QT_NO_WHATSTHIS
#ifndef UI_QT_NO_WHATSTHIS
        lineEdit->setWhatsThis(tr2i18n("With this line edit you define the name of a sub-phrasebook or the contents of a phrase.", 0));
#endif // QT_NO_WHATSTHIS
#ifndef UI_QT_NO_WHATSTHIS
        noKey->setWhatsThis(tr2i18n("If you select this option then the selected phrase will not be reachable by a keyboard shortcut.", 0));
#endif // QT_NO_WHATSTHIS
        noKey->setText(tr2i18n("&None", 0));
#ifndef UI_QT_NO_WHATSTHIS
        customKey->setWhatsThis(tr2i18n("If you select this option then the selected phrase will be reachable by a keyboard shortcut. You can change the shortcut with the button next to this option.", 0));
#endif // QT_NO_WHATSTHIS
        customKey->setText(tr2i18n("C&ustom", 0));
        shortcutLabel->setText(tr2i18n("Shortcut for the phrase:", 0));
#ifndef UI_QT_NO_WHATSTHIS
        textLabel->setWhatsThis(tr2i18n("With this line edit you define the name of a sub-phrasebook or the contents of a phrase.", 0));
#endif // QT_NO_WHATSTHIS
        textLabel->setText(tr2i18n("Text of the &phrase:", 0));
#ifndef UI_QT_NO_WHATSTHIS
        treeView->setWhatsThis(tr2i18n("This list contains the current phrase book in a tree structure. You can select and modify individual phrases and sub phrase books", 0));
#endif // QT_NO_WHATSTHIS
    } // retranslateUi

};

namespace Ui {
    class PhraseBookDialog: public Ui_PhraseBookDialog {};
} // namespace Ui

QT_END_NAMESPACE

#endif // PHRASEBOOKDIALOG_H

