Gui::DocumentModel Class Reference

#include <DocumentModel.h>

Public Member Functions

int columnCount (const QModelIndex &parent=QModelIndex()) const
QVariant data (const QModelIndex &index, int role=Qt::DisplayRole) const
 DocumentModel (QObject *parent)
Qt::ItemFlags flags (const QModelIndex &index) const
QVariant headerData (int section, Qt::Orientation orientation, int role=Qt::DisplayRole) const
QModelIndex index (int row, int column, const QModelIndex &parent=QModelIndex()) const
QModelIndex parent (const QModelIndex &index) const
int rowCount (const QModelIndex &parent=QModelIndex()) const
bool setData (const QModelIndex &idx, const QVariant &value, int role)
bool setHeaderData (int section, Qt::Orientation orientation, const QVariant &value, int role=Qt::EditRole)
virtual ~DocumentModel ()

Constructor & Destructor Documentation

◆ DocumentModel()

◆ ~DocumentModel()

DocumentModel::~DocumentModel ( )

Member Function Documentation

◆ columnCount()

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

◆ data()

◆ flags()

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

◆ headerData()

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

◆ index()

◆ parent()

◆ rowCount()

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

◆ setData()

bool DocumentModel::setData ( const QModelIndex &  idx,
const QVariant &  value,
int  role 

◆ setHeaderData()

bool DocumentModel::setHeaderData ( int  section,
Qt::Orientation  orientation,
const QVariant &  value,
int  role = Qt::EditRole 

The documentation for this class was generated from the following files:
  • Sources/FreeCAD/src/Gui/DocumentModel.h
  • Sources/FreeCAD/src/Gui/DocumentModel.cpp