Gui::ExpressionTextEdit Class Reference
#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=0) | |
void | hideCompleter () |
void | setDocumentObject (const App::DocumentObject *currentDocObj) |
Protected Member Functions | |
void | keyPressEvent (QKeyEvent *event) |
Constructor & Destructor Documentation
◆ ExpressionTextEdit()
ExpressionTextEdit::ExpressionTextEdit | ( | QWidget * | parent = 0 | ) |
References slotTextChanged().
Member Function Documentation
◆ completerActive()
bool ExpressionTextEdit::completerActive | ( | ) | const |
◆ hideCompleter()
void ExpressionTextEdit::hideCompleter | ( | ) |
◆ keyPressEvent()
|
protected |
◆ setDocumentObject()
void ExpressionTextEdit::setDocumentObject | ( | const App::DocumentObject * | currentDocObj | ) |
References Gui::ExpressionCompleter::setDocumentObject(), slotCompleteText(), and textChanged2().
◆ slotCompleteText
|
slot |
References Gui::ExpressionCompleter::getPrefixRange(), and Gui::ExpressionCompleter::updatePrefixEnd().
Referenced by setDocumentObject().
◆ slotTextChanged
|
slot |
References textChanged2().
Referenced by ExpressionTextEdit().
◆ textChanged2
|
signal |
Referenced by setDocumentObject(), and slotTextChanged().
The documentation for this class was generated from the following files:
- src/Gui/ExpressionCompleter.h
- src/Gui/ExpressionCompleter.cpp