Qt 6.12 LTS is out! See what's new in the release
blog
How not to draw out of scene bounds?
General and Desktop
1
Posts
1
Posters
476
Views
1
Watching
-
I'm new with Qt. Regarding the image below (paintbrush), I show you what I think it is the QGraphicsView and QGraphicsScene. As you can see the blue circle doesn't draw outside scene bounds. But that's not the default behavior of a QGraphicsScene, and I want my QGraphicsItem not to draw outside scene bounds. How can I achieve this?