title: Creating Qt models for tree views
body: <p>I'm writing an application in Qt (with C++) and I need to represent an object structure in a tree view. One of the ways to do this is to create a model for this, but I'm still quite confused after reading the Qt documentation about the subject.</p>
  
  <p>The "structure" I have is pretty simple - there's a <code>Project</code> object that holds <code>Task</code> objects in a <code>std::vector</code> container. These tasks can also hold child tasks.</p>
  
  <p>I've already written methods to read &amp; write these projects to/from XML files using Qt's XML classes.</p>
  
  <p>Is there any more documentation or "recommended reading" for creating models from scratch? How do you recommend I start implementing this?</p>