QGraphicsView free camera
-
I have a QGraphicsView window with a scene with size of a few thousand pixels. I use DragMode.ScrollHandDrag to move around the scene. According to my idea I want to make it possible for the user to inspect the area outside the scene boundary.
Can I do something like this?I want to make a kind of workspace similar to programs like figma or draw.io
-
@Fridreg said in QGraphicsView free camera house of hazards :
I have a QGraphicsView window with a scene with size of a few thousand pixels. I use DragMode.ScrollHandDrag to move around the scene. According to my idea I want to make it possible for the user to inspect the area outside the scene boundary.
Can I do something like this?
I want to make a kind of workspace similar to programs like figma or draw.ioYes, you can achieve the desired behavior of allowing users to inspect the area outside the scene boundary in your QGraphicsView window. To do this, you'll need to implement a custom viewport that extends the visible area beyond the scene's bounds.
-