OpenStructure
Public Slots | Public Member Functions | Protected Attributes
PythonCompleter Class Reference

#include <python_completer.hh>

Inherits OstCompleterBase.

Public Slots

void SetCompletionPrefix (const QString &prefix)
 
- Public Slots inherited from OstCompleterBase
void complete (const QRect &rect=QRect(), bool inline_completion=true)
 

Public Member Functions

 PythonCompleter (QObject *parent=0)
 
 ~PythonCompleter ()
 
virtual QStringList splitPath (const QString &path) const
 
virtual QString pathFromIndex (const QModelIndex &index) const
 
- Public Member Functions inherited from OstCompleterBase
 OstCompleterBase (QObject *parent=0)
 
 ~OstCompleterBase ()
 
bool eventFilter (QObject *obj, QEvent *event)
 

Protected Attributes

PythonNamespaceTreeModel * model_
 

Additional Inherited Members

- Signals inherited from OstCompleterBase
void recomplete (const QString &match)
 
- Protected Member Functions inherited from OstCompleterBase
QString GetCommonMatch ()
 

Detailed Description

Definition at line 34 of file python_completer.hh.

Constructor & Destructor Documentation

◆ PythonCompleter()

PythonCompleter ( QObject *  parent = 0)

◆ ~PythonCompleter()

Member Function Documentation

◆ pathFromIndex()

virtual QString pathFromIndex ( const QModelIndex &  index) const
virtual

◆ SetCompletionPrefix

void SetCompletionPrefix ( const QString &  prefix)
slot

◆ splitPath()

virtual QStringList splitPath ( const QString &  path) const
virtual

Field Documentation

◆ model_

PythonNamespaceTreeModel* model_
protected

Definition at line 45 of file python_completer.hh.


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