A rubberband is a rectangle that appears when performing selections by dragging the mouse. Not only in graphics views but also in items views. It shows you the selection bounds.Off Topic Question : What does rubberbanding mean? I've read this in a lot of threads and still can't imagine what this does.
No example, but subclassing the view and overriding drawForeground should solve the painting problem.Off Topic Question: Can Anyone here direct/point me to a very good example of how to subclass QGraphicsView in order for me to place markers (dots) in my QGraphicsView? I was thinking of markers like in the Affine Transformations example in the demos of Qt. I can't understand the hoverpoint mechanism for the Affine Transformations example.
For interaction, you could override mouseMove/Press events for the view and check for the dots coordinates and act accordingly.
Regards
Bookmarks