import com.nokia.meego 1.0
import com.meego 1.0
import com.nokia.extras 1.0
+import Qt 4.7
import QtRapids 1.0
Page {
- id: tabbarPage
+ id: mainPage
property bool busy: Boolean(tabGroup.currentTab.busy)
anchors.margins: rootWindow.pageMargin
tab: seeds
}
}
- ToolIcon { iconId: "toolbar-view-menu"; onClicked: (myMenu.status == DialogStatus.Closed) ? myMenu.open() : myMenu.close() }
+ ToolIcon {
+ iconId: "toolbar-view-menu"
+ onClicked: (myMenu.status == DialogStatus.Closed) ? myMenu.open() : myMenu.close()
+ }
}
// Text {
// text: "Hello World!"
}
}
}
-
+ Menu {
+ id: myMenu
+ visualParent: mainPage
+ MenuLayout {
+ MenuItem {
+ id: menuItemOpenFile
+ text: "Open"
+ onClicked: { console.log("opening torrent picker"); pageStack.push(torrentPickerComp); }
+ }
+ }
+ }
+ Component {
+ id: torrentPickerComp
+ TorrentPickerPage { }
+ }
}
\ No newline at end of file