PDA

View Full Version : How to add QSlider to QGLWidget



Mixpicles
30th June 2011, 16:34
Hello everybody,

I have inherited from QGLWidget and within i render simple Geometry and do some user interaction with the mouse.

Now i would like to add 2 QSlider which shalll hover over my scene for scaling purposes.


Unfortunately I do not have any Idea where to start with.

Any hints towards a solution are highly appreciated.

Regards

mcosta
30th June 2011, 19:41
I Suggest you to compose a master Widget with three children:

QGLWidget
HorizontalSlider
VerticalSlider


The result is
6620