QGLWidget - how to draw from another class or passing data to QGLWidget
Solved
General and Desktop
-
Hello,
i have implemented something similar to the simle GL-example .
I have another class, that contains some data which gets calculated somewhere else (list of pairs of points that shall be painted as lines)
How can i draw from this other class or pass the data to the GLWidgetClass to be used in the draw() methode?