PDA

View Full Version : QGraphicsview RubberBand Drag Mode



gopikrishnav
14th December 2009, 07:37
Hi,

I would like to know if there is a way to stop the GraphicsScene Paint Event when using the RubberBand Drag mode on Graphicsview.

The reason is, I am handling the Zoom operations in my own customized slot based on the mouse Start and End points. So, I don’t want to carryout any paint events during Rubber Band Drag mode. This is degrading the performance when there are more GraphicItems on the Scene.

I tired to use QRubberBand Class instead of RubberBand Drag mode. But no luck.
Can anyone help me on this issue?

Thanks in Advance
Gopikrishna