PlasmaComponents
Properties | |
Item | currentTab |
list< Item > | privateContents |
alias | privateContentsDefault |
Detailed Description
Provides a set of pages for a tab-based interface.
- Since
- 0.1
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.
Definition at line 58 of file TabGroup.qml.
Property Documentation
Item TabGroup::currentTab |
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.
Definition at line 67 of file TabGroup.qml.
list<Item> TabGroup::privateContents |
Definition at line 69 of file TabGroup.qml.
alias TabGroup::privateContentsDefault |
- Remarks
- This is the default property
Definition at line 72 of file TabGroup.qml.
The documentation for this class was generated from the following file:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:02:47 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.