Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
Hello guys,
I am working on a program which has a large OpenGL surface. I want to put it into a ScrollArea, so the user can pan with the scroll bars.
But I figured that when I move the slider of the scrollbar, the OpenGL surface stays. I can't move it.
Is there an example of this?
Thank you.
Use another approach: instead of putting it inside a QScrollArea, put it as the viewport of a QAbstractScrollArea, and then manage/use the scollbars' values and signals to scroll the OpenGL view itself?
Ok, I can try it. But why scrollArea doesn't support qglWidget?
My guess would it be because it paints on screen.