Results 1 to 3 of 3

Thread: How Get model of a child item within QStandardItem

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,373
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Thanks
    3
    Thanked 5,019 Times in 4,795 Posts
    Wiki edits
    10

    Default Re: How Get model of a child item within QStandardItem

    Use the VisualDataModel element and set the rootIndex property to the item which is the parent item of those items you wish to display in the view.
    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.


  2. The following user says thank you to wysota for this useful post:

    bounce (3rd September 2013)

  3. #2
    Join Date
    Sep 2013
    Posts
    10
    Qt products
    Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows
    Thanks
    1

    Default Re: How Get model of a child item within QStandardItem

    Awesome ! Many thanks

Similar Threads

  1. Replies: 2
    Last Post: 22nd August 2013, 10:50
  2. Replies: 9
    Last Post: 14th February 2013, 19:39
  3. Using model indices in complex model item relationships
    By hackerNovitiate in forum Newbie
    Replies: 0
    Last Post: 29th June 2011, 14:30
  4. QT Model View - parent Item different from child
    By mromanuk in forum Qt Programming
    Replies: 2
    Last Post: 9th March 2011, 18:21
  5. Replies: 7
    Last Post: 3rd December 2010, 05:02

Tags for this Thread

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
  •  
Qt is a trademark of The Qt Company.