BALL
1.4.2
|
#include <BALL/VIEW/WIDGETS/textEditorWidget.h>
Classes | |
class | LineNumbers |
Public Member Functions | |
TextEditorWidget (QWidget *parent=0) | |
void | lineNumbersPaintEvent (QPaintEvent *event) |
int | lineNumbersWidth () |
Protected Member Functions | |
void | resizeEvent (QResizeEvent *event) |
Private Slots | |
void | updateLineNumbersWidth (int newBlockCount) |
void | highlightCurrentLine () |
void | updateLineNumbers (const QRect &, int) |
Private Attributes | |
QWidget * | line_numbers_ |
This widget can be used for displaying or editing text. This class is heavily based on the Qt CodeEditor example.
Definition at line 31 of file textEditorWidget.h.
BALL::VIEW::TextEditorWidget::TextEditorWidget | ( | QWidget * | parent = 0 | ) |
|
privateslot |
void BALL::VIEW::TextEditorWidget::lineNumbersPaintEvent | ( | QPaintEvent * | event | ) |
int BALL::VIEW::TextEditorWidget::lineNumbersWidth | ( | ) |
|
protected |
|
privateslot |
|
privateslot |
|
private |
Definition at line 67 of file textEditorWidget.h.