#include <editor.h>
Public Member Functions | |
| Editor (QWidget *parent=0) | |
| ~Editor () | |
Public Attributes | |
| bool | enableHighlightLines |
| enable highlighting current line | |
| QColor | hiLineColor |
| highlighting color for current line | |
| int | printArea |
| print area indicator postion for declarations and instructions | |
Protected Member Functions | |
| bool | event (QEvent *e) |
Private Member Functions | |
| void | paintEvent (QPaintEvent *event) |
Private Attributes | |
| int | prefWidth |
| preferred width of line numbers column | |
| Editor::Editor | ( | QWidget * | parent = 0 |
) |
creating function
| Editor::~Editor | ( | ) |
destructor
| bool Editor::event | ( | QEvent * | e | ) | [protected] |
line numbers block paint event
| void Editor::paintEvent | ( | QPaintEvent * | event | ) | [private] |
painter event
enable highlighting current line
| QColor Editor::hiLineColor |
highlighting color for current line
int Editor::prefWidth [private] |
preferred width of line numbers column
print area indicator postion for declarations and instructions
1.5.8