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, 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, bool checkInList)
 
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,
bool  noProperty 
)

Member Function Documentation

◆ columnCount()

int ExpressionCompleterModel::columnCount ( const QModelIndex &  ) const

◆ data()

◆ getInfo()

static Info ExpressionCompleterModel::getInfo ( const QModelIndex &  index)
static

◆ index()

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

◆ infoId()

static void * ExpressionCompleterModel::infoId ( const Info info)
static

◆ parent()

◆ rowCount()

int ExpressionCompleterModel::rowCount ( const QModelIndex &  parent = QModelIndex()) const

◆ setDocumentObject()

void ExpressionCompleterModel::setDocumentObject ( const App::DocumentObject obj,
bool  checkInList 
)

◆ setNoProperty()

void ExpressionCompleterModel::setNoProperty ( bool  enabled)

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