|
Quark
0.1
|
A subclass of QPlainTextEdit that is specialied for editing source code. More...
#include <SourceTextEdit.h++>

Public Slots | |
| void | setHighlightingEnabled (bool enabled) |
| Enables or disables syntax highlighting. More... | |
Public Member Functions | |
| SourceTextEdit (QWidget *parent=NULL) | |
| Constructor. More... | |
| virtual | ~SourceTextEdit () |
| Destructor. More... | |
| void | setSyntaxHighlighter (QSharedPointer< QSyntaxHighlighter > highlighter) |
| Sets the syntax highlighter. More... | |
Protected Member Functions | |
| void | resizeEvent (QResizeEvent *event) |
Friends | |
| class | MarginWidget |
A subclass of QPlainTextEdit that is specialied for editing source code.
The widget renders a left margin with line numbers and optionally performs syntax highlighting.
|
explicit |
Constructor.
|
virtual |
Destructor.
|
protected |
|
slot |
Enables or disables syntax highlighting.
| void setSyntaxHighlighter | ( | QSharedPointer< QSyntaxHighlighter > | highlighter | ) |
Sets the syntax highlighter.
|
friend |