#include <codetextedit.h>
CodeTextEdit::CodeTextEdit |
( |
QWidget * |
parent = 0 | ) |
|
|
explicit |
void CodeTextEdit::highlightCurrentLine |
( |
| ) |
|
|
privateslot |
void CodeTextEdit::lineNumberAreaPaintEvent |
( |
QPaintEvent * |
event | ) |
|
int CodeTextEdit::lineNumberAreaWidth |
( |
| ) |
|
Calculates the needed width of the line number area.
- Returns
- width of line number area
void CodeTextEdit::resizeEvent |
( |
QResizeEvent * |
event | ) |
|
|
protected |
void CodeTextEdit::updateLineNumberArea |
( |
const QRect & |
rect, |
|
|
int |
dy |
|
) |
| |
|
privateslot |
void CodeTextEdit::updateLineNumberAreaWidth |
( |
int |
newBlockCount | ) |
|
|
privateslot |
Slot for 'blockCountChanged'. Sets new viewport margins according to the width of the line number area.
- Parameters
-
QWidget* CodeTextEdit::m_lineNumberArea |
|
private |
The documentation for this class was generated from the following files: