PDA

View Full Version : Hiding mac system menu in fullscreen mode



jupi32000
18th November 2009, 20:32
Hi,

I am trying to add a full screen mode to the main window of my application. However, even when I explicitly try to hide the menu-bar, it pops up when I move my cursor to the top of the window.


MainWindow w;
QMenuBar * pMenuBar = new QMenuBar(0);
pMenuBar ->hide();
w.showFullScreen();


Does anyone know of a way I can prevent the system menu-bar from popping up while my widget is in full screen mode?


Thanks,
Ronen