PDA

View Full Version : GLWidget based Designer Plugin leaves nasty trace in Qt Designer



ghorwin
20th January 2007, 18:11
Hi there,

I created a QGLWidget based Designer plugin. While this works all very nice and well, once I start dragging the new widget in Designer from the toolbox onto my form, it leaves a nasty trace. Take a look at the attached picture.

Any suggestions what I could do about it? Is something missing in my plugin or is that a QGLWidget related problem?

Thanks for any ideas...
Andreas

PS: I implemented all required Gl functions (initialisation, resize, the drawing is done in the paintEvent)

ghorwin
22nd January 2007, 12:13
To illustrate the problem I created two minimal Designer plugins, one based on QWidget which works fine and the other based on QGLWidget, which causes the trouble.

Please let me know if
1. the problem appears on your plattform/machine/Qt Version as well
2. you have a solution for this problem

Thanks a lot!
Andreas