|
QCodeEdit 2.2
|
A panel that provide inline goto line functionalities. More...

| QGotoLinePanel (QWidget *p=0) | |
| Constructor. | |
| virtual | ~QGotoLinePanel () |
| Empty destructor. | |
| virtual QString | type () const |
| virtual bool | forward (QMouseEvent *e) |
| virtual void | editorChange (QEditor *e) |
| Callback. | |
| virtual void | showEvent (QShowEvent *e) |
| virtual void | keyPressEvent (QKeyEvent *e) |
A panel that provide inline goto line functionalities.
| void QGotoLinePanel::editorChange | ( | QEditor * | e | ) | [protected, virtual] |
Callback.
Each time attach() is called, this function is called as well so that the panel can fine tune its behaviour according to the editor monitored.
Reimplemented from QPanel.
References QEditor::cursor(), QEditor::document(), QDocument::lineCount(), and QDocumentCursor::lineNumber().
1.7.4