How do detect user enters or leaves a QWindow?
Unsolved
General and Desktop
-
I am creating an instance of QWindow-derived class, and I am going to show and hide it when user enters or leave the window, like a tooltip does. But unlike QWidget, a QWindow has many limitations, how could I accomplish it?
-
Hi @jiancaiyang ,
as far as I know, QWindow does not have aenterEvent
like QWidgets have, but theres the focusInEvent it might be enough for your case?