Public Types | Public Member Functions | List of all members
iqt2d::TPolygonBasedParamsGuiComp< PolygonBasedShape, PolygonBasedModel >::TableModel Class Reference

#include <TPolygonBasedParamsGuiComp.h>

Inheritance diagram for iqt2d::TPolygonBasedParamsGuiComp< PolygonBasedShape, PolygonBasedModel >::TableModel:

Public Types

typedef QAbstractTableModel BaseClass
 

Public Member Functions

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

Detailed Description

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

Definition at line 74 of file TPolygonBasedParamsGuiComp.h.

Member Typedef Documentation

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

Definition at line 77 of file TPolygonBasedParamsGuiComp.h.

Constructor & Destructor Documentation

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

Definition at line 464 of file TPolygonBasedParamsGuiComp.h.

Member Function Documentation

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

Definition at line 484 of file TPolygonBasedParamsGuiComp.h.

References NULL.

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

Definition at line 495 of file TPolygonBasedParamsGuiComp.h.

References NULL.

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

Definition at line 528 of file TPolygonBasedParamsGuiComp.h.

References NULL.

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

Definition at line 517 of file TPolygonBasedParamsGuiComp.h.

References NULL.

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

Definition at line 473 of file TPolygonBasedParamsGuiComp.h.

References NULL.

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

Definition at line 506 of file TPolygonBasedParamsGuiComp.h.

References NULL.


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

© 2007-2017 Witold Gantzke and Kirill Lepskiy