CTK  0.1.0
The Common Toolkit is a community effort to provide support code for medical image analysis, surgical navigation, and related projects.
Public Member Functions | Protected Attributes | List of all members
ctkConsoleCompleter Class Referenceabstract

#include <Libs/Widgets/ctkConsole.h>

Inheritance diagram for ctkConsoleCompleter:
Inheritance graph
[legend]
Collaboration diagram for ctkConsoleCompleter:
Collaboration graph
[legend]

Public Member Functions

QStringList autocompletePreferenceList ()
 Returns the autocomplete preference list. More...
 
void setAutocompletePreferenceList (const QStringList &list)
 
virtual void updateCompletionModel (const QString &str)=0
 

Protected Attributes

QStringList AutocompletePreferenceList
 

Detailed Description

Definition at line 261 of file ctkConsole.h.

Member Function Documentation

QStringList ctkConsoleCompleter::autocompletePreferenceList ( )

Returns the autocomplete preference list.

void ctkConsoleCompleter::setAutocompletePreferenceList ( const QStringList &  list)

Set autocomplete preference list This list allows to specify options that could be selected by default if multiple choices are proposed to the user.

virtual void ctkConsoleCompleter::updateCompletionModel ( const QString &  str)
pure virtual

Update the completion model given a string. The given string is the current console text between the cursor and the start of the line.

Member Data Documentation

QStringList ctkConsoleCompleter::AutocompletePreferenceList
protected

Definition at line 280 of file ctkConsole.h.


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