description of TabGroup

This commit is contained in:
Marco Martin 2011-12-22 19:26:22 +01:00
parent 7efa3012db
commit ae3ed91056

View File

@ -44,15 +44,16 @@ Inherits:
Imports:
QtQuick 1.1
.
TabGroup.js
Description:
TODO
Provides a set of pages for a tab-based interface.
A tabbed interface is made up of tab buttons plus content for each button. A TabGroup component has, as its children, each page of content in the interface. These pages can be any QML items but are typically Page components for a single page of content or PageStack components when a hierarchical navigation system is required for the tab content.
If you use Page components for your tab content, the status property of each page is updated appropriately when the current tab is changed: the current page has status PageStatus.Active and other pages have the status PageStatus.Inactive. During page transitions, PageStatus.Activating (for the page that is becoming the current page) and PageStatus.Deactivating (for the page that was the current page) statuses are also set.
Properties:
Item currentTab:
Returns the current tab.
The tab that is currently active and visible to the user.
The currentTab property is initialized to null and is automatically set to point to the first tab when content is added. You can set the currentTab at any time to activate a particular tab.
**/