Results 1 to 3 of 3

Thread: view position of mouse position in GraphicsScene

  1. #1
    Join Date
    Sep 2009
    Posts
    26
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default view position of mouse position in GraphicsScene

    Hi,

    Is there any way i can get view position of mouse position in GraphicsScene?

  2. #2
    Join Date
    Sep 2011
    Posts
    26
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: view position of mouse position in GraphicsScene

    Have you try http://qt-project.org/doc/qt-4.8/qgr...mouseMoveEvent ?

    Perhaps you can write the pos in a membervariable and is it in your programmcode.

  3. #3
    Join Date
    Sep 2009
    Posts
    26
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: view position of mouse position in GraphicsScene

    this mousemove event is will be for the widget of which i am craeting another view not for for the view for which i need the mousemove position.

Similar Threads

  1. To find X, Y position of a pixmap item in Graphicsscene
    By augusbas in forum Qt Programming
    Replies: 2
    Last Post: 21st January 2011, 06:09
  2. Get mouse position on click?
    By N3wb in forum Qt Programming
    Replies: 2
    Last Post: 21st August 2010, 23:33
  3. How to get the mouse's position
    By sophister in forum Qt Programming
    Replies: 2
    Last Post: 30th April 2009, 06:07
  4. [GraphicsScene] retrieving click-position
    By Wirloff in forum Qt Programming
    Replies: 10
    Last Post: 12th April 2007, 10:26
  5. How to get mouse's position?
    By coralbird in forum Newbie
    Replies: 4
    Last Post: 23rd July 2006, 03:52

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.