[Qt-interest] Exact location of widget on screen.

Ankit Agarwal ankit17.ag at gmail.com
Wed Feb 18 06:47:30 CET 2009


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/54bd3091/attachment.html 


More information about the Qt-interest-old mailing list