#include <ExpressionCompleter.h>

Public Slots

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

Signals

void textChanged2 (QString text, int pos)
 

Public Member Functions

bool completerActive () const
 
 ExpressionLineEdit (QWidget *parent=nullptr, bool noProperty=false, bool requireLeadingEqualSign=false)
 
void hideCompleter ()
 
void setDocumentObject (const App::DocumentObject *currentDocObj)
 
void setExactMatch (bool enabled=true)
 
void setNoProperty (bool enabled=true)
 

Protected Member Functions

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

Constructor & Destructor Documentation

◆ ExpressionLineEdit()

ExpressionLineEdit::ExpressionLineEdit ( QWidget parent = nullptr,
bool  noProperty = false,
bool  requireLeadingEqualSign = false 
)

Member Function Documentation

◆ completerActive()

bool ExpressionLineEdit::completerActive ( ) const

◆ contextMenuEvent()

void ExpressionLineEdit::contextMenuEvent ( QContextMenuEvent *  event)
protected

References setExactMatch().

◆ hideCompleter()

void ExpressionLineEdit::hideCompleter ( )

◆ keyPressEvent()

void ExpressionLineEdit::keyPressEvent ( QKeyEvent *  event)
protected

◆ setDocumentObject()

◆ setExactMatch()

void ExpressionLineEdit::setExactMatch ( bool  enabled = true)

Referenced by contextMenuEvent().

◆ setNoProperty()

void ExpressionLineEdit::setNoProperty ( bool  enabled = true)

◆ slotCompleteText

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

◆ slotTextChanged

void ExpressionLineEdit::slotTextChanged ( const QString &  text)
slot

References textChanged2().

Referenced by ExpressionLineEdit().

◆ textChanged2

void Gui::ExpressionLineEdit::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