#include <TaskCheckGeometry.h>
Public Member Functions | |
virtual int | columnCount (const QModelIndex &parent) const |
virtual QVariant | data (const QModelIndex &index, int role=Qt::DisplayRole) const |
ResultEntry * | getEntry (const QModelIndex &index) |
virtual QVariant | headerData (int section, Qt::Orientation orientation, int role=Qt::DisplayRole) const |
QModelIndex | index (int row, int column, const QModelIndex &parent) const |
QModelIndex | parent (const QModelIndex &child) const |
ResultModel (QObject *parent=0) | |
virtual int | rowCount (const QModelIndex &parent) const |
void | setResults (ResultEntry *resultsIn) |
~ResultModel () | |
Constructor & Destructor Documentation
◆ ResultModel()
ResultModel::ResultModel | ( | QObject * | parent = 0 | ) |
◆ ~ResultModel()
ResultModel::~ResultModel | ( | ) |
Member Function Documentation
◆ columnCount()
|
virtual |
References parent().
◆ data()
|
virtual |
References PartGui::ResultEntry::error, PartGui::ResultEntry::name, and PartGui::ResultEntry::type.
Referenced by ArchSchedule.CommandArchSchedule::IsActive().
◆ getEntry()
ResultEntry * ResultModel::getEntry | ( | const QModelIndex & | index | ) |
◆ headerData()
|
virtual |
◆ index()
QModelIndex ResultModel::index | ( | int | row, |
int | column, | ||
const QModelIndex & | parent | ||
) | const |
References PartGui::ResultEntry::children, and parent().
Referenced by Mod.PartDesign.WizardShaft.SegmentFunction.SegmentFunction::addSegment(), Mod.PartDesign.WizardShaft.SegmentFunction.IntervalFunction::begin(), Mod.PartDesign.WizardShaft.SegmentFunction.IntervalFunction::interval(), and Mod.PartDesign.WizardShaft.SegmentFunction.IntervalFunction::length().
◆ parent()
QModelIndex ResultModel::parent | ( | const QModelIndex & | child | ) | const |
References PartGui::ResultEntry::children, and PartGui::ResultEntry::parent.
Referenced by columnCount(), index(), and rowCount().
◆ rowCount()
|
virtual |
References PartGui::ResultEntry::children, and parent().
◆ setResults()
void ResultModel::setResults | ( | ResultEntry * | resultsIn | ) |
Referenced by PartGui::TaskCheckGeometryResults::goCheck().
The documentation for this class was generated from the following files:
- src/Mod/Part/Gui/TaskCheckGeometry.h
- src/Mod/Part/Gui/TaskCheckGeometry.cpp