Results 1 to 4 of 4

Thread: Double click distance

  1. #1
    Join Date
    Dec 2007
    Posts
    2

    Question Double click distance

    Hello everybody.

    I'm working with touchscreens (elotouch), and i'd like to know if there is a way to configure the maximum distance between two clicks, because it's quite difficult to perform a double click action on a touchscreen

    I'm talking about distance, and not the time delay between two click.

    Gtk has a gtk-double-click-distance property.

    I can to what i want with some mouse*Event functions overloading, but i'm asking before coding some hasardous code =)

    Thank you !
    Last edited by jbd; 27th December 2007 at 15:08.

  2. #2
    Join Date
    Feb 2006
    Location
    Romania
    Posts
    2,744
    Thanks
    8
    Thanked 541 Times in 521 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Double click distance

    No, there is no such function.

  3. #3
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Thanks
    28
    Thanked 976 Times in 912 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Double click distance

    There's QApplication::doubleClickInterval property instead.

  4. #4
    Join Date
    Dec 2007
    Posts
    2

    Default Re: Double click distance

    Thank you for your response.

    jacek: yes, i know this property, but it concern the necessary delay to have a doubleClick event between two clicks, i'm not interessted in it. I want the alter the minimum distance between those clicks to have a doubleClick.

    Anyway, i've already coded some beautiful (?) to do what i want =)

Similar Threads

  1. Double Click Capturing
    By ToddAtWSU in forum Qt Programming
    Replies: 2
    Last Post: 8th January 2011, 14:12
  2. QToolBar double click
    By sdfisher in forum Qt Programming
    Replies: 4
    Last Post: 8th October 2007, 06:19
  3. QGraphicsScene Click / Double Click
    By philentropist in forum Qt Programming
    Replies: 1
    Last Post: 9th February 2007, 04:32
  4. Push button double click
    By curtisw in forum Qt Programming
    Replies: 3
    Last Post: 15th February 2006, 16:40
  5. Replies: 5
    Last Post: 12th January 2006, 15:40

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.