Mouse Double-Click Event
-
Hi there,
I have a doubt about the events that are generated by a mouse double click action since I've read on another forum that after the mouseButtonDblClick comes a second mouseButtonRelease. I'm getting only one mouseButtonRelease. Isn't it suppose to return another one after mouseButtonDblClick?
This is what i get in the following order:
- mouseButtonPress;
- mouseButtonRelease;
- mouseButtonDblClick.
Thanks in advance.
-
The sequence is: press -> release -> double click (by default = press) -> release.
-
Of course I use the first platform I have: Windows XP ... but I could check too under linux.
You have right Gerolf it depends of the platform, however I doubt that Qt implement an extra 'press' if no 'release' is sent.press -> release -> press (double click) [ -> press for the next ... ] breaks the invariant of press/release counts.