AGXDynamics  2.31.1.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
agxQt::TreeModel Class Reference

TreeModel. More...

#include <SimulationStructureWidget.h>

+ Inheritance diagram for agxQt::TreeModel:

Public Member Functions

 TreeModel (agxSDK::Simulation *simulation, QObject *parent=0)
 
 ~TreeModel ()
 
int columnCount (const QModelIndex &parent=QModelIndex()) const Q_DECL_OVERRIDE
 
QVariant data (const QModelIndex &index, int role) const Q_DECL_OVERRIDE
 
Qt::ItemFlags flags (const QModelIndex &index) const Q_DECL_OVERRIDE
 
QVariant headerData (int section, Qt::Orientation orientation, int role=Qt::DisplayRole) const Q_DECL_OVERRIDE
 
QModelIndex index (int row, int column, const QModelIndex &parent=QModelIndex()) const Q_DECL_OVERRIDE
 
QModelIndex parent (const QModelIndex &index) const Q_DECL_OVERRIDE
 
int rowCount (const QModelIndex &parent=QModelIndex()) const Q_DECL_OVERRIDE
 

Detailed Description

TreeModel.

Definition at line 94 of file SimulationStructureWidget.h.

Constructor & Destructor Documentation

agxQt::TreeModel::TreeModel ( agxSDK::Simulation *  simulation,
QObject *  parent = 0 
)
explicit
agxQt::TreeModel::~TreeModel ( )

Member Function Documentation

int agxQt::TreeModel::columnCount ( const QModelIndex &  parent = QModelIndex()) const
QVariant agxQt::TreeModel::data ( const QModelIndex &  index,
int  role 
) const
Qt::ItemFlags agxQt::TreeModel::flags ( const QModelIndex &  index) const
QVariant agxQt::TreeModel::headerData ( int  section,
Qt::Orientation  orientation,
int  role = Qt::DisplayRole 
) const
QModelIndex agxQt::TreeModel::index ( int  row,
int  column,
const QModelIndex &  parent = QModelIndex() 
) const
QModelIndex agxQt::TreeModel::parent ( const QModelIndex &  index) const
int agxQt::TreeModel::rowCount ( const QModelIndex &  parent = QModelIndex()) const

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