InfixCompleter Class Reference

This class changes the standard QCompleter to an infix match completer. More...

#include <ArmarXGui/libraries/ArmarXGuiBase/widgets/InfixCompleter.h>

+ Inheritance diagram for InfixCompleter:

Public Slots

void setCompletionInfix (const QString &infix)
 

Public Member Functions

InfixFilterModel * getProxyModel () const
 
 InfixCompleter (const QStringList &completionList, QObject *parent=0)
 
void setCompletionList (const QStringList &completionList)
 
QStringList splitPath (const QString &path) const override
 

Protected Attributes

QStringListModel * completionModel
 
InfixFilterModel * proxyModel
 

Detailed Description

This class changes the standard QCompleter to an infix match completer.

Constructor & Destructor Documentation

◆ InfixCompleter()

InfixCompleter ( const QStringList & completionList,
QObject * parent = 0 )

Member Function Documentation

◆ getProxyModel()

InfixFilterModel * getProxyModel ( ) const

◆ setCompletionInfix

void setCompletionInfix ( const QString & infix)
slot

◆ setCompletionList()

void setCompletionList ( const QStringList & completionList)

◆ splitPath()

QStringList splitPath ( const QString & path) const
override

Member Data Documentation

◆ completionModel

QStringListModel* completionModel
protected

◆ proxyModel

InfixFilterModel* proxyModel
protected

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