feat: add delete hover animation

This commit is contained in:
parker
2025-06-24 01:42:52 +01:00
parent 7611f358af
commit 7f6b7d0573
2 changed files with 19 additions and 3 deletions

View File

@@ -37,7 +37,10 @@ private:
QPainterPath path_;
QRectF boundRect_;
qreal padding_=40;
QPointF hoverPos_;
void updatePath();
protected:
void hoverMoveEvent(QGraphicsSceneHoverEvent *event) override;
};