This example shows how to implement a simple item-based tree model that can be used with other classes the model/view framework.