ICF 3.0.5.47
Technical documentation of ICF Libraries
i2dgui::TPolygonBasedParamsGuiComp< PolygonBasedShape, PolygonBasedModel >::TableModel Class Reference

#include <TPolygonBasedParamsGuiComp.h>

Inherits QAbstractTableModel.

Collaboration diagram for i2dgui::TPolygonBasedParamsGuiComp< PolygonBasedShape, PolygonBasedModel >::TableModel:

Public Types

typedef QAbstractTableModel BaseClass
 

Public Member Functions

 TableModel (TPolygonBasedParamsGuiComp< PolygonBasedShape, PolygonBasedModel > *parentPtr)
 
int rowCount (const QModelIndex &parent=QModelIndex()) const override
 
int columnCount (const QModelIndex &parent=QModelIndex()) const override
 
QVariant data (const QModelIndex &index, int role=Qt::DisplayRole) const override
 
bool setData (const QModelIndex &index, const QVariant &value, int role=Qt::EditRole) override
 
QVariant headerData (int section, Qt::Orientation orientation, int role=Qt::DisplayRole) const override
 
Qt::ItemFlags flags (const QModelIndex &index) const override
 
bool removeRows (int row, int count, const QModelIndex &parent=QModelIndex()) override
 

Detailed Description

template<class PolygonBasedShape, class PolygonBasedModel>
class i2dgui::TPolygonBasedParamsGuiComp< PolygonBasedShape, PolygonBasedModel >::TableModel

Definition at line 75 of file TPolygonBasedParamsGuiComp.h.

Member Typedef Documentation

◆ BaseClass

template<class PolygonBasedShape , class PolygonBasedModel >
QAbstractTableModel i2dgui::TPolygonBasedParamsGuiComp< PolygonBasedShape, PolygonBasedModel >::TableModel::BaseClass

Definition at line 78 of file TPolygonBasedParamsGuiComp.h.

Constructor & Destructor Documentation

◆ TableModel()

template<class PolygonBasedShape , class PolygonBasedModel >
i2dgui::TPolygonBasedParamsGuiComp< PolygonBasedShape, PolygonBasedModel >::TableModel::TableModel ( TPolygonBasedParamsGuiComp< PolygonBasedShape, PolygonBasedModel > * parentPtr)
explicit

Definition at line 492 of file TPolygonBasedParamsGuiComp.h.

Member Function Documentation

◆ columnCount()

template<class PolygonBasedShape , class PolygonBasedModel >
int i2dgui::TPolygonBasedParamsGuiComp< PolygonBasedShape, PolygonBasedModel >::TableModel::columnCount ( const QModelIndex & parent = QModelIndex()) const
override

Definition at line 512 of file TPolygonBasedParamsGuiComp.h.

◆ data()

template<class PolygonBasedShape , class PolygonBasedModel >
QVariant i2dgui::TPolygonBasedParamsGuiComp< PolygonBasedShape, PolygonBasedModel >::TableModel::data ( const QModelIndex & index,
int role = Qt::DisplayRole ) const
override

Definition at line 523 of file TPolygonBasedParamsGuiComp.h.

◆ flags()

template<class PolygonBasedShape , class PolygonBasedModel >
Qt::ItemFlags i2dgui::TPolygonBasedParamsGuiComp< PolygonBasedShape, PolygonBasedModel >::TableModel::flags ( const QModelIndex & index) const
override

Definition at line 556 of file TPolygonBasedParamsGuiComp.h.

◆ headerData()

template<class PolygonBasedShape , class PolygonBasedModel >
QVariant i2dgui::TPolygonBasedParamsGuiComp< PolygonBasedShape, PolygonBasedModel >::TableModel::headerData ( int section,
Qt::Orientation orientation,
int role = Qt::DisplayRole ) const
override

Definition at line 545 of file TPolygonBasedParamsGuiComp.h.

◆ removeRows()

template<class PolygonBasedShape , class PolygonBasedModel >
bool i2dgui::TPolygonBasedParamsGuiComp< PolygonBasedShape, PolygonBasedModel >::TableModel::removeRows ( int row,
int count,
const QModelIndex & parent = QModelIndex() )
override

Definition at line 566 of file TPolygonBasedParamsGuiComp.h.

References i2d::CPolypoint::RemoveNode().

◆ rowCount()

template<class PolygonBasedShape , class PolygonBasedModel >
int i2dgui::TPolygonBasedParamsGuiComp< PolygonBasedShape, PolygonBasedModel >::TableModel::rowCount ( const QModelIndex & parent = QModelIndex()) const
override

Definition at line 501 of file TPolygonBasedParamsGuiComp.h.

◆ setData()

template<class PolygonBasedShape , class PolygonBasedModel >
bool i2dgui::TPolygonBasedParamsGuiComp< PolygonBasedShape, PolygonBasedModel >::TableModel::setData ( const QModelIndex & index,
const QVariant & value,
int role = Qt::EditRole )
override

Definition at line 534 of file TPolygonBasedParamsGuiComp.h.


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

© Witold Gantzke and Kirill Lepskiy