BALL::VIEW::TextEditorWidget Class Reference

#include <BALL/VIEW/WIDGETS/textEditorWidget.h>

Inheritance diagram for BALL::VIEW::TextEditorWidget:
Inheritance graph
[legend]

List of all members.

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

QWidgetline_numbers_

Detailed Description

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.


Constructor & Destructor Documentation

BALL::VIEW::TextEditorWidget::TextEditorWidget ( QWidget parent = 0  ) 

Member Function Documentation

void BALL::VIEW::TextEditorWidget::highlightCurrentLine (  )  [private, slot]
void BALL::VIEW::TextEditorWidget::lineNumbersPaintEvent ( QPaintEvent *  event  ) 
int BALL::VIEW::TextEditorWidget::lineNumbersWidth (  ) 
void BALL::VIEW::TextEditorWidget::resizeEvent ( QResizeEvent *  event  )  [protected]
void BALL::VIEW::TextEditorWidget::updateLineNumbers ( const QRect &  ,
int   
) [private, slot]
void BALL::VIEW::TextEditorWidget::updateLineNumbersWidth ( int  newBlockCount  )  [private, slot]

Member Data Documentation

Definition at line 67 of file textEditorWidget.h.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines
Generated by  doxygen 1.6.3