SeExpr
|
#include <ExprShortEdit.h>
Signals | |
void | editingFinished () |
Public Member Functions | |
ExprShortTextEdit (QWidget *parent) | |
Public Attributes | |
QCompleter * | completer |
ExprCompletionModel * | completionModel |
Protected Member Functions | |
void | showTip (const QString &string) |
void | hideTip () |
void | paintEvent (QPaintEvent *e) |
virtual void | keyPressEvent (QKeyEvent *e) |
virtual void | focusInEvent (QFocusEvent *e) |
virtual void | focusOutEvent (QFocusEvent *e) |
virtual void | mousePressEvent (QMouseEvent *event) |
virtual void | mouseDoubleClickEvent (QMouseEvent *event) |
virtual void | wheelEvent (QWheelEvent *e) |
void | setColor (bool editing) |
void | finishEdit () |
Private Slots | |
void | insertCompletion (const QString &completion) |
Private Attributes | |
ExprHighlighter * | highlighter |
bool | editing |
QString | savedText |
ExprPopupDoc * | _tip |
QStyle * | lastStyleForHighlighter |
Definition at line 120 of file ExprShortEdit.h.
ExprShortTextEdit::ExprShortTextEdit | ( | QWidget * | parent | ) |
Definition at line 244 of file ExprShortEdit.cpp.
References completer, completionModel, ExprHighlighter::fixStyle(), highlighter, insertCompletion(), and lastStyleForHighlighter.
|
signal |
Referenced by finishEdit().
|
protected |
Definition at line 432 of file ExprShortEdit.cpp.
References editing, editingFinished(), and setColor().
Referenced by focusOutEvent(), and keyPressEvent().
|
protectedvirtual |
Definition at line 269 of file ExprShortEdit.cpp.
References completer.
|
protectedvirtual |
Definition at line 275 of file ExprShortEdit.cpp.
References finishEdit(), hideTip(), and setColor().
|
protected |
Definition at line 417 of file ExprShortEdit.cpp.
References _tip.
Referenced by focusOutEvent(), keyPressEvent(), mouseDoubleClickEvent(), and mousePressEvent().
|
privateslot |
Definition at line 421 of file ExprShortEdit.cpp.
References completer.
Referenced by ExprShortTextEdit().
|
protectedvirtual |
Definition at line 305 of file ExprShortEdit.cpp.
References completer, completionModel, editing, finishEdit(), ExprCompletionModel::getDocString(), hideTip(), index(), savedText, setColor(), and showTip().
|
protectedvirtual |
Definition at line 291 of file ExprShortEdit.cpp.
References hideTip().
|
protectedvirtual |
Definition at line 286 of file ExprShortEdit.cpp.
References hideTip().
|
protected |
Definition at line 296 of file ExprShortEdit.cpp.
References ExprHighlighter::fixStyle(), highlighter, and lastStyleForHighlighter.
|
protected |
Definition at line 438 of file ExprShortEdit.cpp.
References editing.
Referenced by finishEdit(), focusOutEvent(), and keyPressEvent().
|
protected |
|
inlineprotectedvirtual |
Definition at line 146 of file ExprShortEdit.h.
|
private |
Definition at line 127 of file ExprShortEdit.h.
QCompleter* ExprShortTextEdit::completer |
Definition at line 131 of file ExprShortEdit.h.
Referenced by ExprShortTextEdit(), focusInEvent(), insertCompletion(), keyPressEvent(), ExprShortEdit::rebuildControls(), and ExprShortEdit::updateCompleter().
ExprCompletionModel* ExprShortTextEdit::completionModel |
Definition at line 132 of file ExprShortEdit.h.
Referenced by ExprShortEdit::clearExtraCompleters(), ExprShortTextEdit(), keyPressEvent(), ExprShortEdit::rebuildControls(), ExprShortEdit::registerExtraFunction(), ExprShortEdit::registerExtraVariable(), ExprShortEdit::showDetails(), and ExprShortEdit::updateCompleter().
|
private |
Definition at line 125 of file ExprShortEdit.h.
Referenced by finishEdit(), keyPressEvent(), and setColor().
|
private |
Definition at line 123 of file ExprShortEdit.h.
Referenced by ExprShortTextEdit(), and paintEvent().
|
private |
Definition at line 128 of file ExprShortEdit.h.
Referenced by ExprShortTextEdit(), and paintEvent().
|
private |
Definition at line 126 of file ExprShortEdit.h.
Referenced by keyPressEvent().