I only used the architecture model once, but I will try to give you a general idea of ββthis architecture, because it seems to me that you still do not understand it very well. So this is likely to be incomplete and simplistic, but hopefully somewhat correct.
If you are working with a view, you can provide your own model. If you work with widgets, then you do not work with the qt model, but insert the elements yourself. It is advisable that you work with the model for decoupling things (so that you can have more than one view for the same model or change the model later ...)
When you use a model, the view itself will know how to ask the model you provide to populate the view (using the data function). There are several ways to get a choice from this view: I processed it by connecting the click signal that is displayed when a user clicks on the view into a slot function that I wrote myself. The click signal provides a table / list index, which I map to an element in my model in this slot function.
There are probably more ways to do this, but here's how I did it, and it works great.
To get a general idea of ββthe qt model presentation architecture:
http://doc.trolltech.com/4.5/model-view-programming.html
Emile vrijdags
source share