Results 1 to 2 of 2

Thread: new page in qml

  1. #1
    Join Date
    May 2011
    Posts
    120
    Thanks
    33
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: new page in qml

    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”)
    Last edited by vinayaka; 13th June 2011 at 10:50.

  2. #2
    Join Date
    Jun 2011
    Posts
    8
    Thanked 3 Times in 3 Posts
    Qt products
    Platforms
    Unix/X11 Windows Symbian S60

    Default Re: new page in qml

    Actually, you could use ListView.

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

  3. The following user says thank you to deyili for this useful post:

    vinayaka (14th June 2011)

Similar Threads

  1. Log In Page
    By chronoski in forum Qt Quick
    Replies: 2
    Last Post: 20th May 2011, 02:28
  2. Cannot run example from Welcome Page
    By rox_rook in forum Installation and Deployment
    Replies: 6
    Last Post: 18th December 2010, 18:46
  3. How can I support page up/page down on QTextEdit
    By wesley in forum Qt Programming
    Replies: 7
    Last Post: 14th September 2010, 19:18
  4. QTabWidget remove a page at the page's request
    By thomaspu in forum Qt Programming
    Replies: 2
    Last Post: 29th December 2007, 20:45

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.