09-18-2012 12:57 AM
hai there is problem in page navigation by using qml i have created a new project it creates a default qml (main.qml) and i have added a new qml page and then iam trying to navigate from main.qml to created page but it was not navigating here is the code check....
navigationPane.deprecatedPushQmlByString("Detail.q
Deatail is the page created by me this method was used in main.qml which was created defaultly
09-18-2012 01:03 AM
navigationPaneId.push(id of the push page);
and that will work
09-18-2012 01:26 AM
09-18-2012 01:35 AM
but if the (.qml) pages are different is it work
09-18-2012 02:21 AM
Please provide some code.
09-18-2012 02:56 AM
NavigationPane {
id: navigationPane
Page {
Container {
Button {
text: qsTr ("Click Me")
onClicked: {
navigationPane.deprecatedPushQmlByString("Page2.qm
}
}
}
}
}
09-18-2012 03:24 AM
Hi,
Check attachement .
Thanks.
--------------------------------------------------
feel free to press the like button on the right side to thank the user that helped you.
09-18-2012 05:43 AM
thank u
11-03-2012 06:31 PM
Let's make it little bit harder.
If i have main as TabbedPane wich would show list of data on each tab, but when i click the the item itself i want it to be opened in NavigatePane with item info and the back would kick me back to TabbedPane. I know it's possible because BBM on bb10dev alpha acts this way when you go into conversation.
11-04-2012 01:52 AM
ZogG wrote:
Let's make it little bit harder.
If i have main as TabbedPane wich would show list of data on each tab, but when i click the the item itself i want it to be opened in NavigatePane with item info and the back would kick me back to TabbedPane. I know it's possible because BBM on bb10dev alpha acts this way when you go into conversation.
I have a TabbedPane where tabs gave Lists,
and on each tab a NavigationPane is on top with some Pages
Back brings you back to the Tabs
(Im displaying all Tabs in Actionbar only at topmost Screen,
after selöecting a Tab, all Tabs are displayed in left Sidebar to have space for Actions in the Actionbar besides the selected Tab
you can found all of this in my Open Source project OpenDataSpace