[Qt-interest] disappearing widgets in QGraphicsScene

Yifei Li yifli at mtu.edu
Mon Nov 9 16:11:47 CET 2009


Hi folks,

I have a class derived from QGraphicsScene and I reimplemented drawBackground to render 3D objects using opengl.

I also embeded several widgets in my scene. Those widgets show up fine at the begining, but after I load and display 3D objects, they 'disappear'.

However, I can still manipulate one widget without seeing it ( I know it's there because the shape of cursor will be changed on mouse hover events ). So I guess other widgets (QLabels) are also there but just invisible.

Can anyone tell me what could be the reason? Thanks

Yifei




More information about the Qt-interest-old mailing list