What have you actually tried?

If you actually hide() the widget then it is not there to receive and process mouse events; so you you cannot use the mouse events of the widget itself to show() it. You could use the mouse events of the widget containing the disappearing widget to make it reappear.