Results 1 to 3 of 3

Thread: EventFilter - MoveMouse event changes position every pixel

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,416
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Thanks
    37
    Thanked 1,544 Times in 1,494 Posts

    Default Re: EventFilter - MoveMouse event changes position every pixel

    You could try to map the coordinates to global coordinates and do the distance calculation in that domain.

    Cheers,
    _

  2. The following user says thank you to anda_skoa for this useful post:

    Grzyboo (2nd August 2015)

  3. #2
    Join Date
    Jul 2015
    Posts
    20
    Qt products
    Qt5
    Platforms
    Windows
    Thanks
    5

    Default Re: EventFilter - MoveMouse event changes position every pixel

    Thanks a lot! It helped.

Similar Threads

  1. Replies: 0
    Last Post: 1st February 2014, 16:35
  2. eventFilter, Focus event and shortcut dispatching
    By tuli in forum Qt Programming
    Replies: 0
    Last Post: 25th May 2013, 20:13
  3. Enter event mouse position
    By bunjee in forum Qt Programming
    Replies: 9
    Last Post: 7th May 2008, 18:53
  4. Pixel Position and Printing text
    By nErnie in forum Qt Programming
    Replies: 1
    Last Post: 7th November 2006, 12:35
  5. how change the QListBox item position by pixel
    By roy_skyx in forum Qt Programming
    Replies: 2
    Last Post: 20th January 2006, 01:34

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.