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

/********************************************************************************
** Form generated from reading UI file 'courseeditor.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_COURSEEDITOR_H
#define UI_COURSEEDITOR_H

#include <QtCore/QVariant>
#include <QtGui/QAction>
#include <QtGui/QApplication>
#include <QtGui/QButtonGroup>
#include <QtGui/QFormLayout>
#include <QtGui/QGroupBox>
#include <QtGui/QHBoxLayout>
#include <QtGui/QHeaderView>
#include <QtGui/QLabel>
#include <QtGui/QListView>
#include <QtGui/QSpacerItem>
#include <QtGui/QSplitter>
#include <QtGui/QToolButton>
#include <QtGui/QVBoxLayout>
#include <QtGui/QWidget>
#include <kmessagewidget.h>
#include "editor/keyboardlayoutcombobox.h"
#include "editor/lessontexteditor.h"
#include "klineedit.h"
#include "ktextedit.h"

QT_BEGIN_NAMESPACE

class Ui_CourseEditor
{
public:
    QVBoxLayout *verticalLayout_2;
    KMessageWidget *m_messageWidget;
    QFormLayout *m_formLayout;
    QLabel *m_titleLabel;
    KLineEdit *m_titleLineEdit;
    QLabel *m_keyboardLayoutLabel;
    KeyboardLayoutComboBox *m_keyboardLayoutComboBox;
    QLabel *m_descriptionLabel;
    KTextEdit *m_descriptionTextEdit;
    QSpacerItem *m_verticalSpacer_4;
    QGroupBox *m_lessonGroupBox;
    QHBoxLayout *horizontalLayout_2;
    QSplitter *m_lessonsSplitter;
    QWidget *layoutWidget;
    QVBoxLayout *m_verticalLayout;
    QHBoxLayout *m_horizontalLayout;
    QLabel *m_lessonsLabel;
    QSpacerItem *m_horizontalSpacer;
    QToolButton *m_addLessonButton;
    QToolButton *m_removeLessonButton;
    QSpacerItem *m_horizontalSpacer_2;
    QToolButton *m_moveLessonUpButton;
    QToolButton *m_moveLessonDownButton;
    QListView *m_lessonView;
    QWidget *layoutWidget_2;
    QHBoxLayout *m_horizontalLayout_3;
    QSpacerItem *m_horizontalSpacer_5;
    QVBoxLayout *m_verticalLayout_3;
    QFormLayout *m_formLayout_2;
    QLabel *m_lessonTitleLabel;
    KLineEdit *m_lessonTitleLineEdit;
    QLabel *m_newCharactersLabel;
    KLineEdit *m_newCharactersLineEdit;
    QSpacerItem *m_verticalSpacer;
    LessonTextEditor *m_lessonTextEditor;

    void setupUi(QWidget *CourseEditor)
    {
        if (CourseEditor->objectName().isEmpty())
            CourseEditor->setObjectName(QString::fromUtf8("CourseEditor"));
        CourseEditor->resize(599, 491);
        verticalLayout_2 = new QVBoxLayout(CourseEditor);
        verticalLayout_2->setObjectName(QString::fromUtf8("verticalLayout_2"));
        verticalLayout_2->setContentsMargins(-1, 0, 0, 0);
        m_messageWidget = new KMessageWidget(CourseEditor);
        m_messageWidget->setObjectName(QString::fromUtf8("m_messageWidget"));

        verticalLayout_2->addWidget(m_messageWidget);

        m_formLayout = new QFormLayout();
        m_formLayout->setObjectName(QString::fromUtf8("m_formLayout"));
        m_formLayout->setFieldGrowthPolicy(QFormLayout::ExpandingFieldsGrow);
        m_formLayout->setHorizontalSpacing(4);
        m_formLayout->setVerticalSpacing(4);
        m_titleLabel = new QLabel(CourseEditor);
        m_titleLabel->setObjectName(QString::fromUtf8("m_titleLabel"));

        m_formLayout->setWidget(0, QFormLayout::LabelRole, m_titleLabel);

        m_titleLineEdit = new KLineEdit(CourseEditor);
        m_titleLineEdit->setObjectName(QString::fromUtf8("m_titleLineEdit"));

        m_formLayout->setWidget(0, QFormLayout::FieldRole, m_titleLineEdit);

        m_keyboardLayoutLabel = new QLabel(CourseEditor);
        m_keyboardLayoutLabel->setObjectName(QString::fromUtf8("m_keyboardLayoutLabel"));

        m_formLayout->setWidget(1, QFormLayout::LabelRole, m_keyboardLayoutLabel);

        m_keyboardLayoutComboBox = new KeyboardLayoutComboBox(CourseEditor);
        m_keyboardLayoutComboBox->setObjectName(QString::fromUtf8("m_keyboardLayoutComboBox"));
        QSizePolicy sizePolicy(QSizePolicy::Expanding, QSizePolicy::Fixed);
        sizePolicy.setHorizontalStretch(0);
        sizePolicy.setVerticalStretch(0);
        sizePolicy.setHeightForWidth(m_keyboardLayoutComboBox->sizePolicy().hasHeightForWidth());
        m_keyboardLayoutComboBox->setSizePolicy(sizePolicy);

        m_formLayout->setWidget(1, QFormLayout::FieldRole, m_keyboardLayoutComboBox);

        m_descriptionLabel = new QLabel(CourseEditor);
        m_descriptionLabel->setObjectName(QString::fromUtf8("m_descriptionLabel"));

        m_formLayout->setWidget(2, QFormLayout::LabelRole, m_descriptionLabel);

        m_descriptionTextEdit = new KTextEdit(CourseEditor);
        m_descriptionTextEdit->setObjectName(QString::fromUtf8("m_descriptionTextEdit"));
        sizePolicy.setHeightForWidth(m_descriptionTextEdit->sizePolicy().hasHeightForWidth());
        m_descriptionTextEdit->setSizePolicy(sizePolicy);
        m_descriptionTextEdit->setMaximumSize(QSize(16777215, 76));
        m_descriptionTextEdit->setTabChangesFocus(true);
        m_descriptionTextEdit->setAcceptRichText(false);

        m_formLayout->setWidget(2, QFormLayout::FieldRole, m_descriptionTextEdit);


        verticalLayout_2->addLayout(m_formLayout);

        m_verticalSpacer_4 = new QSpacerItem(20, 13, QSizePolicy::Minimum, QSizePolicy::Fixed);

        verticalLayout_2->addItem(m_verticalSpacer_4);

        m_lessonGroupBox = new QGroupBox(CourseEditor);
        m_lessonGroupBox->setObjectName(QString::fromUtf8("m_lessonGroupBox"));
        QSizePolicy sizePolicy1(QSizePolicy::Preferred, QSizePolicy::MinimumExpanding);
        sizePolicy1.setHorizontalStretch(0);
        sizePolicy1.setVerticalStretch(0);
        sizePolicy1.setHeightForWidth(m_lessonGroupBox->sizePolicy().hasHeightForWidth());
        m_lessonGroupBox->setSizePolicy(sizePolicy1);
        horizontalLayout_2 = new QHBoxLayout(m_lessonGroupBox);
        horizontalLayout_2->setObjectName(QString::fromUtf8("horizontalLayout_2"));
        horizontalLayout_2->setContentsMargins(-1, -1, -1, 0);
        m_lessonsSplitter = new QSplitter(m_lessonGroupBox);
        m_lessonsSplitter->setObjectName(QString::fromUtf8("m_lessonsSplitter"));
        m_lessonsSplitter->setOrientation(Qt::Horizontal);
        m_lessonsSplitter->setChildrenCollapsible(false);
        layoutWidget = new QWidget(m_lessonsSplitter);
        layoutWidget->setObjectName(QString::fromUtf8("layoutWidget"));
        m_verticalLayout = new QVBoxLayout(layoutWidget);
        m_verticalLayout->setSpacing(0);
        m_verticalLayout->setObjectName(QString::fromUtf8("m_verticalLayout"));
        m_verticalLayout->setContentsMargins(0, 0, 0, 0);
        m_horizontalLayout = new QHBoxLayout();
        m_horizontalLayout->setSpacing(0);
        m_horizontalLayout->setObjectName(QString::fromUtf8("m_horizontalLayout"));
        m_lessonsLabel = new QLabel(layoutWidget);
        m_lessonsLabel->setObjectName(QString::fromUtf8("m_lessonsLabel"));

        m_horizontalLayout->addWidget(m_lessonsLabel);

        m_horizontalSpacer = new QSpacerItem(40, 20, QSizePolicy::Preferred, QSizePolicy::Minimum);

        m_horizontalLayout->addItem(m_horizontalSpacer);

        m_addLessonButton = new QToolButton(layoutWidget);
        m_addLessonButton->setObjectName(QString::fromUtf8("m_addLessonButton"));
        m_addLessonButton->setEnabled(false);
        QIcon icon;
        QString iconThemeName = QString::fromUtf8("list-add");
        if (QIcon::hasThemeIcon(iconThemeName)) {
            icon = QIcon::fromTheme(iconThemeName);
        } else {
            icon.addFile(QString::fromUtf8(""), QSize(), QIcon::Normal, QIcon::Off);
        }
        m_addLessonButton->setIcon(icon);

        m_horizontalLayout->addWidget(m_addLessonButton);

        m_removeLessonButton = new QToolButton(layoutWidget);
        m_removeLessonButton->setObjectName(QString::fromUtf8("m_removeLessonButton"));
        m_removeLessonButton->setEnabled(false);
        QIcon icon1;
        iconThemeName = QString::fromUtf8("list-remove");
        if (QIcon::hasThemeIcon(iconThemeName)) {
            icon1 = QIcon::fromTheme(iconThemeName);
        } else {
            icon1.addFile(QString::fromUtf8(""), QSize(), QIcon::Normal, QIcon::Off);
        }
        m_removeLessonButton->setIcon(icon1);

        m_horizontalLayout->addWidget(m_removeLessonButton);

        m_horizontalSpacer_2 = new QSpacerItem(10, 10, QSizePolicy::Fixed, QSizePolicy::Minimum);

        m_horizontalLayout->addItem(m_horizontalSpacer_2);

        m_moveLessonUpButton = new QToolButton(layoutWidget);
        m_moveLessonUpButton->setObjectName(QString::fromUtf8("m_moveLessonUpButton"));
        m_moveLessonUpButton->setEnabled(false);
        QIcon icon2;
        iconThemeName = QString::fromUtf8("arrow-up");
        if (QIcon::hasThemeIcon(iconThemeName)) {
            icon2 = QIcon::fromTheme(iconThemeName);
        } else {
            icon2.addFile(QString::fromUtf8(""), QSize(), QIcon::Normal, QIcon::Off);
        }
        m_moveLessonUpButton->setIcon(icon2);

        m_horizontalLayout->addWidget(m_moveLessonUpButton);

        m_moveLessonDownButton = new QToolButton(layoutWidget);
        m_moveLessonDownButton->setObjectName(QString::fromUtf8("m_moveLessonDownButton"));
        m_moveLessonDownButton->setEnabled(false);
        QIcon icon3;
        iconThemeName = QString::fromUtf8("arrow-down");
        if (QIcon::hasThemeIcon(iconThemeName)) {
            icon3 = QIcon::fromTheme(iconThemeName);
        } else {
            icon3.addFile(QString::fromUtf8(""), QSize(), QIcon::Normal, QIcon::Off);
        }
        m_moveLessonDownButton->setIcon(icon3);

        m_horizontalLayout->addWidget(m_moveLessonDownButton);


        m_verticalLayout->addLayout(m_horizontalLayout);

        m_lessonView = new QListView(layoutWidget);
        m_lessonView->setObjectName(QString::fromUtf8("m_lessonView"));
        QSizePolicy sizePolicy2(QSizePolicy::Preferred, QSizePolicy::Expanding);
        sizePolicy2.setHorizontalStretch(0);
        sizePolicy2.setVerticalStretch(0);
        sizePolicy2.setHeightForWidth(m_lessonView->sizePolicy().hasHeightForWidth());
        m_lessonView->setSizePolicy(sizePolicy2);

        m_verticalLayout->addWidget(m_lessonView);

        m_lessonsSplitter->addWidget(layoutWidget);
        layoutWidget_2 = new QWidget(m_lessonsSplitter);
        layoutWidget_2->setObjectName(QString::fromUtf8("layoutWidget_2"));
        m_horizontalLayout_3 = new QHBoxLayout(layoutWidget_2);
        m_horizontalLayout_3->setObjectName(QString::fromUtf8("m_horizontalLayout_3"));
        m_horizontalLayout_3->setContentsMargins(0, 0, 0, 0);
        m_horizontalSpacer_5 = new QSpacerItem(20, 20, QSizePolicy::Fixed, QSizePolicy::Minimum);

        m_horizontalLayout_3->addItem(m_horizontalSpacer_5);

        m_verticalLayout_3 = new QVBoxLayout();
        m_verticalLayout_3->setSpacing(0);
        m_verticalLayout_3->setObjectName(QString::fromUtf8("m_verticalLayout_3"));
        m_formLayout_2 = new QFormLayout();
        m_formLayout_2->setObjectName(QString::fromUtf8("m_formLayout_2"));
        m_formLayout_2->setFieldGrowthPolicy(QFormLayout::ExpandingFieldsGrow);
        m_formLayout_2->setHorizontalSpacing(4);
        m_formLayout_2->setVerticalSpacing(4);
        m_lessonTitleLabel = new QLabel(layoutWidget_2);
        m_lessonTitleLabel->setObjectName(QString::fromUtf8("m_lessonTitleLabel"));

        m_formLayout_2->setWidget(0, QFormLayout::LabelRole, m_lessonTitleLabel);

        m_lessonTitleLineEdit = new KLineEdit(layoutWidget_2);
        m_lessonTitleLineEdit->setObjectName(QString::fromUtf8("m_lessonTitleLineEdit"));
        m_lessonTitleLineEdit->setEnabled(false);

        m_formLayout_2->setWidget(0, QFormLayout::FieldRole, m_lessonTitleLineEdit);

        m_newCharactersLabel = new QLabel(layoutWidget_2);
        m_newCharactersLabel->setObjectName(QString::fromUtf8("m_newCharactersLabel"));

        m_formLayout_2->setWidget(1, QFormLayout::LabelRole, m_newCharactersLabel);

        m_newCharactersLineEdit = new KLineEdit(layoutWidget_2);
        m_newCharactersLineEdit->setObjectName(QString::fromUtf8("m_newCharactersLineEdit"));
        m_newCharactersLineEdit->setEnabled(false);

        m_formLayout_2->setWidget(1, QFormLayout::FieldRole, m_newCharactersLineEdit);


        m_verticalLayout_3->addLayout(m_formLayout_2);

        m_verticalSpacer = new QSpacerItem(20, 13, QSizePolicy::Minimum, QSizePolicy::Fixed);

        m_verticalLayout_3->addItem(m_verticalSpacer);

        m_lessonTextEditor = new LessonTextEditor(layoutWidget_2);
        m_lessonTextEditor->setObjectName(QString::fromUtf8("m_lessonTextEditor"));

        m_verticalLayout_3->addWidget(m_lessonTextEditor);


        m_horizontalLayout_3->addLayout(m_verticalLayout_3);

        m_lessonsSplitter->addWidget(layoutWidget_2);

        horizontalLayout_2->addWidget(m_lessonsSplitter);


        verticalLayout_2->addWidget(m_lessonGroupBox);

#ifndef UI_QT_NO_SHORTCUT
        m_titleLabel->setBuddy(m_titleLineEdit);
        m_keyboardLayoutLabel->setBuddy(m_keyboardLayoutComboBox);
        m_descriptionLabel->setBuddy(m_descriptionTextEdit);
        m_lessonsLabel->setBuddy(m_lessonView);
        m_lessonTitleLabel->setBuddy(m_lessonTitleLineEdit);
        m_newCharactersLabel->setBuddy(m_newCharactersLineEdit);
#endif // QT_NO_SHORTCUT
        QWidget::setTabOrder(m_titleLineEdit, m_keyboardLayoutComboBox);
        QWidget::setTabOrder(m_keyboardLayoutComboBox, m_descriptionTextEdit);
        QWidget::setTabOrder(m_descriptionTextEdit, m_lessonView);
        QWidget::setTabOrder(m_lessonView, m_addLessonButton);
        QWidget::setTabOrder(m_addLessonButton, m_removeLessonButton);
        QWidget::setTabOrder(m_removeLessonButton, m_moveLessonUpButton);
        QWidget::setTabOrder(m_moveLessonUpButton, m_moveLessonDownButton);
        QWidget::setTabOrder(m_moveLessonDownButton, m_lessonTitleLineEdit);
        QWidget::setTabOrder(m_lessonTitleLineEdit, m_newCharactersLineEdit);

        retranslateUi(CourseEditor);

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

    void retranslateUi(QWidget *CourseEditor)
    {
        m_titleLabel->setText(tr2i18n("Title:", 0));
        m_keyboardLayoutLabel->setText(tr2i18n("Keyboard layout:", 0));
        m_descriptionLabel->setText(tr2i18n("Description:", 0));
        m_lessonsLabel->setText(tr2i18n("Lessons:", 0));
#ifndef UI_QT_NO_TOOLTIP
        m_addLessonButton->setToolTip(tr2i18n("Add new lesson", 0));
#endif // QT_NO_TOOLTIP
#ifndef UI_QT_NO_TOOLTIP
        m_removeLessonButton->setToolTip(tr2i18n("Remove lesson", 0));
#endif // QT_NO_TOOLTIP
#ifndef UI_QT_NO_TOOLTIP
        m_moveLessonUpButton->setToolTip(tr2i18n("Move lesson up", 0));
#endif // QT_NO_TOOLTIP
#ifndef UI_QT_NO_TOOLTIP
        m_moveLessonDownButton->setToolTip(tr2i18n("Move lesson down", 0));
#endif // QT_NO_TOOLTIP
        m_lessonTitleLabel->setText(tr2i18n("Title:", 0));
        m_newCharactersLabel->setText(tr2i18n("New characters:", 0));
        Q_UNUSED(CourseEditor);
    } // retranslateUi

};

namespace Ui {
    class CourseEditor: public Ui_CourseEditor {};
} // namespace Ui

QT_END_NAMESPACE

#endif // COURSEEDITOR_H

