chore: 格式化ElaWidgetTools代码
This commit is contained in:
@@ -7,8 +7,7 @@
|
||||
|
||||
#include "ElaDef.h"
|
||||
class ElaIconButton;
|
||||
class ElaIconButtonPrivate : public QObject
|
||||
{
|
||||
class ElaIconButtonPrivate : public QObject {
|
||||
Q_OBJECT
|
||||
Q_D_CREATE(ElaIconButton)
|
||||
Q_PROPERTY_CREATE_D(int, BorderRadius)
|
||||
@@ -23,12 +22,12 @@ class ElaIconButtonPrivate : public QObject
|
||||
Q_PROPERTY_CREATE_D(bool, IsSelected);
|
||||
Q_PROPERTY_CREATE(int, HoverAlpha)
|
||||
public:
|
||||
explicit ElaIconButtonPrivate(QObject* parent = nullptr);
|
||||
explicit ElaIconButtonPrivate(QObject *parent = nullptr);
|
||||
~ElaIconButtonPrivate();
|
||||
|
||||
private:
|
||||
QPixmap _iconPix;
|
||||
bool _isAlphaAnimationFinished{true};
|
||||
QPixmap _iconPix;
|
||||
bool _isAlphaAnimationFinished{true};
|
||||
ElaThemeType::ThemeMode _themeMode;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user