Qt-interest Archive, August 2007
How to show without moving forward?
Message 1 in thread
I have several QMdiSubWindows. Some are hidden. I would like to show them,
but keep them at the back of the list. For some reason, show() brings them
to the front.
How do I show a window without changing its Z-order?
Keith
**Please do not reply to me, reply to the list.**
Message 2 in thread
Hi Keith,
> I have several QMdiSubWindows. Some are hidden. I would like to show
> them, but keep them at the back of the list. For some reason, show()
> brings them to the front.
>
> How do I show a window without changing its Z-order?
There's no way you can explicitly tell a sub-window to stay at the
bottom, but you can do it implicitly by using the
Qt::WindowStaysOnTopHint flag on all of the other sub-windows.
--
[ signature omitted ]
Message 3 in thread
I was afraid the answer was something like this. Is there some reason Qt
does not do this like other windowing systems? Show and Activate are very
different things. Show should not change the Z-Order.
I've also noticed that when you hide a sub-window, the next showing
sub-window does not automatically activate/highlight. Do you know if this
will be fixed in 4.3.1?
On 08-06-2007 3:43 AM, "Bjoern Erik Nilsen" wrote:
> Hi Keith,
>
>> I have several QMdiSubWindows. Some are hidden. I would like to show
>> them, but keep them at the back of the list. For some reason, show()
>> brings them to the front.
>>
>> How do I show a window without changing its Z-order?
>
> There's no way you can explicitly tell a sub-window to stay at the
> bottom, but you can do it implicitly by using the
> Qt::WindowStaysOnTopHint flag on all of the other sub-windows.
>
Keith
**Please do not reply to me, reply to the list.**
--
[ signature omitted ]