KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
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. The "structure" I have is pretty simple - there's a Project object that holds Task objects in a std::vector container. These tasks can also hold child tasks. I've already written methods to read & write these projects to/from XML files using Qt's XML classes. Is there any more documentation or "recommended reading" for creating models from scratch? How do you recommend I start implementing this?
Tags (comma-separated)
Save Edits
Cancel