Public Member Functions | Private Attributes | List of all members
TreeModelCompleter Class Reference

#include <tree_completer.h>

Inheritance diagram for TreeModelCompleter:
Inheritance graph
[legend]

Public Member Functions

void addToCompletionTree (const QString &name)
 
void clear ()
 
QString pathFromIndex (const QModelIndex &index) const override
 
QStringList splitPath (const QString &path) const override
 
 TreeModelCompleter (QObject *parent=0)
 

Private Attributes

QStandardItemModel * _model
 
TreeItem _root_tree_item
 

Detailed Description

Definition at line 42 of file tree_completer.h.

Constructor & Destructor Documentation

TreeModelCompleter::TreeModelCompleter ( QObject *  parent = 0)
inline

Definition at line 46 of file tree_completer.h.

Member Function Documentation

void TreeModelCompleter::addToCompletionTree ( const QString &  name)
inline

Definition at line 76 of file tree_completer.h.

void TreeModelCompleter::clear ( )
inline

Definition at line 56 of file tree_completer.h.

QString TreeModelCompleter::pathFromIndex ( const QModelIndex &  index) const
inlineoverride

Definition at line 66 of file tree_completer.h.

QStringList TreeModelCompleter::splitPath ( const QString &  path) const
inlineoverride

Definition at line 62 of file tree_completer.h.

Member Data Documentation

QStandardItemModel* TreeModelCompleter::_model
private

Definition at line 107 of file tree_completer.h.

TreeItem TreeModelCompleter::_root_tree_item
private

Definition at line 108 of file tree_completer.h.


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


plotjuggler
Author(s): Davide Faconti
autogenerated on Sat Jul 6 2019 03:44:19