SeExprEdHighlighter Class Reference

#include <SeExprEdHighlighter.h>

List of all members.

Classes

struct  HighlightingRule

Public Member Functions

 SeExprEdHighlighter (QTextDocument *parent)
 SeExprEdHighlighter (QTextEdit *edit)
void fixStyle (const QPalette &palette)
void init ()
void highlightBlock (const QString &text)

Private Attributes

QVector< HighlightingRulehighlightingRules
QTextCharFormat singleLineCommentFormat
QTextCharFormat variableFormat
QTextCharFormat numberFormat
QTextCharFormat operatorFormat
int lightness

Detailed Description

Definition at line 20 of file SeExprEdHighlighter.h.


Constructor & Destructor Documentation

SeExprEdHighlighter::SeExprEdHighlighter ( QTextDocument *  parent  )  [inline]

Definition at line 35 of file SeExprEdHighlighter.h.

References init().

SeExprEdHighlighter::SeExprEdHighlighter ( QTextEdit *  edit  )  [inline]

Definition at line 41 of file SeExprEdHighlighter.h.

References init().


Member Function Documentation

void SeExprEdHighlighter::fixStyle ( const QPalette &  palette  )  [inline]
void SeExprEdHighlighter::highlightBlock ( const QString &  text  )  [inline]
void SeExprEdHighlighter::init (  )  [inline]

Member Data Documentation

Definition at line 26 of file SeExprEdHighlighter.h.

Referenced by highlightBlock(), and init().

Definition at line 32 of file SeExprEdHighlighter.h.

Referenced by fixStyle(), and init().

QTextCharFormat SeExprEdHighlighter::numberFormat [private]

Definition at line 29 of file SeExprEdHighlighter.h.

Referenced by init().

QTextCharFormat SeExprEdHighlighter::operatorFormat [private]

Definition at line 30 of file SeExprEdHighlighter.h.

Definition at line 27 of file SeExprEdHighlighter.h.

Referenced by init().

QTextCharFormat SeExprEdHighlighter::variableFormat [private]

Definition at line 28 of file SeExprEdHighlighter.h.

Referenced by init().


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

Generated on 25 Jul 2013 for SeExpr by  doxygen 1.6.1