DISPLACE
1.0
A spatial model of fisheries to help sustainable fishing and maritime spatial planning
|
Generic Entity for layer management. More...
#include <layerentity.h>
Public Member Functions | |
LayerEntity (ObjectTreeModel::Category type, ObjectTreeModel *_model, int LayerEntity_idx=-1) | |
virtual | ~LayerEntity () |
virtual ObjectTreeModel::Category | getCategory () const |
virtual QModelIndex | parent (const QModelIndex &parent) const |
virtual QModelIndex | index (int row, int column, const QModelIndex &parent) const |
virtual int | rowCount () const |
virtual int | columnCount () const |
virtual QVariant | data (const QModelIndex &index, int role) const |
virtual Qt::ItemFlags | flags (Qt::ItemFlags defflags, const QModelIndex &index) const |
virtual bool | setData (const QModelIndex &index, const QVariant &value, int role) |
int | layerEntityIndex () const |
ObjectTreeModel::Category | layerEntityType () const |
![]() | |
ObjectTreeEntity (ObjectTreeModel *_model) | |
virtual | ~ObjectTreeEntity () |
virtual QMenu * | contextMenu () const |
virtual void | modelChanged (int) |
Additional Inherited Members | |
![]() | |
ObjectTreeModel * | model |
Generic Entity for layer management.
objecttree::LayerEntity::LayerEntity | ( | ObjectTreeModel::Category | type, |
ObjectTreeModel * | _model, | ||
int | LayerEntity_idx = -1 |
||
) |
|
virtual |
|
virtual |
Implements objecttree::ObjectTreeEntity.
|
virtual |
Implements objecttree::ObjectTreeEntity.
|
virtual |
Reimplemented from objecttree::ObjectTreeEntity.
|
inlinevirtual |
Implements objecttree::ObjectTreeEntity.
|
virtual |
Implements objecttree::ObjectTreeEntity.
Reimplemented in objecttree::ShapefileLayerEntity.
|
inline |
|
inline |
|
virtual |
Implements objecttree::ObjectTreeEntity.
|
virtual |
Implements objecttree::ObjectTreeEntity.
|
virtual |
Reimplemented from objecttree::ObjectTreeEntity.