PDA

View Full Version : Changing Default QRubberBand in QGraphicsView



MSUdom5
16th May 2013, 21:53
How do I access/change the QRubberBand that gets used in a QGraphicsView when I setDragMode(QGraphicsView::RubberBandDrag)? I just want to change the color and thickness of it, not its behavior.

MSUdom5
24th May 2013, 20:37
Just wanted to follow up:

After looking through Qt code, I've come to the conclusion that there's no way to change the default rubber band pen/brush without reimplementing the behavior. If I'm wrong about this, someone please let me know.