hi,
what are the different ways a QGLWidget can be put into QGraphicsScene/View ?
it would be better if you can provide code snippet.
thank you.
hi,
what are the different ways a QGLWidget can be put into QGraphicsScene/View ?
it would be better if you can provide code snippet.
thank you.
Basically you can make it a viewport of graphics view. As far as I remember using QGraphicsProxyWidget with a GL widget doesn't work, so that one is off.
Hi wysota,
1) ok, after making viewport, where should i put OpenGL calls, e.g. in drawBackground() method or ther are other posibilities ???
2) can I connect (draw a line between) a QGLWidget's graphics primitive with QGraphicsItem or widget ? how? Like that is avaliable ni vtk demo.
Thank you.
Bookmarks