On Wed, 15 Sep 2010 09:17:47 am ext Сурик Саядян wrote:
> Can I get global mouse coordinates in MouseArea? mouseX and mouseY -
> is local coordinates. QMouseEvent conteins globalX and globalY. But in
> MouseArea they are absent. I want to move widget on the screen by
> mouse.

The best I can suggest is to use the Item::mapToItem() function to map to your 
root item.  Not global, but hopefully the position within your application is 
sufficient.

-- 
Martin

_______________________________________________
Qt-qml mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-qml

Reply via email to