SOFA API  6a688117
Open source framework for multi-physics simuation
sofa::gui::qt::QTableModelUpdater Class Reference

#include <QModelViewTableUpdater.h>

Inheritance diagram for sofa::gui::qt::QTableModelUpdater:

Public Member Functions

 QTableModelUpdater (int numRows, int numCols, QWidget *parent=nullptr, const char *=nullptr)
 
Qt::ItemFlags flags (const QModelIndex &) const override
 
QVariant data (const QModelIndex &index, int role) const override
 
void setReadOnly (const bool isReadOnly)
 

Public Slots

void resizeTableV (int number)
 
void resizeTableH (int number)
 

Constructor details

sofa::gui::qt::QTableModelUpdater::QTableModelUpdater ( int  numRows,
int  numCols,
QWidget parent = nullptr,
const char *  = nullptr 
)

Function details

QVariant sofa::gui::qt::QTableModelUpdater::data ( const QModelIndex &  index,
int  role 
) const
override
Qt::ItemFlags sofa::gui::qt::QTableModelUpdater::flags ( const QModelIndex &  ) const
override
void sofa::gui::qt::QTableModelUpdater::resizeTableH ( int  number)
slot
void sofa::gui::qt::QTableModelUpdater::resizeTableV ( int  number)
slot
void sofa::gui::qt::QTableModelUpdater::setReadOnly ( const bool  isReadOnly)