[Qt-interest] Query on view/model architecture.

Scott Aron Bloom Scott.Bloom at sabgroup.com
Thu Jun 4 08:46:35 CEST 2009


Yes...

 

Create a proper tree based model and get the tree view working... For
the list view, just set the root model index, and the "list" will be
that nodes children

 

Scott

 

From: qt-interest-bounces at trolltech.com
[mailto:qt-interest-bounces at trolltech.com] On Behalf Of shwetha sankethi
Sent: Wednesday, June 03, 2009 11:40 PM
To: qt-interest at trolltech.com
Subject: [Qt-interest] Query on view/model architecture.

 

Hello all,
              I have a question on view/model architecture.Can i create
a single model which can be used to have list view, tree view. If yes,
can anyone explain how to do the same( i.e how can we populate the model
with the data) .if no, what is the alternate method to do the same.Thank
you all.

-Shwetha
  



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090603/82cbc6e6/attachment.html 


More information about the Qt-interest-old mailing list