[Interest] QApplication.activeWindow().pos() not returning correct value after sacling on OSX
André Somers
andre at familiesomers.nl
Thu Feb 18 07:29:25 CET 2016
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é
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20160218/52ab1a4d/attachment.html>
More information about the Interest
mailing list