NavigationPane
Since: BlackBerry 10.0.0
#include <bb/cascades/NavigationPane>
A class that is used for stack-like navigation between Page objects.
The NavigationPane keeps track of a stack of Page objects that can be pushed and popped on the stack. Only the topmost page on the stack is displayed to the user. The push() function adds a new page on the top of the navigation stack, displaying it while hiding the old page. The pop() function hides the page currently on the top of the stack, removing it from the navigation stack and displaying the previous page again.

The following example creates a NavigationPane and adds a page. A second page is created and added to the NavigationPane when nextAction is triggered. The second page has a custom back button set through the NavigationPaneProperties class. The NavigationPaneProperties class handles properties set to the NavigationPane in order to customize it.
The default back button will have a standard back icon and the title "Back".

Here's an example of how to use NavigationPane in QML:
// navigationpane.qml NavigationPane { id: navigationPane Page { Container { Label { text: "First page" } } actions: [ ActionItem { title: "Next page" ActionBar.placement: ActionBarPlacement.OnBar onTriggered: { var page = pageDefinition.createObject(); navigationPane.push(page); } attachedObjects: ComponentDefinition { id: pageDefinition; source: "secondpage.qml" } } ] } onPopTransitionEnded: { page.destroy(); } }
// secondpage.qml Page { Container { Label { text: "Second page" } } paneProperties: NavigationPaneProperties { backButton: ActionItem { title: "Previous page" imageSource: "asset:///back.png" onTriggered: { navigationPane.pop(); } } } }
And here's how to do the same using C++:
NavigationPane* navigationPane; void initializeNavigationPane() { ActionItem* nextAction = ActionItem::create() .title("Next page") .onTriggered(this, SLOT(pushPage())); navigationPane = NavigationPane::create(); QObject::connect(navigationPane, SIGNAL(popTransitionEnded(bb::cascades::Page*)), this, SLOT(popFinished(bb::cascades::Page*))); navigationPane->push(Page::create() .content(Label::create("First page")) .addAction(nextAction, ActionBarPlacement::OnBar)); Application::instance()->setScene(navigationPane); } void popFinished(bb::cascades::Page* page) { delete page; } Q_SLOT void pushPage() { ActionItem* backAction = ActionItem::create() .title("Previous page") .imageSource(QUrl("asset:///back.png")) .onTriggered(navigationPane, SLOT(pop())); navigationPane->push(Page::create() .content(Label::create("Second page")) .paneProperties(NavigationPaneProperties::create() .backButton(backAction))); }
Overview
Inheritance
bb::cascades::BaseObject | ||||
bb::cascades::UIObject | ||||
bb::cascades::AbstractPane | ||||
bb::cascades::NavigationPane |
QML properties
backButtonsVisible | : bool |
peekEnabled | : bool |
top | : bb::cascades::Page [read-only] |
accessibility | : bb::cascades::AbstractA11yObject [read-only]![]() |
attachedObjects | : QDeclarativeListProperty< QObject > [read-only]![]() |
keyListeners | : QDeclarativeListProperty [read-only]![]() |
builtInShortcutsEnabled | : bool![]() |
objectName | : QString![]() |
paneProperties | : bb::cascades::PaneProperties![]() |
parent | : QObject [read-only]![]() |
peekedAt | : bool [read-only]![]() |
ui | : bb::cascades::UIConfig [read-only]![]() |
QML signals
Properties Index
bool | backButtonsVisible |
bool | peekEnabled |
bb::cascades::Page | top [read-only] |
bb::cascades::AbstractA11yObject | accessibility [read-only]![]() |
QDeclarativeListProperty< QObject > | attachedObjects [read-only]![]() |
QDeclarativeListProperty | keyListeners [read-only]![]() |
bool | builtInShortcutsEnabled![]() |
QString | objectName![]() |
bb::cascades::PaneProperties | paneProperties![]() |
QObject | parent [read-only]![]() |
bool | peekedAt [read-only]![]() |
bb::cascades::UIConfig | ui [read-only]![]() |
Public Functions Index
NavigationPane (QObject *parent=0) | |
virtual | ~NavigationPane () |
Q_INVOKABLE bb::cascades::Page * | at (int index) const |
bool | backButtonsVisible () const |
Q_INVOKABLE int | count () const |
Q_INVOKABLE int | indexOf (bb::cascades::Page *page) const |
Q_INVOKABLE void | insert (int index, bb::cascades::Page *page) |
bool | isPeekEnabled () const |
Q_SLOT QVariantList | navigateTo (bb::cascades::Page *targetPage) |
Q_INVOKABLE bb::cascades::Page * | pop () |
Q_INVOKABLE void | push (bb::cascades::Page *child) |
Q_INVOKABLE bool | remove (bb::cascades::Page *page) |
Q_SLOT void | resetBackButtonsVisible () |
Q_SLOT void | resetPeekEnabled () |
Q_SLOT void | setBackButtonsVisible (bool visible) |
Q_SLOT void | setPeekEnabled (bool enabled) |
bb::cascades::Page * | top () const |
bb::cascades::AbstractA11yObject * | accessibility () const ![]() |
Q_INVOKABLE void | addKeyListener (bb::cascades::KeyListener *keyListener)![]() |
Q_INVOKABLE void | addShortcut (bb::cascades::AbstractShortcut *shortcut)![]() |
Q_INVOKABLE bool | builtInShortcutsEnabled () const ![]() |
Q_INVOKABLE void | disableAllShortcuts ()![]() |
Q_INVOKABLE void | enableAllShortcuts ()![]() |
virtual bool | event (QEvent *event)![]() |
bool | isPeekedAt () const ![]() |
Q_INVOKABLE bb::cascades::KeyListener * | keyListenerAt (int index) const ![]() |
Q_INVOKABLE int | keyListenerCount () const ![]() |
bb::cascades::PaneProperties * | paneProperties () const ![]() |
Q_INVOKABLE void | removeAllKeyListeners ()![]() |
Q_INVOKABLE void | removeAllShortcuts ()![]() |
Q_INVOKABLE bool | removeKeyListener (bb::cascades::KeyListener *keyListener)![]() |
Q_INVOKABLE bool | removeShortcut (bb::cascades::AbstractShortcut *shortcut)![]() |
Q_SLOT void | resetBuiltInShortcutsEnabled ()![]() |
Q_SLOT void | resetPaneProperties ()![]() |
Q_INVOKABLE void | setBuiltInShortcutEnabled (bb::cascades::SystemShortcuts::Type type, bool enabled)![]() |
Q_SLOT void | setBuiltInShortcutsEnabled (bool enabled)![]() |
void | setObjectName (const QString &name)![]() |
Q_SLOT void | setPaneProperties (bb::cascades::PaneProperties *paneProperties)![]() |
Q_INVOKABLE bb::cascades::AbstractShortcut * | shortcutAt (int index) const ![]() |
Q_INVOKABLE int | shortcutCount () const ![]() |
virtual Q_INVOKABLE QString | toDebugString () const ![]() |
Q_INVOKABLE bb::cascades::UIConfig * | ui () const ![]() |
Static Public Functions Index
Builder | create () |
Protected Functions Index
Only has inherited protected functions
BaseObject (QObject *parent=0)![]() | |
virtual void | connectNotify (const char *signal)![]() |
virtual void | disconnectNotify (const char *signal)![]() |
Signals Index
void | backButtonsVisibleChanged (bool visible) |
void | navigateToTransitionEnded (QVariantList pages) |
void | peekEnabledChanged (bool enabled) |
void | popTransitionEnded (bb::cascades::Page *page) |
void | pushTransitionEnded (bb::cascades::Page *page) |
void | topChanged (bb::cascades::Page *page) |
void | builtInShortcutsEnabledChanged (bool builtInShortcutsEnabled)![]() |
void | creationCompleted ()![]() |
void | objectNameChanged (const QString &objectName)![]() |
void | panePropertiesChanged (bb::cascades::PaneProperties *paneProperties)![]() |
void | peekedAtChanged (bool peekedAt)![]() |
void | peekEnded ()![]() |
void | peekStarted ()![]() |
Properties
bool
Indicates whether the back buttons should be visible on all pushed pages in this NavigationPane.
BlackBerry 10.0.0
bool
Indicates whether peeking from within the current Page should be enabled.
When enabled, dragging or swiping to the right inside the content of the Page will reveal the previous Page in the navigation stack.
This property only controls whether or not peeking is enabled within the content area of the Page. Peeking is always enabled on the Back button, even if this property is disabled.
The default value is true (enabled).
BlackBerry 10.0.0
bb::cascades::Page
The topmost page on the stack of this NavigationPane.
This is the page that is currently displayed.
BlackBerry 10.0.0
bb::cascades::AbstractA11yObject
Defines this pane's accessibility object.
BlackBerry 10.2.0
QDeclarativeListProperty< QObject >
A hierarchical list of the UIObject's attached objects.
BlackBerry 10.0.0
QDeclarativeListProperty
A list of shortcuts that can be triggered via user actions.
A list of key listeners attached to this abstract pane.
The order in which they are added will determine which shortcut will be triggered in case of an overlap. Predefined shortcuts take precedence over shortcuts defined via QString in case of a collision.
BlackBerry 10.1.0
BlackBerry 10.1.0
bool
Enables or disables all AbstractPane's core shortcuts.
This property is used when all AbstractPane's core shortcuts should be enabled or disabled.
BlackBerry 10.2.0
QString
This property is overridden from QObject.
QObject::objectName().
BlackBerry 10.0.0
bb::cascades::PaneProperties
The pane properties for this AbstractPane.
The paneProperties property specifies data that the parent AbstractPane may use. The type of pane properties of the child must match up with parent. For example, if you add a Page to a NavigationPane, you must use NavigationPaneProperties.
By default, the paneProperties of an AbstractPane is 0.
BlackBerry 10.0.0
QObject
A read-only property that represents this object's parent.
The parent of an object is specified using QObject::setParent(QObject*). The purpose of the property is to expose the object's parent to QML.
This property is read-only to prevent modifications from QML, where typically the parent is declaratively set. In C++ code, the parent can be explicitly set using QObject::setParent(QObject*), or implicitly set by adding it to a visual container.
The default value of this property is 0.
BlackBerry 10.0.0
bool
Indicates whether this AbstractPane is being "peeked" at.
If true, the pane is currently being revealed by peeking from a Sheet or a Page within a NavigationPane. By default, the value is false, indicating that the pane is not currently being peeked at.
If a NavigationPane is being peeked at, both the NavigationPane and its currently visible page will return true for the peekedAt property.
As a convenience, there are two signals available called peekStarted and peekEnded, which are emitted when a peek on the AbstractPane starts or ends.
The peekedAtChanged() signal is emitted when peekedAt changes.
BlackBerry 10.0.0
bb::cascades::UIConfig
An object that gives access to unit conversion routines.
// Size using design units Container { preferredWidth: ui.du(12) preferredHeight: ui.du(5) } // Size using design units, snap to whole pixels Container { preferredWidth: ui.sdu(13.5) preferredHeight: ui.sdu(7.5) } // Size using absolute pixel values Container { preferredWidth: ui.px(150) preferredHeight: ui.px(50) }C++ use:
Container *container1 = Container::create().background(Color::Red); UIConfig *ui = container1->ui(); container1->setPreferredWidth(ui->du(12)); container1->setPreferredHeight(ui->du(5)); Container *container2 = Container::create().background(Color::Green); container2->setPreferredWidth(ui->sdu(13.5)); container2->setPreferredHeight(ui->sdu(7.5)); Container *container3 = Container::create().background(Color::Blue); container3->setPreferredWidth(ui->px(150)); container3->setPreferredHeight(ui->sdu(50));
Blackberry 10.3.0
Public Functions
Q_INVOKABLE bb::cascades::Page *
Returns a page at the specified index.
The index starts from the bottom of the stack, so the bottom page will have index 0. Once completed, ownership of the page remains with the NavigationPane.
Parameters | |
---|---|
index |
The index of the page. |
The requested page if the index was valid, 0 otherwise.
BlackBerry 10.0.0
bool
Indicates whether back buttons are visible or not for this NavigationPane.
true if back buttons are visible, false otherwise.
BlackBerry 10.0.0
Q_INVOKABLE int
Returns the number of pages in the navigation stack.
The number of pages in the navigation stack.
BlackBerry 10.0.0
Q_INVOKABLE int
Returns the index of a page.
The index starts from the bottom of the stack, so the bottom page will have index 0. If the page isn't in the navigation stack or the page is 0, -1 is returned.
Parameters | |
---|---|
page |
The page to get the index from. |
The index of the specified page if the page is valid, -1 otherwise.
BlackBerry 10.0.0
Q_INVOKABLE void
Inserts a page at a specified index in the NavigationPane.
The page that is passed must not be 0 or it will be ignored. If the page is already present in the navigation stack, the operation will fail. This operation will not trigger a transition effect, even if the page is added to the top of the stack. If a transition effect is desired, use push() instead. The topChanged() signal will be emitted if the operation affects the top node.
Parameters | |
---|---|
index |
The index where the page will be placed. If the index < 0 the the page is inserted in the bottom. If the index > the number of pages in the navigation stack, it is added on top of the stack. |
page |
The page to be inserted, must not be 0. |
BlackBerry 10.0.0
bool
Indicates whether peeking from within the content area of the current page is enabled.
Peeking is always enabled on the Back button, even if this property is disabled.
true if peeking is enabled, false otherwise.
BlackBerry 10.0.0
Q_INVOKABLE bb::cascades::Page *
Pops the top page from the stack of this NavigationPane.
If the stack is not empty, this function emits the topChanged() signal immediately. When the the transition is finished, the popTransitionEnded() signal is also emitted.
The NavigationPane keeps the ownership of the Page. The Page can be safely deleted at any time after the call to pop(). If the Page happens to be deleted before the popTransitionEnded() signal has been emitted, that signal will have the parameter for the popped Page set to 0.
The popped Page can not be pushed to another control (e.g. another NavigationPane) until after the popTransitionEnded() signal has been received. Furthermore, in order to be able to push the popped Page to another control after the popTransitionEnded() signal has been received, its parent must also be set to zero.
The page that was popped from the navigation stack. If the navigation stack was empty, 0 is returned.
BlackBerry 10.0.0
Q_INVOKABLE void
Pushes a Page onto the stack of this NavigationPane.
The pushed page is placed on the top of the navigation stack, and is displayed to the user. The NavigationPane takes the ownership of the pushed page. The owner of the pushed page must be 0.
If the owner of the pushed page is not 0, or if the pushed page itself is 0, nothing will happen.
This function will emit the topChanged() signal and when the transition is finished, this function emits the pushTransitionEnded() signal.
Parameters | |
---|---|
child |
The new top child page. The parent for the page must either be 0 or this NavigationPane. |
BlackBerry 10.0.0
Q_INVOKABLE bool
Removes a page from the navigation stack.
Once the page is removed, the NavigationPane no longer references it, but it is still owned by the NavigationPane. It is up to the application to either delete the removed page, transfer its ownership (by setting its parent) to another object or leave it as a child of the NavigationPane (in which case it will be deleted with the NavigationPane).
This operation will not trigger a transition effect, even if removing the top page. If a transition effect is desired, use pop() instead. The topChanged() signal will be emitted if the operation affects the top node.
Parameters | |
---|---|
page |
The page to be removed; must not be 0. |
true if the page was present in the navigation stack, false otherwise.
BlackBerry 10.0.0
Q_SLOT void
Resets the visibility of back buttons to its default state, which is visible.
BlackBerry 10.0.0
Q_SLOT void
Resets the peeking behavior of the NavigationPane to its default state, which is disabled.
Q_SLOT void
Sets whether back buttons should be visible or not for this NavigationPane.
Parameters | |
---|---|
visible |
If true back buttons should be visible, if false back buttons should not be visible. |
BlackBerry 10.0.0
Q_SLOT void
Sets whether peeking from within the current Page should be enabled.
Setting this property only controls whether or not peeking is enabled within the content area of the Page. Peeking is always enabled on the Back button, even if this property is disabled.
Parameters | |
---|---|
enabled |
If true peeking be enabled, if false peeking is disabled. |
BlackBerry 10.0.0
bb::cascades::Page *
Returns the current topmost page on the stack of this NavigationPane.
The NavigationPane remains as the parent of the page.
The topmost page on the NavigationPane stack. Returns 0 if the stack is empty.
BlackBerry 10.0.0
bb::cascades::AbstractA11yObject * 
Returns the accessibility object.
The accessibility object.
BlackBerry 10.2.0
Q_INVOKABLE void 
Adds a key listener to the AbstractPane.
AbstractPane will always take ownership as key listener should never be shared. If the key listener already belongs to the AbstractPane or the key listener is 0, nothing will happen.
Parameters | |
---|---|
keyListener |
The KeyListener to add to the AbstractPane. |
BlackBerry 10.1.0
Q_INVOKABLE void 
Adds a shortcut to the AbstractPane.
AbstractPane will always take ownership as shortcuts should never be shared. If the shortcut already belongs to the AbstractPane or the shortcut is 0, nothing will happen. The order in which shortcuts are added will determine which shortcut will be triggered in case of an overlap.
Parameters | |
---|---|
shortcut |
The AbstractShortcut to add to the AbstractPane. |
BlackBerry 10.1.0
Q_INVOKABLE bool 
Returns a builtInShortcutsEnabled property value.
true if builtInShortcutsEnabled property is set to true and false otherwise
BlackBerry 10.2.0
Q_INVOKABLE void 
Disables all shortcuts attached to the AbstractPane.
Shortcuts that are attached afterward will use the default enabled state.
BlackBerry 10.1.0
Q_INVOKABLE void 
Enables all shortcuts attached to the AbstractPane.
BlackBerry 10.1.0
virtual bool 
Overloaded to implement the event mechanism in Cascades.
If this function is overridden, it must be called by the derived class for events to work properly in Cascades.
Parameters | |
---|---|
event |
The received event. |
True if the received event was recognized and processed, false otherwise.
BlackBerry 10.0.0
bool 
Indicates if this AbstractPane is being peeked at.
true if being peeked at, false otherwise.
BlackBerry 10.0.0
Q_INVOKABLE bb::cascades::KeyListener * 
Returns a key listener at the specified index.
Ownership of the key listener remains with the AbstractPane.
Parameters | |
---|---|
index |
The index of the key listener. |
The requested key listener if the index was valid, 0 otherwise.
BlackBerry 10.1.0
Q_INVOKABLE int 
Returns the number of key listeners.
The number of key listeners.
BlackBerry 10.1.0
bb::cascades::PaneProperties * 
Returns the PaneProperties object for the pane.
Ownership of the PaneProperties object remains unchanged.
The PaneProperties for the pane.
BlackBerry 10.0.0
Q_INVOKABLE void 
Removes all of AbstractPane's key listeners and frees up their memory.
BlackBerry 10.1.0
Q_INVOKABLE void 
Removes all of AbstractPane's shortcuts and frees up their memory.
BlackBerry 10.1.0
Q_INVOKABLE bool 
Removes a key listener from the AbstractPane.
Once the key listener is removed, the AbstractPane no longer references it, but it is still owned by the AbstractPane. It is up to the application to either delete the removed key listener, transfer its ownership (by setting its parent) to another object, or leave it as a child of the AbstractPane (in which case it will be deleted with the AbstractPane).
Parameters | |
---|---|
keyListener |
The KeyListener to remove. |
true if the key listener was owned by the AbstractPane, false otherwise.
BlackBerry 10.1.0
Q_INVOKABLE bool 
Removes a shortcut from the AbstractPane.
Once the shortcut is removed, the AbstractPane no longer references it, but it is still owned by the AbstractPane. It is up to the application to either delete the removed shortcut, transfer its ownership (by setting its parent) to another object, or leave it as a child of the AbstractPane (in which case it will be deleted with the AbstractPane).
Parameters | |
---|---|
shortcut |
The AbstractShortcut to remove. |
true if the shortcut was owned by the AbstractPane, false otherwise.
BlackBerry 10.1.0
Q_SLOT void 
Resets a builtInShortcutsEnabled property to default value.
Default value is true.
BlackBerry 10.2.0
Q_INVOKABLE void 
Sets the enabled state of the built-in shortcuts attached to the AbstractPane at a system level.
Built-in shortcuts that are attached afterward will use the specified enabled state.
Selected Built-in shortcut can be enabled or disbaled only if AbstractPane::builtInShortcutsEnabled property is set to true.
Parameters | |
---|---|
type |
The system shortcut type |
enabled |
If true the shortcut is enabled, and if false the shortcut is disabled. |
BlackBerry 10.2.0
Q_SLOT void 
Sets the enabled state of all built-in shortcut attached to the AbstractPane at a system level.
Parameters | |
---|---|
enabled |
If true all built-in shortcuts are enabled, and if false all shortcut are disabled. |
BlackBerry 10.2.0
void 
Sets the objectName property.
Parameters | |
---|---|
name |
The new name for the object. |
BlackBerry 10.0.0
Q_SLOT void 
Sets the paneProperties property for the pane.
The pane takes ownership of the PaneProperties object if no other pane owns it already. If the PaneProperties object already has an owner, the properties are applied to the pane, but ownership of the PaneProperties object remains unchanged. If the pane already owns a PaneProperties object, the existing settings are replaced by the specified PaneProperties object and the pane retains ownership of both.
Parameters | |
---|---|
paneProperties |
The new PaneProperties for the pane. |
BlackBerry 10.0.0
Q_INVOKABLE bb::cascades::AbstractShortcut * 
Returns a shortcut at the specified index.
Ownership of the shortcut remains with the AbstractPane.
Parameters | |
---|---|
index |
The index of the shortcut. |
The requested shortcut if the index was valid, 0 otherwise.
BlackBerry 10.1.0
Q_INVOKABLE int 
Returns the number of shortcuts.
The number of shortcuts.
BlackBerry 10.1.0
virtual Q_INVOKABLE QString 
Returns a debug string representing this object.
A debug string for the object.
BlackBerry 10.0.0
Q_INVOKABLE bb::cascades::UIConfig * 
Returns the UIConfig for this ui object.
The UIConfig can be used to perform unit conversions from design units (du) and snapped design units (sdu) to pixels.
Ownership remains with Cascades.
Container *container1 = Container::create().background(Color::Red); UIConfig *ui = container1->ui(); container1->setPreferredWidth(ui->du(12)); container1->setPreferredHeight(ui->du(5)); Container *container2 = Container::create().background(Color::Green); container2->setPreferredWidth(ui->sdu(13.5)); container2->setPreferredHeight(ui->sdu(7.5)); Container *container3 = Container::create().background(Color::Blue); container3->setPreferredWidth(ui->px(150)); container3->setPreferredHeight(ui->sdu(50));
The UIConfig for this ui object.
BlackBerry 10.3.0
Static Public Functions
Builder
Creates and returns a builder for constructing a NavigationPane.
NavigationPane* navigationPane = NavigationPane::create();
A builder used for constructing a NavigationPane.
BlackBerry 10.0.0
Protected Functions
(Only has inherited protected functions)
Constructs an instance of BaseObject's subclass.
Parameters | |
---|---|
parent |
An optional parent, defaults to 0. |
BlackBerry 10.0.0
virtual void 
Overloaded to implement the event mechanism in Cascades.
If this function is overridden, it must be called by the derived class for events to work properly in Cascades.
Parameters | |
---|---|
signal |
The connected signal. |
BlackBerry 10.0.0
virtual void 
Overloaded to implement the event mechanism in Cascades.
If this function is overridden, it must be called by the derived class for events to work properly in Cascades.
Parameters | |
---|---|
signal |
The disconnected signal. |
BlackBerry 10.0.0
Signals
void
Emitted when the visibility of back buttons has changed for this NavigationPane.
Parameters | |
---|---|
visible |
If true back buttons are visible, if false back buttons are not visible. |
BlackBerry 10.0.0
void
Emitted when peeking on the NavigationPane is enabled or disabled.
Parameters | |
---|---|
enabled |
If true peeking is enabled, if false peeking is disabled. |
BlackBerry 10.0.0
void
Emitted when a page has been popped from the stack of this NavigationPane.
If the Page was removed from the stack as a result of a navigateTo() call on this NavigationPane, the navigateToTransitionEnded() signal is emitted instead.
The NavigationPane keeps the ownership of the Page, but it can be deleted if it's no longer needed. Furthermore, in order to be able to push the popped Page to another control, its parent must first be set to zero.
Parameters | |
---|---|
page |
The page that was popped. 0 if the page has already been deleted. |
BlackBerry 10.0.0
void
Emitted when a page has been pushed onto the stack of this NavigationPane.
Parameters | |
---|---|
page |
The page that was pushed. |
BlackBerry 10.0.0
void
Emitted when the topmost page on the stack of this NavigationPane has changed.
This signal will be emitted as soon as the stack changes. This occurs when the pop(), and push() functions are called. This signal is also emitted when the back button is pressed.
Parameters | |
---|---|
page |
The new topmost page in the navigation stack if the stack is not empty, 0 otherwise. |
BlackBerry 10.0.0
void 
Emitted when the builtInShortcutsEnabled property changes.
Parameters | |
---|---|
builtInShortcutsEnabled |
The new value. |
BlackBerry 10.2.0
void 
Emitted when this object is instantiated as a result of loading a QML document and creating the root node (only after the root component that caused this instantiation has completed construction), or when the object is being constructed from its builder class.
This signal indicates that the construction and initialization of the object has been completed, the properties are initialized, and any QML binding values have been assigned to the object.
This signal is not emitted when the object is constructed from C++ using the constructor. If the object is constructed using its builder class, the signal is emitted when the the builder class returns the fully constructed object.
This signal can be used when there is an activity that needs to be performed, such as a property state integrity verification after the object is instantiated from a QML document or a builder, but before control is returned to the application.
BlackBerry 10.0.0
void 
This signal is emitted when the objectName property is changed.
BlackBerry 10.0.0
void 
Emitted when the paneProperties of the pane changes.
Parameters | |
---|---|
paneProperties |
The new PaneProperties for the AbstractPane. |
BlackBerry 10.0.0
void 
Emitted when the peekedAt property of this AbstractPane changes.
Parameters | |
---|---|
peekedAt |
If true the AbstractPane is being peeked at, otherwise false. |
BlackBerry 10.0.0
void 
Emitted when a peek on this AbstractPane ends.
BlackBerry 10.0.0
void 
Emitted when a peek on this AbstractPane starts.
BlackBerry 10.0.0