#include <DlgCustomizeSpaceball.h>
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 ¯oName) |
void | insertRows (int number) |
virtual int | rowCount (const QModelIndex &parent=QModelIndex()) const |
void | setCommand (int row, QString command) |
Definition at line 53 of file DlgCustomizeSpaceball.h.
ButtonModel::ButtonModel | ( | QObject * | parent | ) |
Definition at line 78 of file DlgCustomizeSpaceball.cpp.
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 | ) |
Definition at line 140 of file DlgCustomizeSpaceball.cpp.
Referenced by Gui::Dialog::DlgCustomizeSpaceball::onRemoveMacroAction().
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 | |||
) |
Definition at line 126 of file DlgCustomizeSpaceball.cpp.
Referenced by Gui::Dialog::ButtonView::goChangedCommand().