~ubuntu-branches/ubuntu/quantal/kde-runtime/quantal

« back to all changes in this revision

Viewing changes to plasma/declarativeimports/plasmacomponents/qml/TabGroup.qml

  • Committer: Package Import Robot
  • Author(s): Philip Muškovac
  • Date: 2012-06-03 21:50:00 UTC
  • mto: This revision was merged to the branch mainline in revision 21.
  • Revision ID: package-import@ubuntu.com-20120603215000-vn7oarsq0ynrydj5
Tags: upstream-4.8.80
Import upstream version 4.8.80

Show diffs side-by-side

added added

removed removed

Lines of Context:
38
38
**
39
39
****************************************************************************/
40
40
 
41
 
/**Documentanted API
 
41
/**Documented API
42
42
Inherits:
43
43
        Item
44
44
 
45
45
Imports:
46
46
        QtQuick 1.1
47
 
        .
48
 
        TabGroup.js
49
47
 
50
48
Description:
51
 
 TODO
 
49
        Provides a set of pages for a tab-based interface.
 
50
        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.
 
51
        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.
52
52
 
53
53
Properties:
54
54
        Item currentTab:
55
 
        Returns the current tab.
 
55
        The tab that is currently active and visible to the user.
 
56
        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.
56
57
 
57
58
**/
58
59
 
59
60
import QtQuick 1.1
60
 
import "TabGroup.js" as Engine
 
61
import "private/TabGroup.js" as Engine
61
62
 
62
63
import "." 0.1
63
64