I have a QWidget
which handles the mouseevent
, i.e. it stores the mouseposition
in a list when the left mouse button is pressed.
The problem is, I cannot tell the widget to take only one point every x ms.
What would be the usual way to get these samples?
Edit: since the mouseevent
is not called very often, is it possible to increase the rate?