Gui::Dialog::ButtonModel Class Reference

#include <DlgCustomizeSpaceball.h>

List of all members.

Public Member Functions

 ButtonModel (QObject *parent)
virtual QVariant data (const QModelIndex &index, int role=Qt::DisplayRole) const
void goButtonPress (int number)
void goClear ()
void goMacroRemoved (const QByteArray &macroName)
void insertRows (int number)
virtual int rowCount (const QModelIndex &parent=QModelIndex()) const
void setCommand (int row, QString command)

Detailed Description

Definition at line 53 of file DlgCustomizeSpaceball.h.


Constructor & Destructor Documentation

ButtonModel::ButtonModel ( QObject *  parent  ) 

Definition at line 78 of file DlgCustomizeSpaceball.cpp.


Member Function Documentation

QVariant ButtonModel::data ( const QModelIndex &  index,
int  role = Qt::DisplayRole 
) const [virtual]

Definition at line 88 of file DlgCustomizeSpaceball.cpp.

References Gui::BitmapFactory(), Base::Console(), and Py::int.

Referenced by Gui::Dialog::PrintModel::data().

void ButtonModel::goButtonPress ( int  number  ) 

Definition at line 132 of file DlgCustomizeSpaceball.cpp.

References insertRows().

Referenced by Gui::Dialog::DlgCustomizeSpaceball::event().

void ButtonModel::goClear (  ) 

Definition at line 148 of file DlgCustomizeSpaceball.cpp.

References rowCount().

void ButtonModel::goMacroRemoved ( const QByteArray &  macroName  ) 
void ButtonModel::insertRows ( int  number  ) 

Definition at line 111 of file DlgCustomizeSpaceball.cpp.

Referenced by goButtonPress().

int ButtonModel::rowCount ( const QModelIndex &  parent = QModelIndex()  )  const [virtual]

Definition at line 83 of file DlgCustomizeSpaceball.cpp.

Referenced by goClear(), and Gui::Dialog::PrintModel::rowCount().

void ButtonModel::setCommand ( int  row,
QString  command 
)

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