QGraphicsView, OpenGL widgets and event handling
Hi,
I would like to create a simple image viewer application where the images are display with OpenGL but I also would like to be able to have these images handling event so that the user will be able to some operations on this image.
I create a QGraphicsView with a QGraphicsScene but it seems that my OpenGL renderer can't interact with the QWidget I added in the QGraphicsScene. Is it possible or not?
Can I create my own widget so that my OpenGL renderer takes the responsibility of rendering the widget and keep Qt handling the events? (Any transformation synchronization system?)
Hope there are answers to this ... not sure.
Thanks,
Christophe
Re: QGraphicsView, OpenGL widgets and event handling
Please provide some code. It's hard to understand what your problem is.
Re: QGraphicsView, OpenGL widgets and event handling
Thanks but I found what I was looking for (hopefully!)
http://labs.trolltech.com/blogs/2008...sion-wolfenqt/