#include <DlgCustomizeSpaceball.h>
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 ¯oName) |
void | goRemoveMacro (const QByteArray ¯oName) |
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 () | |
Constructor & Destructor Documentation
◆ CommandModel()
CommandModel::CommandModel | ( | QObject * | parent = 0 | ) |
◆ ~CommandModel()
CommandModel::~CommandModel | ( | ) |
Member Function Documentation
◆ columnCount()
|
virtual |
References parent().
◆ data()
|
virtual |
References Gui::Dialog::CommandNode::aCommand, Gui::BitmapFactory(), Gui::Dialog::CommandNode::children, Gui::CommandBase::className(), Gui::Dialog::CommandNode::CommandType, Gui::Command::getGroupName(), Gui::CommandBase::getMenuText(), Gui::Command::getName(), Gui::CommandBase::getPixmap(), Gui::CommandBase::getToolTipText(), Gui::Dialog::CommandNode::GroupType, and Gui::Dialog::CommandNode::nodeType.
Referenced by Gui::Dialog::PrintModel::data(), and ArchSchedule.CommandArchSchedule::IsActive().
◆ flags()
|
virtual |
References Gui::Dialog::CommandNode::CommandType, and Gui::Dialog::CommandNode::nodeType.
◆ goAddMacro()
void CommandModel::goAddMacro | ( | const QByteArray & | macroName | ) |
References Gui::Dialog::CommandNode::aCommand, Gui::Dialog::CommandNode::children, Gui::Application::commandManager(), Gui::Dialog::CommandNode::CommandType, Gui::CommandManager::getCommandByName(), Gui::Dialog::CommandNode::GroupType, index(), Gui::Application::Instance, and Gui::Dialog::CommandNode::parent.
Referenced by Gui::Dialog::DlgCustomizeSpaceball::onAddMacroAction().
◆ goRemoveMacro()
void CommandModel::goRemoveMacro | ( | const QByteArray & | macroName | ) |
References Gui::Dialog::CommandNode::children, index(), and parent().
Referenced by Gui::Dialog::DlgCustomizeSpaceball::onRemoveMacroAction().
◆ headerData()
|
virtual |
◆ index()
|
virtual |
References Gui::Dialog::CommandNode::children, and parent().
Referenced by Mod.PartDesign.WizardShaft.SegmentFunction.SegmentFunction::addSegment(), Mod.PartDesign.WizardShaft.SegmentFunction.IntervalFunction::begin(), Gui::Dialog::PrintModel::data(), goAddMacro(), goRemoveMacro(), Mod.PartDesign.WizardShaft.SegmentFunction.IntervalFunction::interval(), Mod.PartDesign.WizardShaft.SegmentFunction.IntervalFunction::length(), automotive_design.index_expression::wr1(), and automotive_design.index_expression::wr2().
◆ parent()
|
virtual |
References Gui::Dialog::CommandNode::children, and Gui::Dialog::CommandNode::parent.
Referenced by columnCount(), goRemoveMacro(), index(), and rowCount().
◆ rowCount()
|
virtual |
References Gui::Dialog::CommandNode::children, and parent().
The documentation for this class was generated from the following files:
- src/Gui/DlgCustomizeSpaceball.h
- src/Gui/DlgCustomizeSpaceball.cpp