PDA

View Full Version : Qt on S60: setting window flags to QWidget don't work?



TheJ
16th September 2009, 07:05
Hi all,

I've tried to set flag Qt::FramelessWindowHint to my widget on S60. On Linux and Maemo the same code seems to work, but on S60 the title pane and softkeys are visible. I'd like to get rid of them, is that possible? Well, to be precise, I don't want to get rid of the title pane, but to have it showing whatever is under my application, application name, icon, clock etc. So that my app wouldn't use that title pane.

Or does somebody know if will 4.6 fix this?

Thanks in advance,
J

TheJ
18th September 2009, 11:10
Ok, I've tried some workarounds , but still no result.

I tried this:


CEikStatusPane* statusPane = STATIC_CAST(CAknAppUi*, CEikonEnv::Static()->EikAppUi())->StatusPane();
statusPane->MakeVisible(EFalse);

and this:

setContextMenuPolicy(Qt::NoContextMenu);

and the status bar is still visible...

Any suggestions? Please :)

-TheJ