ExpressionCompleterModel Class Reference
Classes | |
union Info | |
Public Member Functions | |
int columnCount (const QModelIndex &) const | |
QVariant data (const QModelIndex &index, int role=Qt::DisplayRole) const | |
ExpressionCompleterModel (QObject *parent, const App::DocumentObject *obj, bool noProperty) | |
QModelIndex index (int row, int column, const QModelIndex &parent=QModelIndex()) const | |
QModelIndex parent (const QModelIndex &index) const | |
int rowCount (const QModelIndex &parent=QModelIndex()) const | |
void setDocumentObject (const App::DocumentObject *obj) | |
void setNoProperty (bool enabled) | |
Static Public Member Functions | |
static Info getInfo (const QModelIndex &index) | |
static void * infoId (const Info &info) | |
Constructor & Destructor Documentation
◆ ExpressionCompleterModel()
ExpressionCompleterModel::ExpressionCompleterModel | ( | QObject * | parent, |
const App::DocumentObject * | obj, | ||
bool | noProperty | ||
) |
Member Function Documentation
◆ columnCount()
int ExpressionCompleterModel::columnCount | ( | const QModelIndex & | ) | const |
◆ data()
QVariant ExpressionCompleterModel::data | ( | const QModelIndex & | index, |
int | role = Qt::DisplayRole |
||
) | const |
Referenced by ArchSchedule.CommandArchSchedule::IsActive().
◆ getInfo()
|
static |
References ExpressionCompleterModel::Info::d, and ExpressionCompleterModel::Info::doc.
◆ index()
QModelIndex ExpressionCompleterModel::index | ( | int | row, |
int | column, | ||
const QModelIndex & | parent = QModelIndex() |
||
) | const |
Referenced by Mod.PartDesign.WizardShaft.SegmentFunction.SegmentFunction::addSegment(), Mod.PartDesign.WizardShaft.SegmentFunction.IntervalFunction::begin(), Mod.PartDesign.WizardShaft.SegmentFunction.IntervalFunction::interval(), Mod.PartDesign.WizardShaft.SegmentFunction.IntervalFunction::length(), automotive_design.index_expression::wr1(), and automotive_design.index_expression::wr2().
◆ infoId()
|
static |
◆ parent()
QModelIndex ExpressionCompleterModel::parent | ( | const QModelIndex & | index | ) | const |
◆ rowCount()
int ExpressionCompleterModel::rowCount | ( | const QModelIndex & | parent = QModelIndex() | ) | const |
◆ setDocumentObject()
void ExpressionCompleterModel::setDocumentObject | ( | const App::DocumentObject * | obj | ) |
◆ setNoProperty()
void ExpressionCompleterModel::setNoProperty | ( | bool | enabled | ) |
The documentation for this class was generated from the following file:
- src/Gui/ExpressionCompleter.cpp