Qt 5 has a function :
QPoint QWheelEvent::angleDelta() const It returns the angle of the mouse wheel. Why does it return a QPoint, and not an int or at least double / float? How to get a number from this QPoint, how many conventional units did the mouse wheel turn?