zooming/panning over gui
-
Hi all!,
i a nooby. I have a nice gui with buttons setup in QT designer. But what i want is to implement some navigation controls.
So the buttons are like stages of a pipeline set into a long vertical canvas, and the user can navigate around the gui with the up/down/left/right buttons.
I basically want to run the program and have the view zoomed in with the highlighted button centered in frame, and as i click down, it highlights the next button in the frame below and the viewport pans down and centres this button.
I will later likely want additional key presses connected to zoom in and out as well to reveal the gui in full frame.
however i think the only way to do this is to include a graphics view widget. But i would need to fit my current gui into the graphics view ? in order to have that zoom functionality. But i cant do this in qt designer and it messes up my formatting.
Can anyone shed some light on how this can be accomplished?
thanks!