MeVisLabToolboxReference
MeVisLab/Standard/Sources/Shared/MLItemModel/mlAbstractItemModel.h File Reference

Defines a Base class for representing hierarchical data. More...

#include <mlRefCountedBase.h>
#include <vector>
#include "MLItemModelSystem.h"
#include <mlVariant.h>

Go to the source code of this file.

Classes

class  ml::ModelIndex
 This class serves as an index into an AbstractItemModel. More...
class  ml::AbstractItemModel
 This class represents an abstract hierarchical item model where the items have named attributes which can be queried and even modified. More...
class  ml::ItemModelEvent
 This intermediate class only exists to conveniently get the source() as the model() from an event. More...
class  ml::TwoPhaseItemModelEvent
 This is the base class for all events that are sent before and after a change. More...
class  ml::ItemsInsertedEvent
 This event informs about inserted items. More...
class  ml::ItemsRemovedEvent
 This event informs about removed items. More...
class  ml::ItemChangedEvent
 This event tells us that the children of the item have changed completely (for an invalid ModelIndex this would mean everything has changed) More...
class  ml::ItemsDataChangedEvent
 This event informs about attributes that have changed their values. More...

Namespaces

namespace  ml
 

Define the namespace name like in the ML. Default is ml.



Detailed Description

Defines a Base class for representing hierarchical data.

The design is derived from Qt's QAbstractItemModel, but does away with the row/column scheme for supporting tables. Instead we just have child items with abstract data attributes.

Author:
Uwe Siems
Date:
06/2011

Definition in file mlAbstractItemModel.h.