chore: 格式化ElaWidgetTools代码

This commit is contained in:
sleepwithoutbz
2025-09-20 01:39:00 +08:00
parent d2fded145d
commit 4ab391f8a1
394 changed files with 10913 additions and 15860 deletions

View File

@@ -6,8 +6,7 @@
#include "ElaDef.h"
class ElaPushButton;
class ElaPushButtonPrivate : public QObject
{
class ElaPushButtonPrivate : public QObject {
Q_OBJECT
Q_D_CREATE(ElaPushButton)
Q_PROPERTY_CREATE_D(int, BorderRadius)
@@ -18,14 +17,14 @@ class ElaPushButtonPrivate : public QObject
Q_PROPERTY_CREATE_D(QColor, LightPressColor)
Q_PROPERTY_CREATE_D(QColor, DarkPressColor)
public:
explicit ElaPushButtonPrivate(QObject* parent = nullptr);
explicit ElaPushButtonPrivate(QObject *parent = nullptr);
~ElaPushButtonPrivate();
private:
QColor _lightTextColor;
QColor _darkTextColor;
bool _isPressed{false};
int _shadowBorderWidth{3};
QColor _lightTextColor;
QColor _darkTextColor;
bool _isPressed{false};
int _shadowBorderWidth{3};
ElaThemeType::ThemeMode _themeMode;
};