Gui::Dialog::CommandModel Class Reference

#include <DlgCustomizeSpaceball.h>

Public Member Functions

virtual int columnCount (const QModelIndex &parent) const
 
 CommandModel (QObject *parent=nullptr)
 
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 ()
 

Constructor & Destructor Documentation

◆ CommandModel()

CommandModel::CommandModel ( QObject parent = nullptr)

◆ ~CommandModel()

CommandModel::~CommandModel ( )

Member Function Documentation

◆ columnCount()

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

References parent().

◆ data()

◆ flags()

Qt::ItemFlags CommandModel::flags ( const QModelIndex &  index) const
virtual

◆ goAddMacro()

◆ goRemoveMacro()

void CommandModel::goRemoveMacro ( const QByteArray &  macroName)

◆ headerData()

QVariant CommandModel::headerData ( int  section,
Qt::Orientation  orientation,
int  role = Qt::DisplayRole 
) const
virtual

◆ index()

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

References Gui::Dialog::CommandNode::children, and parent().

Referenced by Mod.PartDesign.WizardShaft.SegmentFunction.SegmentFunction::addSegment(), Dice3DS.dom3ds.FileLikeBuffer::advance(), Mod.PartDesign.WizardShaft.SegmentFunction.IntervalFunction::begin(), Gui::Dialog::PrintModel::data(), Spreadsheet_legacy.MathParser::getValue(), goAddMacro(), goRemoveMacro(), Spreadsheet_legacy.MathParser::hasNext(), Mod.PartDesign.WizardShaft.SegmentFunction.IntervalFunction::interval(), PathScripts.PathJobDlg.JobCreate::item1ValueChanged(), Mod.PartDesign.WizardShaft.SegmentFunction.IntervalFunction::length(), Spreadsheet_legacy.MathParser::parseAddition(), Spreadsheet_legacy.MathParser::parseMultiplication(), Spreadsheet_legacy.MathParser::parseNegative(), Spreadsheet_legacy.MathParser::parseNumber(), Spreadsheet_legacy.MathParser::parseParenthesis(), Spreadsheet_legacy.MathParser::parseVariable(), Spreadsheet_legacy.MathParser::peek(), Dice3DS.dom3ds.FileLikeBuffer::read(), Dice3DS.dom3ds.FileLikeBuffer::read_fbuf(), Dice3DS.dom3ds.FileLikeBuffer::read_rest(), Dice3DS.dom3ds.FileLikeBuffer::read_to_nul(), Dice3DS.dom3ds.FileLikeBuffer::room_for_chunks(), Dice3DS.dom3ds.FileLikeBuffer::seek(), package_list.PackageListItemModel::setData(), PathScripts.PathJobDlg.JobCreate::setupColumnEditor(), Spreadsheet_legacy.MathParser::skipWhitespace(), Dice3DS.dom3ds.FileLikeBuffer::tell(), package_list.PackageListItemModel::update_item_icon(), package_list.PackageListItemModel::update_item_status(), automotive_design.index_expression::wr1(), and automotive_design.index_expression::wr2().

◆ parent()

◆ rowCount()

int CommandModel::rowCount ( const QModelIndex &  parent) const
virtual

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