MCPcopy Create free account
hub / github.com/KDE/labplot / focusOutEvent

Method focusOutEvent

src/frontend/widgets/ExpressionTextEdit.cpp:154–158  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

152}
153
154void ExpressionTextEdit::focusOutEvent(QFocusEvent* e) {
155 // when loosing focus, rehighlight to remove potential highlighting of opening and closing brackets
156 m_highlighter->rehighlight();
157 QTextEdit::focusOutEvent(e);
158}
159
160void ExpressionTextEdit::keyPressEvent(QKeyEvent* e) {
161 switch (e->key()) {

Callers

nothing calls this directly

Calls 1

rehighlightMethod · 0.80

Tested by

no test coverage detected