How not to draw out of scene bounds?

  • 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?


Log in to reply

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.