PDA

View Full Version : Double click distance



jbd
27th December 2007, 15:03
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 !

marcel
27th December 2007, 15:41
No, there is no such function.

jacek
28th December 2007, 14:42
There's QApplication::doubleClickInterval property instead.

jbd
28th December 2007, 22:13
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 =)