Home · All Classes · Main Classes · Deprecated
Public Types | Properties

MApplicationPageModel Class Reference

Inherits MSceneWindowModel.

List of all members.

Public Types

enum  ComponentDisplayMode { Show, AutoHide, Hide }
enum  PageEscapeMode { EscapeAuto, EscapeManualBack, EscapeCloseWindow }

Properties

MApplicationPageModel::ComponentDisplayMode homeButtonDisplayMode
MApplicationPageModel::ComponentDisplayMode escapeButtonDisplayMode
MApplicationPageModel::ComponentDisplayMode navigationBarDisplayMode
MApplicationPageModel::ComponentDisplayMode statusBarDisplayMode
MApplicationPageModel::PageEscapeMode escapeMode
bool progressIndicatorVisible
bool autoMarginsForComponentsEnabled
bool rememberPosition
QRectF exposedContentRect
QString title

Member Enumeration Documentation

This enum specifies the display mode of a component.

Enumerator:
Show 

Component is shown

AutoHide 

Component is automatically hidden whenever the user stays for longer than a few seconds without interacting with the GUI. In other words: It's hidden but reappears temporarily every time the user interacts with the GUI. The exact amount of idle time needed to make the component disappear is defined by the system.

Hide 

Component is hidden

This enum specifies the page's escape mode.

See also:
MSceneManager::pageHistory()
Enumerator:
EscapeAuto 

Default value. Escape button will automatically be set to either back or close according to the page navigation history.

If the page history is not empty, the escape button will be set to back mode and its clicked signal connected to the page's dismiss() slot.

If the page happens to be the root (page history is empty), escape button will be set to close mode.

EscapeManualBack 

Escape button will be set so back mode. All that happens when it gets clicked is the emission of the backButtonClicked() signal. It's up to the application developer to connect that signal to some useful slot.

EscapeCloseWindow 

Escape button will be set to close mode. Clicking it will cause the application window to be closed.


Property Documentation

bool MApplicationPageModel::autoMarginsForComponentsEnabled [read, write]
MApplicationPageModel::ComponentDisplayMode MApplicationPageModel::escapeButtonDisplayMode [read, write]
MApplicationPageModel::escapeMode [read, write]

Page's escape mode.

See also:
MApplicationPageMode::EscapeMode
MApplicationPageModel::exposedContentRect [read, write]

Area of the page whose content is not covered by any bar.

MApplicationPageModel::ComponentDisplayMode MApplicationPageModel::homeButtonDisplayMode [read, write]
MApplicationPageModel::ComponentDisplayMode MApplicationPageModel::navigationBarDisplayMode [read, write]
MApplicationPageModel::progressIndicatorVisible [read, write]

Whether the progress indicator is visible.

Deprecated:
do not use
MApplicationPageModel::rememberPosition [read, write]

Whether the page should remember the pannable viewport position it had on its last appearance.

MApplicationPageModel::ComponentDisplayMode MApplicationPageModel::statusBarDisplayMode [read, write]
MApplicationPageModel::title [read, write]

Title for a page.

Title appears on the navigation bar.


Copyright © 2010 Nokia Corporation
MeeGo Touch