|
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 _tip, completer, completionModel, editing, 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(), 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 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.
Referenced by ExprShortTextEdit(), hideTip(), and showTip().
| QCompleter* ExprShortTextEdit::completer |
Definition at line 131 of file ExprShortEdit.h.
Referenced by ExprShortTextEdit(), focusInEvent(), insertCompletion(), and keyPressEvent().
| ExprCompletionModel* ExprShortTextEdit::completionModel |
Definition at line 132 of file ExprShortEdit.h.
Referenced by ExprShortTextEdit(), and keyPressEvent().
|
private |
Definition at line 125 of file ExprShortEdit.h.
Referenced by ExprShortTextEdit(), 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().