Ok, i think i now understand the purpose of the "model". I was thinking that i needed to use my objects (Window, WindowMessage, etc) as the model for the QTreeView or QListView, where each item would have a model. But i now see that views have a model to represent the entire data structure. So i guess this means that i would subclass one of Qt's model classes to hold the list of messages. Is this right? Since i already store the messages in a list somewhere, how will this model object differ from the QList i already have?
If you don'tknow what i'm talking about, you can download the latest source code from here to see how i'm currently doing thinks.
Bookmarks