chore: 格式化ElaWidgetTools代码
This commit is contained in:
@@ -6,23 +6,22 @@
|
||||
#include "ElaDef.h"
|
||||
class ElaEvent;
|
||||
class ElaLineEdit;
|
||||
class ElaLineEditPrivate : public QObject
|
||||
{
|
||||
class ElaLineEditPrivate : public QObject {
|
||||
Q_OBJECT
|
||||
Q_D_CREATE(ElaLineEdit)
|
||||
Q_PROPERTY_CREATE_D(int, BorderRadius)
|
||||
Q_PROPERTY_CREATE_D(bool, IsClearButtonEnable)
|
||||
Q_PROPERTY_CREATE(qreal, ExpandMarkWidth)
|
||||
public:
|
||||
explicit ElaLineEditPrivate(QObject* parent = nullptr);
|
||||
explicit ElaLineEditPrivate(QObject *parent = nullptr);
|
||||
~ElaLineEditPrivate() 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;
|
||||
ElaEvent* _focusEvent{nullptr};
|
||||
qreal _textSpacing{0.5};
|
||||
ElaEvent *_focusEvent{nullptr};
|
||||
qreal _textSpacing{0.5};
|
||||
};
|
||||
|
||||
#endif // ELALINEEDITPRIVATE_H
|
||||
|
||||
Reference in New Issue
Block a user