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. 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, ... More...
 

Detailed Description

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.

Author
Werner Mayer

Constructor & Destructor Documentation

◆ CompletionList()

CompletionList::CompletionList ( QPlainTextEdit parent)

Construction.

References draftgeoutils.intersections::connect().

◆ ~CompletionList()

CompletionList::~CompletionList ( )

Destruction.

Member Function Documentation

◆ eventFilter()

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.

◆ findCurrentWord()

void CompletionList::findCurrentWord ( const QString &  wordPrefix)

The documentation for this class was generated from the following files:
  • Sources/FreeCAD/src/Gui/TextEdit.h
  • Sources/FreeCAD/src/Gui/TextEdit.cpp