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

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

Protected Attributes

QStringListModel * completionModel
 
InfixFilterModelproxyModel
 

Detailed Description

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

Definition at line 15 of file InfixCompleter.h.

Constructor & Destructor Documentation

◆ InfixCompleter()

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

Definition at line 10 of file InfixCompleter.cpp.

Member Function Documentation

◆ getProxyModel()

InfixFilterModel * getProxyModel ( ) const

Definition at line 27 of file InfixCompleter.cpp.

◆ setCompletionInfix

void setCompletionInfix ( const QString &  infix)
slot

Definition at line 37 of file InfixCompleter.cpp.

◆ setCompletionList()

void setCompletionList ( const QStringList &  completionList)

Definition at line 22 of file InfixCompleter.cpp.

◆ splitPath()

QStringList splitPath ( const QString &  path) const
override

Definition at line 32 of file InfixCompleter.cpp.

Member Data Documentation

◆ completionModel

QStringListModel* completionModel
protected

Definition at line 29 of file InfixCompleter.h.

◆ proxyModel

InfixFilterModel* proxyModel
protected

Definition at line 28 of file InfixCompleter.h.


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