Archived:Qt Tips n' Trick : Hide StatusPane
Article Metadata
Qt QWidget UI deprecated
This article shows how to hide the status pane and have the softkeys visible Symbian QWidget based applications.
Implementation
On Symbian, Qt::WindowSoftkeysVisibleHint flag, together with a full-screen display mode for a widget (window), can be used to hide the status pane while having the softkey labels still visible.
// Toggle softkey visibility
setWindowFlags( windowFlags() ^ Qt::WindowSoftkeysVisibleHint );
showFullScreen();
Note that calling setWindowFlags() causes the widget to be hidden. Therefore, you must call show() (or in this case, showFullScreen()) to make it visible again.
It is also possible to have the softkeys active (responding), but not visible. This can be done with Qt::WindowSoftkeysRespondHint flag. Note however that on touch devices without physical softkey buttons, softkeys must be visible in order to be usable.
See also
Documentation of QWidget::windowFlags property
Qt softkeys example
Display problem on Symbian fullscreen in landscape mode with WindowSoftkeysVisibleHint



Complete rewrite done. Reason: It's no longer required to use Symbian C++ code to have a full-screen application with softkeys visible. treinio 15:53, 29 June 2010 (UTC)