: 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
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
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é
*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
*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
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
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
=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
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
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
10 matches
Mail list logo