Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 2

Qt-interest Archive, March 2002
AW: Qt-Dialog that always stays on top of all windows?


Message 1 in thread

just use 'Qt::WStyle_Customize | Qt::WStyle_StaysOnTop' as WFlags in the
QDialog constructor or use 'setWFlags( getWFlags() | Qt::WStyle_Customize |
Qt::WStyle_StaysOnTop )' after construction.

Tom

-----Ursprüngliche Nachricht-----
Von: ralf.specht@DaimlerChrysler.COM
[mailto:ralf.specht@DaimlerChrysler.COM]
Gesendet: Dienstag, 05. März 2002 10:46
An: qt-interest@trolltech.com
Betreff: Qt-Dialog that always stays on top of all windows?


Hi all,

how can I create a qt dialog box that always stays on top of all windows
(like 
the MS-Windows task manager)?

Does anybody know?

Thanks for help,

...Ralf
---
Dipl.-Ing. (FH) Ralf Specht
DaimlerChrysler AG, Research Center Ulm
Virtual and Augmented Environments (RIC/EV)
P.O. Box 2360
D-89013 Ulm, Germany
Phone: +49 (0)731 505-2393
Fax:   +49 (0)731 505-4224
Email: Ralf.Specht@DaimlerChrysler.COM
--
 [ signature omitted ] 

Message 2 in thread

Note that this will work on Windows but that not all Unix/Linux window
managers will repsect this flag.


Bauer Thomas wrote:
> 
> just use 'Qt::WStyle_Customize | Qt::WStyle_StaysOnTop' as WFlags in the
> QDialog constructor or use 'setWFlags( getWFlags() | Qt::WStyle_Customize |
> Qt::WStyle_StaysOnTop )' after construction.
> 
> Tom
> 
> -----Ursprüngliche Nachricht-----
> Von: ralf.specht@DaimlerChrysler.COM
> [mailto:ralf.specht@DaimlerChrysler.COM]
> Gesendet: Dienstag, 05. März 2002 10:46
> An: qt-interest@trolltech.com
> Betreff: Qt-Dialog that always stays on top of all windows?
> 
> Hi all,
> 
> how can I create a qt dialog box that always stays on top of all windows
> (like
> the MS-Windows task manager)?
> 
> Does anybody know?
> 
> Thanks for help,
> 
> ...Ralf
> ---
> Dipl.-Ing. (FH) Ralf Specht
> DaimlerChrysler AG, Research Center Ulm
> Virtual and Augmented Environments (RIC/EV)
> P.O. Box 2360
> D-89013 Ulm, Germany
> Phone: +49 (0)731 505-2393
> Fax:   +49 (0)731 505-4224
> Email: Ralf.Specht@DaimlerChrysler.COM
> --
> List archive and information: http://qt-interest.trolltech.com
> 
> --
> List archive and information: http://qt-interest.trolltech.com