Expert advise needed!

Does QT4 provide any such feature? Or must one detect mouse positions and manually calculate if the menubar should be hidden (read: empty all items from menubar)?

Cheers,
Viking.