[osg-users] QOSGWidget and additional dialogs

Roman Grigoriev grigoriev at gosniias.ru
Mon Mar 16 23:56:57 PDT 2009


Good day!

I use QT dialogs to create my app interface and use QOSGWidget based on osg
example

So when I need to load my objects I call my dialog using dialog->show(); and
after I attach my nodes to root node 

I call dialog->close(); and all works fine but only in the first time so
when I second time use this sequence I got freeze window and even keyboard
events don't work

If I load my objects using keypress event and not using QT dialogs all works
fine.

I think that after I call dialog I need to set focus to main window and I
don't know how can I do this.

Thanx in advance

Bye

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20090317/be15aaf3/attachment-0002.htm>


More information about the osg-users mailing list