anjinkristou

detect left button pressed

Apr 8th, 2013
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.09 KB | None | 0 0
  1. void mouseMoveEvent(QMouseEvent* evt) {
  2.     if(evt->buttons().testFlag(Qt::LeftButton)) {
  3.     }
  4. }
Advertisement
Add Comment
Please, Sign In to add comment