I read in the docs that a double click generates a QMousePressEvent and a QMouseReleaseEvent.
How can this behaviour be controlled so that it doesn't do that?