[Qt-interest] duration of a keypress?
Chris G
cgrebeld at gmail.com
Sat Dec 5 17:07:41 CET 2009
Hello all,
I need to get the duration of time between a key press and release.
The problem is that there may be code run in between the two events
which block the main thread for a long time. If I just look at the
time between keyPressEvent and keyReleaseEvent being called, it will
not be the same as the duration that the key was actually pressed, it
may be much longer.
So is there a qt-way to get this information?
More information about the Qt-interest-old
mailing list