Gui::VectorTableModel Class Reference

#include <VectorListEditor.h>

Public Member Functions

virtual int columnCount (const QModelIndex &parent=QModelIndex()) const
 
virtual QVariant data (const QModelIndex &index, int role=Qt::DisplayRole) const
 
Qt::ItemFlags flags (const QModelIndex &index) const
 
QVariant headerData (int section, Qt::Orientation orientation, int role=Qt::DisplayRole) const
 
virtual bool insertRows (int row, int count, const QModelIndex &parent=QModelIndex())
 
virtual QModelIndex parent (const QModelIndex &index) const
 
virtual bool removeRows (int row, int count, const QModelIndex &parent=QModelIndex())
 
virtual int rowCount (const QModelIndex &parent=QModelIndex()) const
 
bool setData (const QModelIndex &index, const QVariant &value, int role=Qt::EditRole)
 
void setValues (const QList< Base::Vector3d > &d)
 
const QList< Base::Vector3d > & values () const
 
 VectorTableModel (int decimals, QObject *parent=nullptr)
 

Constructor & Destructor Documentation

◆ VectorTableModel()

VectorTableModel::VectorTableModel ( int  decimals,
QObject parent = nullptr 
)

Member Function Documentation

◆ columnCount()

int VectorTableModel::columnCount ( const QModelIndex &  parent = QModelIndex()) const
virtual

◆ data()

◆ flags()

Qt::ItemFlags VectorTableModel::flags ( const QModelIndex &  index) const

◆ headerData()

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

◆ insertRows()

bool VectorTableModel::insertRows ( int  row,
int  count,
const QModelIndex &  parent = QModelIndex() 
)
virtual

References parent().

◆ parent()

◆ removeRows()

bool VectorTableModel::removeRows ( int  row,
int  count,
const QModelIndex &  parent = QModelIndex() 
)
virtual

References parent().

◆ rowCount()

int VectorTableModel::rowCount ( const QModelIndex &  parent = QModelIndex()) const
virtual

◆ setData()

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

◆ setValues()

void VectorTableModel::setValues ( const QList< Base::Vector3d > &  d)

◆ values()


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