2 import com.nokia.meego 1.0
7 anchors.margins: UiConstants.DefaultMargin
12 currentTab: showcaseTab
21 text: "Search for feeds"
26 placeHolder: "Enter a search term"
33 onClicked: feedJS.search(searchInput.text)
38 titleText: "Select feed:"
40 onSelectedIndexChanged: {
41 if (selectedIndex>=0) {
42 var feedTitle = singleSelectionDialog.model.get(singleSelectionDialog.selectedIndex).name;
43 var feedUrl = singleSelectionDialog.model.get(singleSelectionDialog.selectedIndex).url;
44 console.log("Adding feed "+title+" at " +url);
58 text: "Enter the feed URL"
63 placeHolder: "Feed URL"
72 console.log("Adding "+urlInput.text)
81 iconId: "toolbar-back"
82 onClicked: tabGroup.currentTab.depth > 1 ? tabGroup.currentTab.pop() : pageStack.pop()
103 // height: myDialog.platformStyle.titleBarHeight
104 // width: parent.width
107 // anchors.left: supplement.right
108 // anchors.verticalCenter: titleField.verticalCenter
109 // font.capitalization: Font.MixedCase
111 // text: "Add A Feed"
118 // //height: childrenRect.height
124 // placeHolder: "Enter a feed URL"
129 // buttons: ButtonRow {
130 // platformStyle: ButtonStyle { }
131 // anchors.horizontalCenter: parent.horizontalCenter
132 // Button {id: b1; text: "OK"; onClicked: myDialog.accept()}
133 // Button {id: b2; text: "Cancel"; onClicked: myDialog.reject()}