DISPLACE  1.0
A spatial model of fisheries to help sustainable fishing and maritime spatial planning
objecttree::ShapefileLayerEntity Class Reference

#include <shapefilelayerentity.h>

Inheritance diagram for objecttree::ShapefileLayerEntity:
objecttree::LayerEntity objecttree::ObjectTreeEntity

Public Slots

void onActionShapeColor ()
 

Public Member Functions

 ShapefileLayerEntity (ObjectTreeModel *_model, int LayerEntity_idx=-1)
 
virtual ~ShapefileLayerEntity ()
 
QModelIndex index (int row, int column, const QModelIndex &parent) const override
 
virtual QMenu * contextMenu () const override
 
- Public Member Functions inherited from objecttree::LayerEntity
 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 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
 
- Public Member Functions inherited from objecttree::ObjectTreeEntity
 ObjectTreeEntity (ObjectTreeModel *_model)
 
virtual ~ObjectTreeEntity ()
 
virtual void modelChanged (int)
 

Additional Inherited Members

- Protected Attributes inherited from objecttree::ObjectTreeEntity
ObjectTreeModelmodel
 

Constructor & Destructor Documentation

◆ ShapefileLayerEntity()

ShapefileLayerEntity::ShapefileLayerEntity ( ObjectTreeModel _model,
int  LayerEntity_idx = -1 
)
explicit

◆ ~ShapefileLayerEntity()

ShapefileLayerEntity::~ShapefileLayerEntity ( )
virtual

Member Function Documentation

◆ contextMenu()

QMenu * ShapefileLayerEntity::contextMenu ( ) const
overridevirtual

Reimplemented from objecttree::ObjectTreeEntity.

◆ index()

QModelIndex ShapefileLayerEntity::index ( int  row,
int  column,
const QModelIndex &  parent 
) const
overridevirtual

Reimplemented from objecttree::LayerEntity.

◆ onActionShapeColor

void ShapefileLayerEntity::onActionShapeColor ( )
slot

The documentation for this class was generated from the following files: