28 lines
688 B
C++
28 lines
688 B
C++
#ifndef ELAPLAINTEXTEDITPRIVATE_H
|
|
#define ELAPLAINTEXTEDITPRIVATE_H
|
|
|
|
#include <QObject>
|
|
|
|
#include "ElaDef.h"
|
|
class ElaEvent;
|
|
class ElaPlainTextEdit;
|
|
class ElaPlainTextEditStyle;
|
|
class ElaPlainTextEditPrivate : public QObject
|
|
{
|
|
Q_OBJECT
|
|
Q_D_CREATE(ElaPlainTextEdit)
|
|
|
|
public:
|
|
explicit ElaPlainTextEditPrivate(QObject* parent = nullptr);
|
|
~ElaPlainTextEditPrivate() override;
|
|
Q_INVOKABLE void onWMWindowClickedEvent(QVariantMap data);
|
|
Q_SLOT void onThemeChanged(ElaThemeType::ThemeMode themeMode);
|
|
|
|
private:
|
|
ElaThemeType::ThemeMode _themeMode;
|
|
ElaPlainTextEditStyle* _style{nullptr};
|
|
ElaEvent* _focusEvent{nullptr};
|
|
};
|
|
|
|
#endif // ELAPLAINTEXTEDITPRIVATE_H
|