QGIS API Documentation  2.5.0-Master
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
Classes | Public Member Functions | Protected Member Functions | Private Attributes | List of all members
QgsExpressionHighlighter Class Reference

#include <qgsexpressionhighlighter.h>

Inheritance diagram for QgsExpressionHighlighter:
Inheritance graph
[legend]
Collaboration diagram for QgsExpressionHighlighter:
Collaboration graph
[legend]

Classes

struct  HighlightingRule
 

Public Member Functions

 QgsExpressionHighlighter (QTextDocument *parent=0)
 
void addFields (QStringList fieldList)
 

Protected Member Functions

void highlightBlock (const QString &text)
 

Private Attributes

QVector< HighlightingRulehighlightingRules
 
QTextCharFormat columnNameFormat
 
QTextCharFormat keywordFormat
 
QTextCharFormat quotationFormat
 
QTextCharFormat functionFormat
 

Detailed Description

Definition at line 28 of file qgsexpressionhighlighter.h.

Constructor & Destructor Documentation

QgsExpressionHighlighter::QgsExpressionHighlighter ( QTextDocument *  parent = 0)

Member Function Documentation

void QgsExpressionHighlighter::addFields ( QStringList  fieldList)
void QgsExpressionHighlighter::highlightBlock ( const QString &  text)
protected

Member Data Documentation

QTextCharFormat QgsExpressionHighlighter::columnNameFormat
private

Definition at line 47 of file qgsexpressionhighlighter.h.

Referenced by addFields(), and QgsExpressionHighlighter().

QTextCharFormat QgsExpressionHighlighter::functionFormat
private

Definition at line 50 of file qgsexpressionhighlighter.h.

QVector<HighlightingRule> QgsExpressionHighlighter::highlightingRules
private

Definition at line 45 of file qgsexpressionhighlighter.h.

Referenced by addFields(), highlightBlock(), and QgsExpressionHighlighter().

QTextCharFormat QgsExpressionHighlighter::keywordFormat
private

Definition at line 48 of file qgsexpressionhighlighter.h.

Referenced by QgsExpressionHighlighter().

QTextCharFormat QgsExpressionHighlighter::quotationFormat
private

Definition at line 49 of file qgsexpressionhighlighter.h.

Referenced by QgsExpressionHighlighter().


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