ProjectsTreeModel

Qualified name: mv::ProjectsTreeModel

class ProjectsTreeModel : public mv::AbstractProjectsModel

Projects tree model class.

Contains projects in a tree.

Author

Thomas Kroes

Public Functions

ProjectsTreeModel(const PopulationMode &mode = PopulationMode::Automatic, QObject *parent = nullptr)

Construct with population mode and pointer to parent object.

Parameters:
  • mode – Mode of the model (automatic/manual)

  • parent – Pointer to parent object

Protected Functions

virtual void populate(util::ProjectsModelProjectSharedPtrs projects) override

Populate the model with the given projects.

Parameters:

projects – Shared pointers to projects to populate the model with