qt-interest@trolltech.com
[Top] [All Lists]

Re: How to tell when a QMdiSubWindow moves

Subject: Re: How to tell when a QMdiSubWindow moves
From: Keith Esau
Date: Mon, 27 Aug 2007 16:05:32 -0500
On 08-27-2007 3:19 PM, "Andreas Pakulat" wrote:

> On 27.08.07 14:32:24, Keith Esau wrote:
>> How do I catch (or get a signal) when a QMdiSubWindow is moved within the
>> QMdiArea?
>> 
>> 1. I cannot sub-class QMdiSubWindows because they are created with
>> QMdiArea::addSubWindow(), so overriding moveEvent does not work.
>> 
>> 2. Neither QMdiArea nor QMdiSubWindow have signals for this, nor do their
>> antecedents as far as I could find.
>> 
>> Any ideas?
> 
> Can you explain a bit more why you need to know when a qmdisubwindow is
> moving?
> 
> Maybe an event filter can work...
> 
> Andreas

Well, if "because I want to" isn't enough...

Our application has a scripting language that can record things the user
does, and I need it to record the movement (placement) of windows.

Keith
**Please do not reply to me, reply to the list.**


--
To unsubscribe - send a mail to qt-interest-request@xxxxxxxxxxxxx with 
"unsubscribe" in the subject or the body.
List archive and information: http://lists.trolltech.com/qt-interest/

<Prev in Thread] Current Thread [Next in Thread>