ScriptingCompletionModel Class Reference

Public Member Functions

 ScriptingCompletionModel (QWidget *parent)
 
virtual QModelIndex index (int row, int col, const QModelIndex &parent=QModelIndex()) const override
 
virtual QModelIndex parent (const QModelIndex &i) const override
 
virtual bool hasChildren (const QModelIndex &parent) const override
 
virtual int rowCount (const QModelIndex &parent=QModelIndex()) const override
 
virtual int columnCount (const QModelIndex &parent) const override
 
virtual QVariant data (const QModelIndex &i, int role) const override
 
void setModelData (const std::vector< std::string > &completions, bool searching)
 

Constructor & Destructor Documentation

◆ ScriptingCompletionModel()

ScriptingCompletionModel::ScriptingCompletionModel ( QWidget *  parent)

Member Function Documentation

◆ columnCount()

virtual int ScriptingCompletionModel::columnCount ( const QModelIndex &  parent) const
overridevirtual

◆ data()

virtual QVariant ScriptingCompletionModel::data ( const QModelIndex &  i,
int  role 
) const
overridevirtual

◆ hasChildren()

virtual bool ScriptingCompletionModel::hasChildren ( const QModelIndex &  parent) const
overridevirtual

◆ index()

virtual QModelIndex ScriptingCompletionModel::index ( int  row,
int  col,
const QModelIndex &  parent = QModelIndex() 
) const
overridevirtual

◆ parent()

virtual QModelIndex ScriptingCompletionModel::parent ( const QModelIndex &  i) const
overridevirtual

◆ rowCount()

virtual int ScriptingCompletionModel::rowCount ( const QModelIndex &  parent = QModelIndex()) const
overridevirtual

◆ setModelData()

void ScriptingCompletionModel::setModelData ( const std::vector< std::string > &  completions,
bool  searching 
)

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