Wait. Still don't understand.
Which case? Mine or Spirit?
if I press two buttons at the same time, and I release them at the same time, how many event would I receive? 1 or 2?
I think moving the mouse I will receive only 1, so I have to use:
(event->buttons() & Qt::LeftButton) and (event->buttons() & Qt::RightButton)
But not on release and press, as I guess I will only receive 1. So I have to use:
(event->button() == Qt::LeftButton) or (event->button() == Qt::RightButton)
Am I right?
Thanks a lot for your help and time.
Bookmarks