Gui::DocumentModel Class Reference

#include <DocumentModel.h>

List of all members.

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 ()

Detailed Description

Definition at line 38 of file DocumentModel.h.


Constructor & Destructor Documentation

DocumentModel::DocumentModel ( QObject *  parent  ) 
DocumentModel::~DocumentModel (  )  [virtual]

Definition at line 276 of file DocumentModel.cpp.


Member Function Documentation

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

Definition at line 493 of file DocumentModel.cpp.

QVariant DocumentModel::data ( const QModelIndex &  index,
int  role = Qt::DisplayRole 
) const

Definition at line 498 of file DocumentModel.cpp.

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

Definition at line 512 of file DocumentModel.cpp.

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

Definition at line 553 of file DocumentModel.cpp.

References Sketcher::Horizontal.

QModelIndex DocumentModel::index ( int  row,
int  column,
const QModelIndex &  parent = QModelIndex() 
) const

Definition at line 522 of file DocumentModel.cpp.

References Gui::DocumentModelP::rootItem.

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

Definition at line 544 of file DocumentModel.cpp.

References Gui::DocumentModelIndex::childCount().

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

Definition at line 505 of file DocumentModel.cpp.

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

Definition at line 564 of file DocumentModel.cpp.


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

Generated on Wed Nov 23 19:01:59 2011 for FreeCAD by  doxygen 1.6.1