MeeGo 1.2 Harmattan Developer Documentation Develop for the Nokia N9

QML TabGroup Element

Defines a set of tabs shown on one page. More...

Inherits Item

This element was introduced in qt-components 4.7.


Detailed Description

The TabGroup item defines a set of tabs consisting of page stacks or pages that can be switched between to implement a tabbed user interface.

 TabGroup {
       id: tabGroup

       currentTab: tab1

       PageStack {
           id: tab1
       PageStack {
           id: tab2
       Page {
           id: tab3
           Column {
               spacing: 10

               Text {
                   text: "This is a single page"

Property Documentation

currentTab : Item

The current selected Page or PageStack Changing the currentTab property changes the current visible content and changes the status property of the child.