[Qt-interest] making a dialog that shares a taskbar entry but isn't forced on top

william.crocker at analog.com william.crocker at analog.com
Wed Feb 17 14:57:05 CET 2010


Steve:

Did you ever get a response to this?
I was looking forward to more information myself.

Bill

Steven Doerfler wrote:
> I have a main window and a modeless print-preview dialog that the user
> can hide or show.  The preview dialog should not have its own taskbar
> entry.  Selecting the taskbar entry should make both windows move on top
> of other windows.
>
> Making the preview dialog a QDialog with the main window as its parent
> works fine for this, but for one thing: the preview dialog always
> appears on top of the parent in the z-order.
>
> I need to let either the main window or the preview dialog to be on top
> of the other in the z-order.  I could make them both be main windows by
> not specifying a parent for the dialog, but then I'd get two taskbar
> entries.
>
> How can I have one taskbar entry (where selecting it brings both windows
> to the top, without changing their z-ordering), but still allow either
> window to be on top of the other?  Thanks for any suggestions.
>
> Steven
>
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>
>   



More information about the Qt-interest-old mailing list