<br><div class="gmail_quote">On Tue, Aug 11, 2009 at 7:50 PM, Jakob Leben <span dir="ltr"><<a href="mailto:jakob.leben@gmail.com">jakob.leben@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I believe that subclassing QAbstractItemModel allows just that: to use an "external" model. This abstract class contains only minimal code to communicate with the QAbstractItemView, and it does not force any data structures to hold the data in the model, you can easily use your ready-made ones.<br>
</blockquote></div><br>Essentially, what you do when subclassing QAbstractItemModel is not creating a(nother) model, but just implementing functions through which the view gets data from wherever you have it stored.<br>