I show a popup when the mouse cursor is over certain widgets, and I would like to hide this popup when the mouse leaves the widget.
To do this, I redefined leaveEvent() . This seems to work in all cases except when switching to another application on Alt+Tab . I realized that I probably need to catch another event, but for some reason I canβt find a suitable one. Can you offer one?
source share