Hello.
I have a small problem about mouse button event. This is a simple program:
Qt Code:
// ... { qWarning("mousePressEvent"); } { qWarning("mouseReleaseEvent"); } // ...To copy to clipboard, switch view to plain text mode
When I press a left mouse button, and keep it. I drag to another position and press the middle the button (at this time, both left and middle mouse button are pressed because left mouse button is kept before), and after that, I release the left mouse button.
But why the system only write the message output:
It is mean that the mouseReleaseEvent isn't catched.mousePressEvent
Please tell me how to solve this problem how to catch mouseReleaseEvent in this case. Thanks.
Bookmarks