Results 1 to 3 of 3

Thread: view position of mouse position in GraphicsScene

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

    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
    Qt products
    Qt4
    Platforms
    Windows
    Thanks
    1

    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
    Qt products
    Qt4
    Platforms
    Unix/X11
    Thanked 1 Time in 1 Post

    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, 07:09
  2. Get mouse position on click?
    By N3wb in forum Qt Programming
    Replies: 2
    Last Post: 22nd August 2010, 00:33
  3. How to get the mouse's position
    By sophister in forum Qt Programming
    Replies: 2
    Last Post: 30th April 2009, 07:07
  4. [GraphicsScene] retrieving click-position
    By Wirloff in forum Qt Programming
    Replies: 10
    Last Post: 12th April 2007, 11:26
  5. How to get mouse's position?
    By coralbird in forum Newbie
    Replies: 4
    Last Post: 23rd July 2006, 04: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
  •  
Qt is a trademark of The Qt Company.