Re: Simulate QMenu behavior
Calling grabMouse () in showEvent() and releaseMouse () in hideEvent() or closeEvent() should do the trick of preventing other widgets form getting mouseEvents. As for the look try Qt::FramelessWindowHint window flag.
Staying on top is as easily achieved by seting the Qt::WindowStaysOnTopHint window flag.
Re: Simulate QMenu behavior
Theres also some flag - invisibletomouseevents in QWidget class,,,
not flag, rather attribute I guess... u can search for it in Qt Assistant..
May be it might help you