Developer Documentation
RenderObjectHighlighter Class Reference
Inheritance diagram for RenderObjectHighlighter:

Classes

struct  HighlightingRule
 

Public Member Functions

 RenderObjectHighlighter (QTextDocument *parent=0)
 
 RenderObjectHighlighter (QTextEdit *parent)
 
void update ()
 Updates the highlighter with the current rule set defined in the patterns.
 

Protected Member Functions

void highlightBlock (const QString &text)
 

Private Member Functions

void init ()
 common initializer function called by the constructors
 

Private Attributes

QStringList keywordPatterns_
 
QStringList typePatterns_
 
QVector< HighlightingRulehighlightingRules_
 
QRegExp vertexShaderStartExpression_
 
QRegExp vertexShaderEndExpression_
 
QRegExp geometryShaderStartExpression_
 
QRegExp geometryShaderEndExpression_
 
QRegExp fragmentShaderStartExpression_
 
QRegExp fragmentShaderEndExpression_
 
QTextCharFormat keywordFormat_
 
QTextCharFormat defineFormat_
 
QTextCharFormat typeFormat_
 
QTextCharFormat singleLineCommentFormat_
 
QTextCharFormat vertexShaderFormat_
 
QTextCharFormat geometryShaderFormat_
 
QTextCharFormat fragmentShaderFormat_
 

Detailed Description

Definition at line 52 of file renderObjectHighLighter.hh.


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