I'm trying to make the program do something while mouse moving in my qgraphics scene/view.but it only works for mousePress event. However it also works when I'm moving my mouse outside the scene/view.
here is my code:
void Main::mousePressEvent(QMouseEvent *e) {...}
void Main::mouseMoveEvent(QMouseEvent *e) {...}
Bookmarks