June 6, 2012

romeo.rbw romeo.rbw
Ant Farmer
80 posts

[solved] Coordinate (x,y)  in replacing the mouse cursor coordinate

 

Dear Qt ers,
Hi, I need your suggestion and help.
I have a pair of coordinate (X,Y). I need to use this coordinate for replace my mouse cursor. So if I change my (X,Y) coordinate, the mouse cursor move to that coordinate interactively.

Thank you in advance for your support
Sorry about my English.
romeo

3 replies

June 6, 2012

leon.anavi leon.anavi
Mad Scientist
1062 posts

Use method setPos of class QCursor [qt-project.org]

 Signature 

http://anavi.org/

June 7, 2012

romeo.rbw romeo.rbw
Ant Farmer
80 posts

Thanks a lot Mr. Anavi…
I have another question but may be better I open a new thread.
-romeo

[solved]

June 7, 2012

leon.anavi leon.anavi
Mad Scientist
1062 posts

romeo.rbw wrote:
Thanks a lot Mr. Anavi…
I have another question but may be better I open a new thread.
-romeo

[solved]

You are welcome :)

 Signature 

http://anavi.org/

 
  ‹‹ [Solved] How to repaint a QGraphicsRectItem embedded inside a QGraphicsPolygonItem      How to include QtGui4.dll into app ››

You must log in to post a reply. Not a member yet? Register here!