2 import Qt.labs.components 1.0
3 import com.nokia.meego 1.0
5 import com.nokia.extras 1.0
12 property bool busy: Boolean(tabGroup.currentTab.busy)
13 anchors.margins: rootWindow.pageMargin
15 tools: ToolBarLayout {
16 ToolIcon { iconId: "toolbar-back"; onClicked: pageStack.pop(); }
18 platformStyle: TabButtonStyle { }
28 ToolIcon { iconId: "toolbar-view-menu"; onClicked: (myMenu.status == DialogStatus.Closed) ? myMenu.open() : myMenu.close() }
31 // text: "Hello World!"
32 // font.family: "Helvetica"
35 // anchors.fill: parent
39 width: 200; height: 400
43 // TODO: Does not work like this. Need properties to set from QML?
44 // Try setting test data from C++ side and view here..
74 anchors.leftMargin: 10
75 anchors.left: hashText.right
80 anchors.leftMargin: 10
81 anchors.left: nameText.right
86 anchors.leftMargin: 10
87 anchors.left: seedsText.right
93 // downloadModel is from rootContext, set in main.cpp
95 delegate: downloadDelegate
102 page: "CountBubble.qml"
104 subtitle: "Indicates current count"
107 page: "NetPromoterScore.qml"
108 title: "NetPromoterScore"
109 subtitle: "Shows net promotion query page"
112 page: "PageIndicator.qml"
113 title: "PageIndicator"
114 subtitle: "Indicates total & current pages"
117 page: "RatingIndicator.qml"
118 title: "RatingIndicator"
119 subtitle: "Indicates ratings"
122 page: "ListDelegates.qml"
123 title: "List Delegates"
124 subtitle: "Various List Delegates"
127 page: "MoreIndicator.qml"
128 title: "MoreIndicator"
129 subtitle: "Indicates that there are more contents"
132 page: "StyledButtons.qml"
133 title: "StyledButtons"
134 subtitle: "Buttons with different styles"
142 delegate: ListDelegate {
144 source: "image://theme/icon-m-common-drilldown-arrow" + (theme.inverted ? "-inverse" : "")
145 anchors.right: parent.right;
146 anchors.verticalCenter: parent.verticalCenter
149 subtitleColor: "#cc6633"
150 onClicked: { openFile(model.page); }
157 currentTab: downloads
171 text: "This is a single page"