Just a small note, as this may help someone who do this. After doing this -
Quote Originally Posted by Santosh Reddy View Post
QEvent::Leave should be received for self widget ..
it hides the widget.
A small problem persisted and it was - if there's a layout and widgets in the mouse-hover area, then the trigger didn't reach the menu widget. I solved it by making the layout and widgets as children to the same parent to which menu widget was and enabled mouse tracking true for the widget(s) on the way and this solved my problem.
Thank you.