Gopal

Gopal

  • NA
  • 135
  • 15.4k

how I can grab the mouse move even when I don't press a mouse button?

Nov 21 2020 2:02 AM
Guys,I have QWidget derived class. I seen that QAbstractScrollArea can get mouseMoveEvent when the mouse moves. But using just QWidget mouseMoveEvent handler, it is triggered only when there's a mousePressEvent (hold). So does someone knows how I can grab the mouse move even when I don't press a mouse button?

Answers (3)