chore: 格式化ElaWidgetTools代码
This commit is contained in:
@@ -8,13 +8,12 @@
|
||||
#include "ElaProperty.h"
|
||||
class ElaGraphicsItem;
|
||||
class ElaGraphicsLineItem;
|
||||
class ElaGraphicsLineItemPrivate
|
||||
{
|
||||
class ElaGraphicsLineItemPrivate {
|
||||
Q_D_CREATE(ElaGraphicsLineItem)
|
||||
Q_PRIVATE_CREATE_D(QPointF, StartPoint);
|
||||
Q_PRIVATE_CREATE_D(QPointF, EndPoint);
|
||||
Q_PRIVATE_CREATE_D(ElaGraphicsItem*, StartItem);
|
||||
Q_PRIVATE_CREATE_D(ElaGraphicsItem*, EndItem);
|
||||
Q_PRIVATE_CREATE_D(ElaGraphicsItem *, StartItem);
|
||||
Q_PRIVATE_CREATE_D(ElaGraphicsItem *, EndItem);
|
||||
Q_PRIVATE_CREATE_D(int, StartItemPort);
|
||||
Q_PRIVATE_CREATE_D(int, EndItemPort);
|
||||
|
||||
@@ -23,8 +22,8 @@ public:
|
||||
~ElaGraphicsLineItemPrivate();
|
||||
|
||||
private:
|
||||
QMap<ElaGraphicsItem*, int> _linkItemMap;
|
||||
bool _isCreateWithItem{true};
|
||||
QMap<ElaGraphicsItem *, int> _linkItemMap;
|
||||
bool _isCreateWithItem{true};
|
||||
};
|
||||
|
||||
#endif // ELAGRAPHICSLINEITEMPRIVATE_H
|
||||
|
||||
Reference in New Issue
Block a user