#include <ExpressionCompleter.h>

Public Slots

void slotCompleteText (const QString &completionPrefix)
 
void slotTextChanged ()
 

Signals

void textChanged2 (QString text, int pos)
 

Public Member Functions

bool completerActive () const
 
 ExpressionTextEdit (QWidget *parent=nullptr)
 
void hideCompleter ()
 
void setDocumentObject (const App::DocumentObject *currentDocObj)
 
void setExactMatch (bool enabled=true)
 

Protected Member Functions

void contextMenuEvent (QContextMenuEvent *event)
 
void keyPressEvent (QKeyEvent *event)
 

Constructor & Destructor Documentation

◆ ExpressionTextEdit()

ExpressionTextEdit::ExpressionTextEdit ( QWidget parent = nullptr)

Member Function Documentation

◆ completerActive()

bool ExpressionTextEdit::completerActive ( ) const

◆ contextMenuEvent()

void ExpressionTextEdit::contextMenuEvent ( QContextMenuEvent *  event)
protected

References setExactMatch().

◆ hideCompleter()

void ExpressionTextEdit::hideCompleter ( )

◆ keyPressEvent()

void ExpressionTextEdit::keyPressEvent ( QKeyEvent *  event)
protected

◆ setDocumentObject()

void ExpressionTextEdit::setDocumentObject ( const App::DocumentObject currentDocObj)

◆ setExactMatch()

void ExpressionTextEdit::setExactMatch ( bool  enabled = true)

Referenced by contextMenuEvent().

◆ slotCompleteText

void ExpressionTextEdit::slotCompleteText ( const QString &  completionPrefix)
slot

◆ slotTextChanged

void ExpressionTextEdit::slotTextChanged ( )
slot

References textChanged2().

Referenced by ExpressionTextEdit().

◆ textChanged2

void Gui::ExpressionTextEdit::textChanged2 ( QString  text,
int  pos 
)
signal

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