The CompletionList class provides a list box that pops up in a text edit if the user has pressed an accelerator to complete the current word they are typing in. More...
#include <TextEdit.h>
Public Member Functions | |
CompletionList (QPlainTextEdit *parent) | |
Construction. More... | |
void | findCurrentWord (const QString &) |
~CompletionList () | |
Destruction. More... | |
Protected Member Functions | |
bool | eventFilter (QObject *, QEvent *) |
Get all incoming events of the text edit and redirect some of them, like key up and down, mouse press events, ... to the widget itself. More... | |
The CompletionList class provides a list box that pops up in a text edit if the user has pressed an accelerator to complete the current word they are typing in.
CompletionList::CompletionList | ( | QPlainTextEdit * | parent | ) |
Construction.
References draftgeoutils.intersections::connect().
CompletionList::~CompletionList | ( | ) |
Destruction.
Get all incoming events of the text edit and redirect some of them, like key up and down, mouse press events, ... to the widget itself.
void CompletionList::findCurrentWord | ( | const QString & | wordPrefix | ) |