QSS Solver GUI
4.5.3
|
#include <codeeditor.hpp>
Public Member Functions | |
CodeEditor (QWidget *parent=0) | |
void | lineNumberAreaPaintEvent (QPaintEvent *event) |
int | lineNumberAreaWidth () |
Protected Member Functions | |
void | resizeEvent (QResizeEvent *event) |
Private Slots | |
void | updateLineNumberAreaWidth (int newBlockCount) |
void | highlightCurrentLine () |
void | updateLineNumberArea (const QRect &, int) |
Private Attributes | |
QWidget * | lineNumberArea |
Definition at line 80 of file codeeditor.hpp.
CodeEditor::CodeEditor | ( | QWidget * | parent = 0 | ) |
parent |
Definition at line 65 of file codeeditor.cpp.
References highlightCurrentLine(), lineNumberArea, updateLineNumberArea(), and updateLineNumberAreaWidth().
|
privateslot |
Definition at line 113 of file codeeditor.cpp.
Referenced by CodeEditor().
void CodeEditor::lineNumberAreaPaintEvent | ( | QPaintEvent * | event | ) |
event |
Definition at line 130 of file codeeditor.cpp.
References lineNumberArea.
Referenced by LineNumberArea::paintEvent().
int CodeEditor::lineNumberAreaWidth | ( | ) |
Definition at line 77 of file codeeditor.cpp.
Referenced by resizeEvent(), LineNumberArea::sizeHint(), and updateLineNumberAreaWidth().
|
protected |
event |
Definition at line 106 of file codeeditor.cpp.
References lineNumberArea, and lineNumberAreaWidth().
|
privateslot |
Definition at line 93 of file codeeditor.cpp.
References lineNumberArea, and updateLineNumberAreaWidth().
Referenced by CodeEditor().
|
privateslot |
Definition at line 91 of file codeeditor.cpp.
References lineNumberAreaWidth().
Referenced by CodeEditor(), and updateLineNumberArea().
|
private |
Definition at line 113 of file codeeditor.hpp.
Referenced by CodeEditor(), lineNumberAreaPaintEvent(), resizeEvent(), and updateLineNumberArea().