Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. [solved] Coordinate (x,y) in replacing the mouse cursor coordinate

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

Scheduled Pinned Locked Moved General and Desktop
4 Posts 2 Posters 2.2k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    romeo.rbw
    wrote on last edited by
    #1

    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-

    1 Reply Last reply
    0
    • L Offline
      L Offline
      leon.anavi
      wrote on last edited by
      #2

      Use "method setPos of class QCursor":http://qt-project.org/doc/qt-4.8/qcursor.html#setPos

      http://anavi.org/

      1 Reply Last reply
      0
      • R Offline
        R Offline
        romeo.rbw
        wrote on last edited by
        #3

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

        [solved]

        1 Reply Last reply
        0
        • L Offline
          L Offline
          leon.anavi
          wrote on last edited by
          #4

          [quote author="romeo.rbw" date="1339038853"]Thanks a lot Mr. Anavi...
          I have another question but may be better I open a new thread.
          -romeo

          [solved][/quote]

          You are welcome :)

          http://anavi.org/

          1 Reply Last reply
          0

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved