SpreadsheetGui::SheetModel Class Reference

#include <SheetModel.h>

Public Member Functions

int columnCount (const QModelIndex &parent=QModelIndex()) const
 
QVariant data (const QModelIndex &index, int role=Qt::DisplayRole) const
 
Qt::ItemFlags flags (const QModelIndex &) const
 
QVariant headerData (int section, Qt::Orientation orientation, int role) const
 
int rowCount (const QModelIndex &parent=QModelIndex()) const
 
bool setData (const QModelIndex &index, const QVariant &value, int role)
 
 SheetModel (QObject *parent)
 
 SheetModel (Spreadsheet::Sheet *_sheet, QObject *parent=0)
 
 ~SheetModel ()
 

Constructor & Destructor Documentation

◆ SheetModel() [1/2]

◆ ~SheetModel()

SheetModel::~SheetModel ( )

◆ SheetModel() [2/2]

SpreadsheetGui::SheetModel::SheetModel ( QObject parent)

Member Function Documentation

◆ columnCount()

int SheetModel::columnCount ( const QModelIndex &  parent = QModelIndex()) const

◆ data()

◆ flags()

Qt::ItemFlags SheetModel::flags ( const QModelIndex &  ) const

◆ headerData()

QVariant SheetModel::headerData ( int  section,
Qt::Orientation  orientation,
int  role 
) const

◆ rowCount()

int SheetModel::rowCount ( const QModelIndex &  parent = QModelIndex()) const

◆ setData()

bool SheetModel::setData ( const QModelIndex &  index,
const QVariant &  value,
int  role 
)

The documentation for this class was generated from the following files:
  • src/Mod/Spreadsheet/Gui/SheetModel.h
  • src/Mod/Spreadsheet/Gui/SheetModel.cpp