Results 1 to 2 of 2

Thread: Tree without using of QStandardItem

  1. #1
    Join Date
    Apr 2008
    Posts
    196
    Thanked 8 Times in 6 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows
    Wiki edits
    1

    Default Tree without using of QStandardItem

    Hey @all,

    did anybody know a way to generate a tree model without to use QStandardItem?
    I mean only with pModel->setData(????); and pModel->data(???);

    Thanks in advance

    Best Regards
    NoRulez

  2. #2
    Join Date
    Jan 2006
    Location
    Germany
    Posts
    4,380
    Thanks
    19
    Thanked 1,005 Times in 913 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows Symbian S60
    Wiki edits
    5

    Default Re: Tree without using of QStandardItem

    You can create your own model. See "Model Subclassing Reference" in the docs.

Similar Threads

  1. setObjectName for QStandardItem
    By abk883 in forum Newbie
    Replies: 1
    Last Post: 20th May 2010, 18:20
  2. HTML and QStandardItem ?
    By alexandernst in forum Newbie
    Replies: 18
    Last Post: 4th August 2009, 12:07
  3. UTF8 and QStandardItem?
    By alexandernst in forum Newbie
    Replies: 17
    Last Post: 26th July 2009, 18:29
  4. QStandardItem question.
    By alexandernst in forum Qt Programming
    Replies: 6
    Last Post: 21st July 2009, 01:01
  5. Subclassing QStandardItem
    By aLiNuSh in forum Newbie
    Replies: 4
    Last Post: 5th April 2007, 20:00

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.