PDA

View Full Version : Qt::Window always above another Qt::Window



Jocker16
27th January 2009, 22:55
I have two QWidget's with the WindowFlags Qt::Window. Does there exist a solution, that one of the Qt::Window is always above the other Qt::Window? I know, that if I would use Qt::Dialog instead of Qt::Window, I would get the desired behaviour, but than unfortunatly, the Window is not in the TaskBar anymore.
So I need both: QWidgets in the taskbar, and one Widget should always be above the other... Sounds easy, but I could really not find a way.
Qt::WindowStaysOnTopHint is no solution, since it keeps the window above ALL open windows, and not only above the windows in this application...

Regards
Jocker