feat: add delete hover animation
This commit is contained in:
@@ -37,7 +37,10 @@ private:
|
||||
QPainterPath path_;
|
||||
QRectF boundRect_;
|
||||
qreal padding_=40;
|
||||
QPointF hoverPos_;
|
||||
|
||||
void updatePath();
|
||||
protected:
|
||||
void hoverMoveEvent(QGraphicsSceneHoverEvent *event) override;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user