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

/********************************************************************************
** Form generated from reading UI file 'lessontexteditor.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_LESSONTEXTEDITOR_H
#define UI_LESSONTEXTEDITOR_H

#include <QtCore/QVariant>
#include <QtGui/QAction>
#include <QtGui/QApplication>
#include <QtGui/QButtonGroup>
#include <QtGui/QHBoxLayout>
#include <QtGui/QHeaderView>
#include <QtGui/QLabel>
#include <QtGui/QSpacerItem>
#include <QtGui/QToolButton>
#include <QtGui/QVBoxLayout>
#include <QtGui/QWidget>
#include "ktextedit.h"

QT_BEGIN_NAMESPACE

class Ui_LessonTextEditor
{
public:
    QVBoxLayout *verticalLayout;
    QHBoxLayout *horizontalLayout;
    QToolButton *m_openTextFileButton;
    QToolButton *m_reformatLessonTextButton;
    QSpacerItem *horizontalSpacer;
    QLabel *m_characterCountLabel;
    KTextEdit *m_lessonTextEdit;

    void setupUi(QWidget *LessonTextEditor)
    {
        if (LessonTextEditor->objectName().isEmpty())
            LessonTextEditor->setObjectName(QString::fromUtf8("LessonTextEditor"));
        LessonTextEditor->resize(632, 423);
        verticalLayout = new QVBoxLayout(LessonTextEditor);
        verticalLayout->setSpacing(0);
        verticalLayout->setContentsMargins(0, 0, 0, 0);
        verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
        horizontalLayout = new QHBoxLayout();
        horizontalLayout->setSpacing(0);
        horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout"));
        horizontalLayout->setContentsMargins(-1, -1, 0, -1);
        m_openTextFileButton = new QToolButton(LessonTextEditor);
        m_openTextFileButton->setObjectName(QString::fromUtf8("m_openTextFileButton"));
        QIcon icon;
        QString iconThemeName = QString::fromUtf8("document-open");
        if (QIcon::hasThemeIcon(iconThemeName)) {
            icon = QIcon::fromTheme(iconThemeName);
        } else {
            icon.addFile(QString::fromUtf8(""), QSize(), QIcon::Normal, QIcon::Off);
        }
        m_openTextFileButton->setIcon(icon);
        m_openTextFileButton->setAutoRaise(true);

        horizontalLayout->addWidget(m_openTextFileButton);

        m_reformatLessonTextButton = new QToolButton(LessonTextEditor);
        m_reformatLessonTextButton->setObjectName(QString::fromUtf8("m_reformatLessonTextButton"));
        QIcon icon1;
        iconThemeName = QString::fromUtf8("format-justify-fill");
        if (QIcon::hasThemeIcon(iconThemeName)) {
            icon1 = QIcon::fromTheme(iconThemeName);
        } else {
            icon1.addFile(QString::fromUtf8(""), QSize(), QIcon::Normal, QIcon::Off);
        }
        m_reformatLessonTextButton->setIcon(icon1);
        m_reformatLessonTextButton->setAutoRaise(true);

        horizontalLayout->addWidget(m_reformatLessonTextButton);

        horizontalSpacer = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);

        horizontalLayout->addItem(horizontalSpacer);

        m_characterCountLabel = new QLabel(LessonTextEditor);
        m_characterCountLabel->setObjectName(QString::fromUtf8("m_characterCountLabel"));
        m_characterCountLabel->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);

        horizontalLayout->addWidget(m_characterCountLabel);


        verticalLayout->addLayout(horizontalLayout);

        m_lessonTextEdit = new KTextEdit(LessonTextEditor);
        m_lessonTextEdit->setObjectName(QString::fromUtf8("m_lessonTextEdit"));
        QFont font;
        font.setFamily(QString::fromUtf8("Monospace"));
        m_lessonTextEdit->setFont(font);
        m_lessonTextEdit->setLineWrapMode(QTextEdit::NoWrap);
        m_lessonTextEdit->setAcceptRichText(false);

        verticalLayout->addWidget(m_lessonTextEdit);

        QWidget::setTabOrder(m_lessonTextEdit, m_openTextFileButton);
        QWidget::setTabOrder(m_openTextFileButton, m_reformatLessonTextButton);

        retranslateUi(LessonTextEditor);

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

    void retranslateUi(QWidget *LessonTextEditor)
    {
#ifndef UI_QT_NO_TOOLTIP
        m_openTextFileButton->setToolTip(tr2i18n("Open a text file...", 0));
#endif // QT_NO_TOOLTIP
#ifndef UI_QT_NO_TOOLTIP
        m_reformatLessonTextButton->setToolTip(tr2i18n("Wrap lines automatically", 0));
#endif // QT_NO_TOOLTIP
        m_characterCountLabel->setText(tr2i18n("0 Characters", 0));
        Q_UNUSED(LessonTextEditor);
    } // retranslateUi

};

namespace Ui {
    class LessonTextEditor: public Ui_LessonTextEditor {};
} // namespace Ui

QT_END_NAMESPACE

#endif // LESSONTEXTEDITOR_H

