Hi
I need to make a tree of widgets.
I tried using a QTreeView and a subclassed QAbstractItemModel, but I coulnd't figure out how the tree view woould know how to draw my widgets, since the model only provides it with QVariant data.
Then I read this post: inserting custom Widget to listview, and I ust admit it made me really confused.
Could you please point me to an example or give me some pointers how to achieve my goal.
I must add, that I will need to dsplay all kinds of widgets in the tree - not only labels and buttons.
Thanks,
Paksas
Bookmarks