PDA

View Full Version : application that is not hidden when inactive



afflictedd2
8th January 2011, 16:19
Hi everyone,

I want to build an application that shows up in front of other applications. Basically that it doesn't hide when it isn't the active window. Is it possible to do this with Qt. Even better it might be to allow it to show up in the task bar or dock. What classes in Qt could I look at to do something like this.

Ted

Lykurg
8th January 2011, 16:21
Have a look at Qt::WindowStaysOnTopHint.

high_flyer
8th January 2011, 17:23
As a side note, AFIK, this behavior depends on the window manager, so it could be that some native code will be needed on some systems.