Gui::CompletionList Class Reference

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>

List of all members.

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

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

Definition at line 134 of file TextEdit.h.


Constructor & Destructor Documentation

CompletionList::CompletionList ( QPlainTextEdit *  parent  ) 

Construction.

Definition at line 471 of file TextEdit.cpp.

References draftlibs::fcgeo::connect().

CompletionList::~CompletionList (  ) 

Destruction.

Definition at line 484 of file TextEdit.cpp.


Member Function Documentation

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.


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

Generated on Wed Nov 23 19:01:59 2011 for FreeCAD by  doxygen 1.6.1