States and orientation change
-
wrote on 6 Mar 2012, 12:01 last edited by
i've got Row element with 3 Rectangles in it and States (page1, page2, page3) it works perfect with only one exception, when the page2 or page3 is shown it always goes to page1 (looses state?) when the orientation is changed anyone knows why? thanks
-
wrote on 6 Mar 2012, 12:57 last edited by
What target system do you use? If Symbian Belle see "Navigating with the PageStack (Advanced Method)" on "PageStack element" topic in qthelp://com.nokia.qtcomponentssymbian.110/doc/index.html.
-
wrote on 6 Mar 2012, 19:56 last edited by
seems like pagestack is a good solution but my pages have dynamically generated listviews is there any way of building pages before pushing them into pagestack?
this is similar to what my app looks like http://qtsource.files.wordpress.com/2011/01/sliding_list_scaled.png
-
wrote on 7 Mar 2012, 13:57 last edited by
A hard question. Personally I never used states. On Anna I made my own toolbar, something like ToolBarLayout on Bellle. I think you could build a class for a page and use it as a type to build page dynamicly, but really now I have no idea how to solve this. Perhaps easier could be seeking for an error in your code ;)
-
wrote on 8 Mar 2012, 12:13 last edited by
weird thing happened since im using pageStack NetworkInfo stopped working seems like it doesn't like this line: import com.nokia.symbian 1.1 which is required to use pageStack element
-
wrote on 8 Mar 2012, 15:42 last edited by
no but this doesn't make any difference moving to this thread http://qt-project.org/forums/viewthread/15211/
-
wrote on 8 Mar 2012, 16:05 last edited by
Hmmmm... I have the same error. A bug? Searching..............................................
-
wrote on 8 Mar 2012, 16:07 last edited by
OK. I HAVE: import QtMobility.systeminfo 1.1 :D
and there's no problem :D any moreIf I've helped please rate this post ;)
-
wrote on 10 Mar 2012, 20:35 last edited by
[quote] author="fgrs" date="1331063804"]is there any way of building pages before pushing them into pagestack?
[/quote]
Might it help: http://qt-project.org/wiki/QML-Dynamic-Objects ?
3/10