BALL  1.4.79
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Classes | Public Member Functions | Protected Member Functions | List of all members
BALL::VIEW::TextEditorWidget Class Reference

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

Inheritance diagram for BALL::VIEW::TextEditorWidget:
QPlainTextEdit

Classes

class  LineNumbers
 

Public Member Functions

 TextEditorWidget (QWidget *parent=0)
 
void lineNumbersPaintEvent (QPaintEvent *event)
 
int lineNumbersWidth ()
 

Protected Member Functions

void resizeEvent (QResizeEvent *event)
 

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::lineNumbersPaintEvent ( QPaintEvent *  event)
int BALL::VIEW::TextEditorWidget::lineNumbersWidth ( )
void BALL::VIEW::TextEditorWidget::resizeEvent ( QResizeEvent *  event)
protected