2 import Qt.labs.components 1.0
3 import com.nokia.meego 1.0
5 import com.nokia.extras 1.0
13 property bool busy: Boolean(tabGroup.currentTab.busy)
14 anchors.margins: rootWindow.pageMargin
16 tools: ToolBarLayout {
17 ToolIcon { iconId: "toolbar-back"; onClicked: pageStack.pop(); }
19 platformStyle: TabButtonStyle { }
30 iconId: "toolbar-view-menu"
31 onClicked: (myMenu.status == DialogStatus.Closed) ? myMenu.open() : myMenu.close()
35 // text: "Hello World!"
36 // font.family: "Helvetica"
39 // anchors.fill: parent
43 width: 200; height: 400
47 // TODO: Does not work like this. Need properties to set from QML?
48 // Try setting test data from C++ side and view here..
78 anchors.leftMargin: 10
79 anchors.left: hashText.right
84 anchors.leftMargin: 10
85 anchors.left: nameText.right
90 anchors.leftMargin: 10
91 anchors.left: seedsText.right
97 // downloadModel is from rootContext, set in main.cpp
99 delegate: downloadDelegate
106 page: "CountBubble.qml"
108 subtitle: "Indicates current count"
111 page: "NetPromoterScore.qml"
112 title: "NetPromoterScore"
113 subtitle: "Shows net promotion query page"
116 page: "PageIndicator.qml"
117 title: "PageIndicator"
118 subtitle: "Indicates total & current pages"
121 page: "RatingIndicator.qml"
122 title: "RatingIndicator"
123 subtitle: "Indicates ratings"
126 page: "ListDelegates.qml"
127 title: "List Delegates"
128 subtitle: "Various List Delegates"
131 page: "MoreIndicator.qml"
132 title: "MoreIndicator"
133 subtitle: "Indicates that there are more contents"
136 page: "StyledButtons.qml"
137 title: "StyledButtons"
138 subtitle: "Buttons with different styles"
146 delegate: ListDelegate {
148 source: "image://theme/icon-m-common-drilldown-arrow" + (theme.inverted ? "-inverse" : "")
149 anchors.right: parent.right;
150 anchors.verticalCenter: parent.verticalCenter
153 subtitleColor: "#cc6633"
154 onClicked: { openFile(model.page); }
161 currentTab: downloads
175 text: "This is a single page"
182 visualParent: mainPage
187 onClicked: { console.log("opening torrent picker"); pageStack.push(torrentPickerComp); }
192 id: torrentPickerComp
193 TorrentPickerPage { }