durbrak
9th September 2007, 13:35
Hey guys.
I got a rather simple question.
I have a QGraphicsView set up. Now I want to have some controls, e.g. QPushButton, on top of the QGraphicsView. The control should not change its size when the QGraphicsView is being scaled and the control should also not move along, when the graphics view is being dragged/scrolled aside. So it should be something like Google Maps (you know, where the Zoom and the Map/Hybrid/Satellite-buttons are always on top?)
I'm not quite sure what is the best way to achieve this o.O
Can anyone give me a tiny hint or something? It's not like there's some QZAxisLayout or something, lol :)
I got a rather simple question.
I have a QGraphicsView set up. Now I want to have some controls, e.g. QPushButton, on top of the QGraphicsView. The control should not change its size when the QGraphicsView is being scaled and the control should also not move along, when the graphics view is being dragged/scrolled aside. So it should be something like Google Maps (you know, where the Zoom and the Map/Hybrid/Satellite-buttons are always on top?)
I'm not quite sure what is the best way to achieve this o.O
Can anyone give me a tiny hint or something? It's not like there's some QZAxisLayout or something, lol :)