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 <QWidget>
class ElaProgressRingPrivate;
class ELA_EXPORT ElaProgressRing : public QWidget
{
class ELA_EXPORT ElaProgressRing : public QWidget {
Q_OBJECT
Q_Q_CREATE(ElaProgressRing);
Q_PROPERTY_CREATE_Q_H(bool, IsBusying)
@@ -21,7 +20,7 @@ class ELA_EXPORT ElaProgressRing : public QWidget
Q_PROPERTY_CREATE_Q_H(int, Value)
Q_PROPERTY_CREATE_Q_H(int, ValuePixelSize)
public:
explicit ElaProgressRing(QWidget* parent = nullptr);
explicit ElaProgressRing(QWidget *parent = nullptr);
~ElaProgressRing() override;
void setRange(int min, int max);
@@ -30,7 +29,7 @@ Q_SIGNALS:
Q_SIGNAL void rangeChanged(int min, int max);
protected:
virtual void paintEvent(QPaintEvent* event) override;
virtual void paintEvent(QPaintEvent *event) override;
};
#endif //ELAFRAMEWORK_ELAWIDGETTOOLS_INCLUDE_ELAPROGRESSRING_H_
#endif // ELAFRAMEWORK_ELAWIDGETTOOLS_INCLUDE_ELAPROGRESSRING_H_