chore: 格式化ElaWidgetTools代码
This commit is contained in:
@@ -8,8 +8,7 @@
|
||||
#include "ElaProperty.h"
|
||||
|
||||
class ElaInteractiveCardPrivate;
|
||||
class ELA_EXPORT ElaInteractiveCard : public QPushButton
|
||||
{
|
||||
class ELA_EXPORT ElaInteractiveCard : public QPushButton {
|
||||
Q_OBJECT
|
||||
Q_Q_CREATE(ElaInteractiveCard)
|
||||
Q_PROPERTY_CREATE_Q_H(int, BorderRadius)
|
||||
@@ -24,12 +23,12 @@ class ELA_EXPORT ElaInteractiveCard : public QPushButton
|
||||
Q_PROPERTY_CREATE_Q_H(ElaCardPixType::PixMode, CardPixMode);
|
||||
|
||||
public:
|
||||
explicit ElaInteractiveCard(QWidget* parent = nullptr);
|
||||
explicit ElaInteractiveCard(QWidget *parent = nullptr);
|
||||
~ElaInteractiveCard();
|
||||
void setCardPixmapSize(int width, int height);
|
||||
|
||||
protected:
|
||||
void paintEvent(QPaintEvent* event) override;
|
||||
void paintEvent(QPaintEvent *event) override;
|
||||
};
|
||||
|
||||
#endif // ELAINTERACTIVECARD_H
|
||||
|
||||
Reference in New Issue
Block a user