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: Bjoern Erik Nilsen
Date: Tue, 28 Aug 2007 10:11:50 +0200

1. I cannot sub-class QMdiSubWindows because they are created with QMdiArea::addSubWindow(), so overriding moveEvent does not work.

You can perfectly sub-class QMdiSubWindow. Note that you can pass a QMdiSubWindow* directly to addSubWindow.

2. Neither QMdiArea nor QMdiSubWindow have signals for this, nor do their antecedents as far as I could find.

...and then you can override moveEvent :-)


--
Bjoern Erik Nilsen - bnilsen at trolltech.com
Trolltech ASA - Sandakervn. 116, P.O. Box 4332 Nydalen, 0402 Oslo, Norway

--
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>