#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 | insertButtonRows (int number) |
| virtual int | rowCount (const QModelIndex &parent=QModelIndex()) const |
| void | setCommand (int row, QString command) |
Constructor & Destructor Documentation
◆ ButtonModel()
| ButtonModel::ButtonModel | ( | QObject * | parent | ) |
Member Function Documentation
◆ data()
|
virtual |
References Gui::BitmapFactory(), Base::Console(), ParameterGrp::GetGroups(), and Base::ConsoleSingleton::Log().
Referenced by Gui::Dialog::PrintModel::data(), and ArchSchedule.CommandArchSchedule::IsActive().
◆ goButtonPress()
| void ButtonModel::goButtonPress | ( | int | number | ) |
References insertButtonRows().
Referenced by Gui::Dialog::DlgCustomizeSpaceball::event().
◆ goClear()
| void ButtonModel::goClear | ( | ) |
References ParameterGrp::Clear(), and rowCount().
◆ goMacroRemoved()
| void ButtonModel::goMacroRemoved | ( | const QByteArray & | macroName | ) |
References ParameterGrp::GetGroups().
Referenced by Gui::Dialog::DlgCustomizeSpaceball::onRemoveMacroAction().
◆ insertButtonRows()
| void ButtonModel::insertButtonRows | ( | int | number | ) |
References ParameterGrp::GetGroup(), ParameterGrp::GetGroups(), and ParameterGrp::SetASCII().
Referenced by goButtonPress().
◆ rowCount()
|
virtual |
References ParameterGrp::GetGroups().
Referenced by goClear(), and Gui::Dialog::PrintModel::rowCount().
◆ setCommand()
| void ButtonModel::setCommand | ( | int | row, |
| QString | command | ||
| ) |
References ParameterGrp::GetGroups().
Referenced by Gui::Dialog::ButtonView::goChangedCommand().
The documentation for this class was generated from the following files:
- src/Gui/DlgCustomizeSpaceball.h
- src/Gui/DlgCustomizeSpaceball.cpp
1.8.17