chore: 格式化ElaWidgetTools代码
This commit is contained in:
@@ -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_
|
||||
|
||||
Reference in New Issue
Block a user