KSeExpr 6.0.0.0
|
#include <ExprTextEdit.h>
Signals | |
void | applyShortcut () |
void | nextError () |
Public Member Functions | |
ExprTextEdit (QWidget *parent=nullptr) | |
void | updateStyle () |
Public Attributes | |
QCompleter * | completer {nullptr} |
ExprCompletionModel * | completionModel {nullptr} |
Protected Member Functions | |
void | showTip (const QString &string) |
void | keyPressEvent (QKeyEvent *e) override |
void | focusInEvent (QFocusEvent *e) override |
void | focusOutEvent (QFocusEvent *e) override |
void | mousePressEvent (QMouseEvent *event) override |
void | mouseDoubleClickEvent (QMouseEvent *event) override |
void | paintEvent (QPaintEvent *e) override |
void | wheelEvent (QWheelEvent *e) override |
void | contextMenuEvent (QContextMenuEvent *event) override |
Static Protected Member Functions | |
static void | hideTip () |
Private Slots | |
void | insertCompletion (const QString &completion) |
void | removeWord () |
Private Attributes | |
QToolTip * | functionTip {nullptr} |
std::map< std::string, std::string > | functionTooltips |
ExprHighlighter * | highlighter {nullptr} |
QStyle * | lastStyleForHighlighter {nullptr} |
QAction * | _popupEnabledAction {nullptr} |
Definition at line 23 of file ExprTextEdit.h.
ExprTextEdit::ExprTextEdit | ( | QWidget * | parent = nullptr | ) |
Definition at line 19 of file ExprTextEdit.cpp.
References _popupEnabledAction, completer, completionModel, highlighter, and insertCompletion().
|
signal |
Referenced by keyPressEvent().
|
overrideprotected |
Definition at line 198 of file ExprTextEdit.cpp.
References _popupEnabledAction.
|
overrideprotected |
Definition at line 60 of file ExprTextEdit.cpp.
References completer.
|
overrideprotected |
Definition at line 67 of file ExprTextEdit.cpp.
References hideTip().
|
staticprotected |
Definition at line 227 of file ExprTextEdit.cpp.
Referenced by focusOutEvent(), keyPressEvent(), mouseDoubleClickEvent(), and mousePressEvent().
|
privateslot |
Definition at line 232 of file ExprTextEdit.cpp.
References completer.
Referenced by ExprTextEdit().
|
overrideprotected |
Definition at line 106 of file ExprTextEdit.cpp.
References _popupEnabledAction, applyShortcut(), completer, completionModel, ExprCompletionModel::getDocString(), hideTip(), nextError(), removeWord(), and showTip().
|
overrideprotected |
Definition at line 79 of file ExprTextEdit.cpp.
References hideTip().
|
overrideprotected |
Definition at line 73 of file ExprTextEdit.cpp.
References hideTip().
|
signal |
Referenced by keyPressEvent().
|
overrideprotected |
Definition at line 85 of file ExprTextEdit.cpp.
References ExprHighlighter::fixStyle(), highlighter, and lastStyleForHighlighter.
|
privateslot |
Definition at line 244 of file ExprTextEdit.cpp.
Referenced by keyPressEvent().
|
protected |
Definition at line 212 of file ExprTextEdit.cpp.
Referenced by keyPressEvent().
void ExprTextEdit::updateStyle | ( | ) |
Definition at line 52 of file ExprTextEdit.cpp.
References ExprHighlighter::fixStyle(), highlighter, and lastStyleForHighlighter.
Referenced by ExprEditor::updateStyle().
|
overrideprotected |
Definition at line 95 of file ExprTextEdit.cpp.
|
private |
Definition at line 31 of file ExprTextEdit.h.
Referenced by contextMenuEvent(), ExprTextEdit(), and keyPressEvent().
QCompleter* ExprTextEdit::completer {nullptr} |
Definition at line 34 of file ExprTextEdit.h.
Referenced by ExprTextEdit(), focusInEvent(), insertCompletion(), keyPressEvent(), ExprEditor::rebuildControls(), and ExprEditor::updateCompleter().
ExprCompletionModel* ExprTextEdit::completionModel {nullptr} |
Definition at line 35 of file ExprTextEdit.h.
Referenced by ExprEditor::clearExtraCompleters(), ExprTextEdit(), keyPressEvent(), ExprEditor::rebuildControls(), ExprEditor::registerExtraFunction(), ExprEditor::registerExtraVariable(), ExprEditor::replaceExtras(), and ExprEditor::updateCompleter().
|
private |
Definition at line 27 of file ExprTextEdit.h.
|
private |
Definition at line 28 of file ExprTextEdit.h.
|
private |
Definition at line 29 of file ExprTextEdit.h.
Referenced by ExprTextEdit(), paintEvent(), and updateStyle().
|
private |
Definition at line 30 of file ExprTextEdit.h.
Referenced by paintEvent(), and updateStyle().