Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
src_gui_util_qcompleter.cpp File Reference

(05fc3aef53348fb58be6308076e000825b704e58)

Go to the source code of this file.

Functions

wordList<< "alpha"<< "omega"<< "omicron"<< "zeta";QLineEdit *lineEdit=new QLineEdit(this);QCompleter *completer=new QCompleter(wordList, this);completer-> setCaseSensitivity (Qt::CaseInsensitive)
lineEdit setCompleter (completer)
completer setModel (new QFileSystemModel(completer))
 for (int i=0;completer->setCurrentRow(i);i++) qDebug()<< completer -> currentCompletion()<< " is match number "<< i
 [1]

Variables

QStringList wordList
 [0]
QCompletercompleter = new QCompleter(this)
 [0]

Function Documentation

◆ for()

for ( int i = 0;completer->setCurrentRow(i);i++) -> currentCompletion()<< " is match number "<< i

[1]

[2]

◆ setCaseSensitivity()

wordList<< "alpha"<< "omega"<< "omicron"<< "zeta";QLineEdit *lineEdit=new QLineEdit(this);QCompleter *completer=new QCompleter(wordList, this);completer-> setCaseSensitivity ( Qt::CaseInsensitive )

◆ setCompleter()

lineEdit setCompleter ( completer )

◆ setModel()

completer setModel ( new QFileSystemModelcompleter)

Variable Documentation

◆ completer

QCompleter * completer = new QCompleter(this)

[0]

[1]

Definition at line 17 of file src_gui_util_qcompleter.cpp.

◆ wordList

wordList<< "alpha"<< "omega"<< "omicron"<< "zeta"QLineEdit *lineEdit=new QLineEdit(this) QCompleter *completer=new QCompleter(wordList, this) completer-> setCaseSensitivity(Qt::CaseInsensitive)

[0]

Definition at line 5 of file src_gui_util_qcompleter.cpp.