Qt 6.11 is out! See what's new in the release
blog
Add a QGraphicsItem to be displayed always over a QGraphicsView
-
Hi,
I have a QGraphicsScene with some items and I have animated the QGraphicsView by using QVariantAnimation which changes the centerOn of the QGraphicsView. I want to display in the QGraphicsView widget an item (a rectangle) which must be fixed in the screen while the animation goes on. How can that be achieved?Thanks.
-
Hi,
IIRC, the
QGraphicsItem::ItemIgnoresTransformationsflag should be of help.