#include <klocalizedstring.h>

/********************************************************************************
** Form generated from reading UI file 'lessontexteditor.ui'
**
** Created by: Qt User Interface Compiler version 5.9.4
**
** 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 <QtWidgets/QAction>
#include <QtWidgets/QApplication>
#include <QtWidgets/QButtonGroup>
#include <QtWidgets/QHBoxLayout>
#include <QtWidgets/QHeaderView>
#include <QtWidgets/QLabel>
#include <QtWidgets/QSpacerItem>
#include <QtWidgets/QToolButton>
#include <QtWidgets/QVBoxLayout>
#include <QtWidgets/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(QStringLiteral("LessonTextEditor"));
        LessonTextEditor->resize(632, 423);
        verticalLayout = new QVBoxLayout(LessonTextEditor);
        verticalLayout->setSpacing(0);
        verticalLayout->setContentsMargins(0, 0, 0, 0);
        verticalLayout->setObjectName(QStringLiteral("verticalLayout"));
        horizontalLayout = new QHBoxLayout();
        horizontalLayout->setSpacing(0);
        horizontalLayout->setObjectName(QStringLiteral("horizontalLayout"));
        horizontalLayout->setContentsMargins(-1, -1, 0, -1);
        m_openTextFileButton = new QToolButton(LessonTextEditor);
        m_openTextFileButton->setObjectName(QStringLiteral("m_openTextFileButton"));
        QIcon icon;
        QString iconThemeName = QStringLiteral("document-open");
        if (QIcon::hasThemeIcon(iconThemeName)) {
            icon = QIcon::fromTheme(iconThemeName);
        } else {
            icon.addFile(QStringLiteral(""), 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(QStringLiteral("m_reformatLessonTextButton"));
        QIcon icon1;
        iconThemeName = QStringLiteral("format-justify-fill");
        if (QIcon::hasThemeIcon(iconThemeName)) {
            icon1 = QIcon::fromTheme(iconThemeName);
        } else {
            icon1.addFile(QStringLiteral(""), 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(QStringLiteral("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(QStringLiteral("m_lessonTextEdit"));
        QFont font;
        font.setFamily(QStringLiteral("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...", Q_NULLPTR));
#endif // QT_NO_TOOLTIP
#ifndef UI_QT_NO_TOOLTIP
        m_reformatLessonTextButton->setToolTip(tr2i18n("Wrap lines automatically", Q_NULLPTR));
#endif // QT_NO_TOOLTIP
        m_characterCountLabel->setText(tr2i18n("0 Characters", Q_NULLPTR));
        Q_UNUSED(LessonTextEditor);
    } // retranslateUi

};

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

QT_END_NAMESPACE

#endif // LESSONTEXTEDITOR_H

