Unsolved Panning of scene area in QGraphicsView
-
Can some one help me , how do I pan the scene area with out using of scrollbar.
I want to pan the scene area irrespective of the scroll bar policy. -
-
he first link is working with Scroll bar , but I need to pan without scroll bar.
I tried the second link which does not pan at all.
-
he first link is working with Scroll bar , but I need to pan without scroll bar.
A comment states:
You no longer have to enable the scrollbars in Qt 5.0 – vsz Jan 19 '17 at 14:31
That, and that it worked for others, is all I know.
-
Solution in the link one works ,when scroll bar is enabled and its moves based on the scroll .
If I zoom out the widget scroll bar is automatically goes off and panning is not working.looking for a solution that even though scroll bar is off , I am able to pan the complete scene.