Gui::Dialog::CommandModel Class Reference

#include <DlgCustomizeSpaceball.h>

List of all members.

Public Member Functions

virtual int columnCount (const QModelIndex &parent) const
 CommandModel (QObject *parent=0)
virtual QVariant data (const QModelIndex &index, int role=Qt::DisplayRole) const
virtual Qt::ItemFlags flags (const QModelIndex &index) const
void goAddMacro (const QByteArray &macroName)
void goRemoveMacro (const QByteArray &macroName)
virtual QVariant headerData (int section, Qt::Orientation orientation, int role=Qt::DisplayRole) const
virtual QModelIndex index (int row, int column, const QModelIndex &parent=QModelIndex()) const
virtual QModelIndex parent (const QModelIndex &index) const
virtual int rowCount (const QModelIndex &parent) const
 ~CommandModel ()

Detailed Description

Definition at line 98 of file DlgCustomizeSpaceball.h.


Constructor & Destructor Documentation

CommandModel::CommandModel ( QObject *  parent = 0  ) 

Definition at line 225 of file DlgCustomizeSpaceball.cpp.

CommandModel::~CommandModel (  ) 

Definition at line 231 of file DlgCustomizeSpaceball.cpp.


Member Function Documentation

int CommandModel::columnCount ( const QModelIndex &  parent  )  const [virtual]

Definition at line 279 of file DlgCustomizeSpaceball.cpp.

QVariant CommandModel::data ( const QModelIndex &  index,
int  role = Qt::DisplayRole 
) const [virtual]
Qt::ItemFlags CommandModel::flags ( const QModelIndex &  index  )  const [virtual]
void CommandModel::goAddMacro ( const QByteArray &  macroName  ) 
void CommandModel::goRemoveMacro ( const QByteArray &  macroName  ) 
QVariant CommandModel::headerData ( int  section,
Qt::Orientation  orientation,
int  role = Qt::DisplayRole 
) const [virtual]

Definition at line 333 of file DlgCustomizeSpaceball.cpp.

References Sketcher::Horizontal.

QModelIndex CommandModel::index ( int  row,
int  column,
const QModelIndex &  parent = QModelIndex() 
) const [virtual]
QModelIndex CommandModel::parent ( const QModelIndex &  index  )  const [virtual]
int CommandModel::rowCount ( const QModelIndex &  parent  )  const [virtual]

Definition at line 268 of file DlgCustomizeSpaceball.cpp.

References Gui::Dialog::CommandNode::children.


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

Generated on Wed Nov 23 19:02:05 2011 for FreeCAD by  doxygen 1.6.1