Override the QGraphicsItem::shape() function . This function is used in collision detection, and u can precisely give the shape of arrow in it. Use QPainterPath to define the shape of the arrow.
I guess this helps![]()
Override the QGraphicsItem::shape() function . This function is used in collision detection, and u can precisely give the shape of arrow in it. Use QPainterPath to define the shape of the arrow.
I guess this helps![]()
Bookmarks