hi.
I want to implement a float window on maemo. And in windows we use the function setWindowFlags(Qt::WindowStaysOnTopHint), but when run in maemo it also fullscreen.
do some one told me how to implement a float window on maemo using qt. thanks~!
hi.
I want to implement a float window on maemo. And in windows we use the function setWindowFlags(Qt::WindowStaysOnTopHint), but when run in maemo it also fullscreen.
do some one told me how to implement a float window on maemo using qt. thanks~!
Hi xiaojun,
windows manager doesn't allow floating windows. Banners are a special case.. but they have a special window type not supported by Qt (
http://doc.qt.nokia.com/4.6/qt.html#WindowType-enum).
You can change the window type, but I don't think you will able to get it working.
Last edited by gnuton; 2010-09-08 at 07:46. Reason: More details...
Do you wish to display another floating window on top of your main one or ? Maemo does not really encourage/support floating ones (except with things like Hildon banners or slide-in Dialogs) as usually they impede on the mobile usage and would have window manager/focus issues as well. Can you describe your use case, maybe there is a simpler way to accomplish what you are trying to do ?