Results 1 to 3 of 3

Thread: Qt Quick model with sub items navigation

  1. #1
    Join Date
    Oct 2014
    Posts
    104
    Thanks
    16
    Thanked 1 Time in 1 Post
    Qt products
    Qt5
    Platforms
    Unix/X11 Windows

    Default Qt Quick model with sub items navigation

    Hi Qt Masters!

    Here i am again asking for your help!

    Here's my scenario:
    a) i have a model of items with sub items
    b) i used stack view in navigating the parent items, this is working fine already
    c) my problem is how to access sub items, is it possible to create a stack view within the stack view (parent items)?

    Please advise any possible approach on this issue.

    Thanks in advance!

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Qt Quick model with sub items navigation

    I don't know how would a stack view within a stack view work but if you want it then you can achieve that by using a VisualDataModel which will expose a lower level of your model.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  3. #3
    Join Date
    Oct 2014
    Posts
    104
    Thanks
    16
    Thanked 1 Time in 1 Post
    Qt products
    Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Qt Quick model with sub items navigation

    Quote Originally Posted by wysota View Post
    I don't know how would a stack view within a stack view work but if you want it then you can achieve that by using a VisualDataModel which will expose a lower level of your model.
    Thank you for your response.

    All I did now is push the sub item using a link.

    Cheers!
    Last edited by joko; 28th November 2014 at 11:22.

Similar Threads

  1. Model View in Qt Quick vs C++
    By user_mail07 in forum Qt Quick
    Replies: 1
    Last Post: 26th April 2013, 10:59
  2. Model Items do not updated
    By rimie23 in forum Qt Programming
    Replies: 1
    Last Post: 8th June 2012, 21:26
  3. Adding new items to model (MVC)
    By Urvin in forum Qt Programming
    Replies: 1
    Last Post: 7th November 2010, 07:54
  4. Quick question about filtering item model
    By maverick_pol in forum Qt Programming
    Replies: 1
    Last Post: 20th December 2007, 16:29
  5. quick question on model/view programming
    By locus in forum Qt Programming
    Replies: 1
    Last Post: 2nd February 2007, 10:04

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.