AGX Dynamics  2.37.3.2
agxQt::CameraViewModel Class Reference

Model used to access data from the camera view set (Model-view Design pattern) More...

#include <CameraListWidget.h>

+ Inheritance diagram for agxQt::CameraViewModel:

Public Member Functions

 CameraViewModel (CameraDescriptionSet *cameraSet, QObject *parent=0)
 
QVariant data (const QModelIndex &index, int role) const
 
Qt::ItemFlags flags (const QModelIndex &index) const
 
CameraDescriptionSet * getCameraDescriptionSet ()
 
QVariant headerData (int section, Qt::Orientation orientation, int role=Qt::DisplayRole) const
 
int rowCount (const QModelIndex &parent=QModelIndex()) const
 
bool setData (const QModelIndex &index, const QVariant &value, int role=Qt::EditRole)
 

Detailed Description

Model used to access data from the camera view set (Model-view Design pattern)

Definition at line 40 of file CameraListWidget.h.

Constructor & Destructor Documentation

◆ CameraViewModel()

agxQt::CameraViewModel::CameraViewModel ( CameraDescriptionSet *  cameraSet,
QObject *  parent = 0 
)
inline

Member Function Documentation

◆ data()

QVariant agxQt::CameraViewModel::data ( const QModelIndex &  index,
int  role 
) const

Referenced by CameraViewModel().

◆ flags()

Qt::ItemFlags agxQt::CameraViewModel::flags ( const QModelIndex &  index) const

Referenced by CameraViewModel().

◆ getCameraDescriptionSet()

CameraDescriptionSet* agxQt::CameraViewModel::getCameraDescriptionSet ( )

Referenced by CameraViewModel().

◆ headerData()

QVariant agxQt::CameraViewModel::headerData ( int  section,
Qt::Orientation  orientation,
int  role = Qt::DisplayRole 
) const

Referenced by CameraViewModel().

◆ rowCount()

int agxQt::CameraViewModel::rowCount ( const QModelIndex &  parent = QModelIndex()) const

Referenced by CameraViewModel().

◆ setData()

bool agxQt::CameraViewModel::setData ( const QModelIndex &  index,
const QVariant &  value,
int  role = Qt::EditRole 
)

Referenced by CameraViewModel().


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