chore: 格式化ElaWidgetTools代码
This commit is contained in:
@@ -7,21 +7,20 @@
|
||||
class ElaEvent;
|
||||
class ElaPlainTextEdit;
|
||||
class ElaPlainTextEditStyle;
|
||||
class ElaPlainTextEditPrivate : public QObject
|
||||
{
|
||||
class ElaPlainTextEditPrivate : public QObject {
|
||||
Q_OBJECT
|
||||
Q_D_CREATE(ElaPlainTextEdit)
|
||||
|
||||
public:
|
||||
explicit ElaPlainTextEditPrivate(QObject* parent = nullptr);
|
||||
explicit ElaPlainTextEditPrivate(QObject *parent = nullptr);
|
||||
~ElaPlainTextEditPrivate() override;
|
||||
Q_INVOKABLE void onWMWindowClickedEvent(QVariantMap data);
|
||||
Q_SLOT void onThemeChanged(ElaThemeType::ThemeMode themeMode);
|
||||
Q_SLOT void onThemeChanged(ElaThemeType::ThemeMode themeMode);
|
||||
|
||||
private:
|
||||
ElaThemeType::ThemeMode _themeMode;
|
||||
ElaPlainTextEditStyle* _style{nullptr};
|
||||
ElaEvent* _focusEvent{nullptr};
|
||||
ElaPlainTextEditStyle *_style{nullptr};
|
||||
ElaEvent *_focusEvent{nullptr};
|
||||
};
|
||||
|
||||
#endif // ELAPLAINTEXTEDITPRIVATE_H
|
||||
|
||||
Reference in New Issue
Block a user