QLineNumberPanel Class Reference
[Widgets]

A specific panel in charge of drawing line numbers of an editor. More...

Inheritance diagram for QLineNumberPanel:

Inheritance graph
[legend]

List of all members.
 QLineNumberPanel (QWidget *p=0)
 Constructor.
virtual ~QLineNumberPanel ()
 Empty destructor.
bool isVerboseMode () const
virtual QString type () const
void setVerboseMode (bool y)
virtual void editorChange (QEditor *e)
 Callback.
virtual void paint (QPainter *p, QEditor *e)

Protected Attributes

bool m_verbose


Detailed Description

A specific panel in charge of drawing line numbers of an editor.

Member Function Documentation

void QLineNumberPanel::editorChange ( QEditor e  )  [protected, virtual]

Callback.

Each time attach() is called, this function is called as well so that the panel can fine tune its behaviour according to the editor monitored.

Note:
the Default implementation does nothing...

Reimplemented from QPanel.

References QEditor::document(), and QDocument::lines().


The documentation for this class was generated from the following files:

Generated on Sun Feb 15 22:50:20 2009 for QCodeEdit by  doxygen 1.5.7.1