[Interest] Glueing widgets together

Sensei senseiwa at gmail.com
Tue Jul 2 07:38:00 CEST 2013


On 6/29/13 6:09am, Tony Rietwyk wrote:
> Hi Sensei,
>
> My code is just:
>
> bool Slave::eventFilter(QObject *obj, QEvent *ev)
> {
>    if (obj == Master)
>       move( Master->frameGeometry().left() + Master->frameGeometry().width(),
> Master->frameGeometry().top() );
>
>    return Ancestor::eventFilter(obj, ev);
> }
>
> Note that I do not return true - since I want the move to be handled by the
> Master as normal.
>
> The Master is the parent of the Slave, and the Slave is created with window
> flag Qt::Tool.
>
> Hope that helps,

Thanks, Tony. It seems that the problem, as John said, relies within the 
platform: MacOS X.

Every move seems to be buffered. From one point of view, I clearly see 
the rationale for this. However, sometimes I'd like to "pollute" an 
event loop.

Let's say that it was fun until it lasted :(



More information about the Interest mailing list