Hi everybody,

This post is the second round of a previous one where I wonder which technology to use (QGLWidget, QWidget or QCanvasItem) in order to draw a custom widget with full opacity control (also for the widget background).

I wonder now if it is possible to create an objet, not inherited from QWigdet or any other object used for drawing, and implements in it some drawing function using OpenGL primitives call. Thus, it will be possible to draw on a main window view with opacity control.

I would like to know if someone has already implemented such a solution and could tell me what I should be aware of. I already know that if I developp a class that does not inherit from QWidget, I will not have the support it provides (event management functions).

Thanks in advance for your help.