Please note that as of October 24, 2014, the Nokia Developer Wiki will no longer be accepting user contributions, including new entries, edits and comments, as we begin transitioning to our new home, in the Windows Phone Development Wiki. We plan to move over the majority of the existing entries. Thanks for all your past and future contributions.

Archived:Qt Tips n' Trick : Hide StatusPane

From Wiki
Jump to: navigation, search
Article Metadata
Created: neois (15 Dec 2009)
Last edited: hamishwillee (30 Apr 2013)

Archived.pngArchived: This article is archived because it is not considered relevant for third-party developers creating commercial solutions today. If you think this article is still relevant, let us know by adding the template {{ReviewForRemovalFromArchive|user=~~~~|write your reason here}}.

Qt QWidget UI deprecated

This article shows how to hide the status pane and have the softkeys visible Symbian QWidget based applications.



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 );

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

This page was last modified on 30 April 2013, at 05:37.
29 page views in the last 30 days.