Re: [Interest] QApplication.activeWindow().pos() not returning correct value after sacling on OSX

2016-02-17 Thread Scott Aron Bloom
: Re: [Interest] QApplication.activeWindow().pos() not returning correct value after sacling on OSX Op 18/02/2016 om 05:33 schreef Scott Aron Bloom: If you know the parent, you can use parent->mapToGlobal( QRect ) to find the global rectangle. You don't need to know the parent if you c

Re: [Interest] QApplication.activeWindow().pos() not returning correct value after sacling on OSX

2016-02-17 Thread Frank Rueter | OHUfx
terest] QApplication.activeWindow().pos() not returning correct value after sacling on OSX anybody? is this a bug? On 16/02/16 12:21 pm, Frank Rueter | OHUfx wrote: Hi, I am trying to figure out my host application's window geometry reliably and am stru

Re: [Interest] QApplication.activeWindow().pos() not returning correct value after sacling on OSX

2016-02-17 Thread André Somers
Op 18/02/2016 om 05:33 schreef Scott Aron Bloom: If you know the parent, you can use parent->mapToGlobal( QRect ) to find the global rectangle. You don't need to know the parent if you call mapToGlobal on the widget itself, using a rectangle with the right size at origin (0,0). André

Re: [Interest] QApplication.activeWindow().pos() not returning correct value after sacling on OSX

2016-02-17 Thread Frank Rueter | OHUfx
*Subject:* Re: [Interest] QApplication.activeWindow().pos() not returning correct value after sacling on OSX Hi Tony, sorry, let me clarify: QT's co-oridnate system starts at the top left, right? So when I scale the window by dragging the left side (or the top), the point of origin changes

Re: [Interest] QApplication.activeWindow().pos() not returning correct value after sacling on OSX

2016-02-17 Thread Frank Rueter | OHUfx
*Subject:* Re: [Interest] QApplication.activeWindow().pos() not returning correct value after sacling on OSX anybody? is this a bug? On 16/02/16 12:21 pm, Frank Rueter | OHUfx wrote: Hi, I am trying to figure out my host application's window geometry

Re: [Interest] QApplication.activeWindow().pos() not returning correct value after sacling on OSX

2016-02-17 Thread Scott Aron Bloom
erest-bounces+scott.bloom=onshorecs@qt-project.org] On Behalf Of Frank Rueter | OHUfx Sent: Wednesday, February 17, 2016 19:21 To: Tony Rietwyk <t...@rightsoft.com.au> Cc: interest@qt-project.org Subject: Re: [Interest] QApplication.activeWindow().pos() not returning correct value after sacl

Re: [Interest] QApplication.activeWindow().pos() not returning correct value after sacling on OSX

2016-02-17 Thread Tony Rietwyk
that helps, Tony From: Frank Rueter | OHUfx [mailto:fr...@ohufx.com] Sent: Thursday, 18 February 2016 2:21 PM To: Tony Rietwyk Cc: interest@qt-project.org Subject: Re: [Interest] QApplication.activeWindow().pos() not returning correct value after sacling on OSX Hi Tony, sorry, let me

Re: [Interest] QApplication.activeWindow().pos() not returning correct value after sacling on OSX

2016-02-17 Thread Frank Rueter | OHUfx
=rightsoft.com...@qt-project.org] *On Behalf Of *Frank Rueter | OHUfx *Sent:* Thursday, 18 February 2016 8:14 AM *To:* interest@qt-project.org *Subject:* Re: [Interest] QApplication.activeWindow().pos() not returning correct value after sacling on OSX anybody? is this a bug? On 16/02/16 12:21 pm

Re: [Interest] QApplication.activeWindow().pos() not returning correct value after sacling on OSX

2016-02-17 Thread Frank Rueter | OHUfx
anybody? is this a bug? On 16/02/16 12:21 pm, Frank Rueter | OHUfx wrote: Hi, I am trying to figure out my host application's window geometry reliably and am struggling a bit. I use QApplication.activeWindow().geometry() to drive my custom widget's geometry (I need to sit exactly on top of

[Interest] QApplication.activeWindow().pos() not returning correct value after sacling on OSX

2016-02-15 Thread Frank Rueter | OHUfx
Hi, I am trying to figure out my host application's window geometry reliably and am struggling a bit. I use QApplication.activeWindow().geometry() to drive my custom widget's geometry (I need to sit exactly on top of the host application). All works fine and my widget sits exactly on top of