[Qt-interest] Exact location of widget on screen.
Shabd Swarup V
shabd at cadence.com
Wed Feb 18 08:19:50 CET 2009
Thanks a lot, Ankit. What I needed was mapToGlobal()
Thanks,
Shabd
From: Ankit Agarwal [mailto:ankit17.ag at gmail.com]
Sent: Wednesday, February 18, 2009 11:17 AM
To: Shabd Swarup V
Cc: qt-interest at trolltech.com
Subject: Re: [Qt-interest] Exact location of widget on screen.
Hi,
try using mapFromGlobal()
On Wed, Feb 18, 2009 at 11:02 AM, Shabd Swarup V <shabd at cadence.com>
wrote:
Hi,
I need to determine the exact coordinates of a widget on screen. I think
geometry() gives the location relative to the window and using
frameGeometry() does not work well either.
Please let me know how to do this.
Thanks in advance.
Regards,
Shabd
_______________________________________________
Qt-interest mailing list
Qt-interest at trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-interest
--
Regards,
Ankit Agarwal
SW Engineer
Vegayan Systems
email : ankit_agarwal at vegayan.com
Blog : http://ankit17.wordpress.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090218/8e3196de/attachment.html
More information about the Qt-interest-old
mailing list