PDA

View Full Version : new page in qml



vinayaka
13th June 2011, 11:50
hai all,
In the main qml page I have a button called "play". when its clicked I want to go to a new page contains option (for ex:comp v/s user etc). I want to do it in qml. Is there any way to do so?
thanx in advance:)

Added after 19 minutes:

Is there any way to do like this
onClicked: pageModel.changePage(“Play.qml”)

deyili
14th June 2011, 04:50
Actually, you could use ListView.

by changing currentIndex property of ListView, you can switch between views (page).