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 he is typing in. More...
#include <TextEdit.h>
Public Member Functions | |
CompletionList (QPlainTextEdit *parent) | |
Construction. | |
void | findCurrentWord (const QString &) |
~CompletionList () | |
Destruction. | |
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, . |
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 he is typing in.
Definition at line 134 of file TextEdit.h.
CompletionList::CompletionList | ( | QPlainTextEdit * | parent | ) |
CompletionList::~CompletionList | ( | ) |
Destruction.
Definition at line 484 of file TextEdit.cpp.
bool CompletionList::eventFilter | ( | QObject * | watched, | |
QEvent * | event | |||
) | [protected] |
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.
Definition at line 505 of file TextEdit.cpp.
References Mod::PartDesign::Scripts::Gear::hide().
void CompletionList::findCurrentWord | ( | const QString & | wordPrefix | ) |
Definition at line 488 of file TextEdit.cpp.
References RobotExampleTrajectoryOutOfShapes::count.