[Qt-interest] Widget with mall title bar over OpenGL scene
Tilmann Krüger
Tilmann.Krueger at inpho.de
Tue Mar 10 12:37:28 CET 2009
Hello everybody,
I played around with the modelviewer example (from Qt Quaterly 26, it
demonstrates rendering translucent widgets in front of an OpenGL scene).
I tried to change the large dialog title bars to small toolbox title bars.
I guess the standard way to do this is creating a QWidget with the
Qt::Tool flag set. However, this doesn't work in that example, as the title
bars remain exactly the same. (I changed OpenGLScene::createDialog() to create
a QWidget instead of a QDialog, with QWidget (0, Qt::Tool|...) ).
Is anybody aware of a solution to this problem?
I tried everything with Qt 4.5.0 on Windows XP.
Thank you for reading!
Best Regards / Mit freundlichen Grüßen
Tilmann Krüger
--
INPHO GmbH * Smaragdweg 1 * 70174 Stuttgart * Germany
phone: +49 711 2288 10 * fax: +49 711 2288 111 * web: www.inpho.de
place of business: Stuttgart * managing director: Johannes Saile
commercial register: Stuttgart, HRB 9586
Leader in Photogrammetry and Digital Surface Modelling
More information about the Qt-interest-old
mailing list