You will not catch a leaveEvent this way as the cursor is not over the item anymore so a different item will start receiving events. That's your clue that the cursor has left the item.
You will not catch a leaveEvent this way as the cursor is not over the item anymore so a different item will start receiving events. That's your clue that the cursor has left the item.
So, the solution is to remove the pressed flag from the event function of all other widgets, when they get an event? Does not seem right.
with the MouseOver option flag like described here it works: http://www.qtcentre.org/threads/1314...te-enter-event
Bookmarks