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

#include <qgsexpressionhighlighter.h>

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: