QGIS API Documentation
2.2.0-Valmiera
|
#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< HighlightingRule > | highlightingRules |
QTextCharFormat | columnNameFormat |
QTextCharFormat | keywordFormat |
QTextCharFormat | quotationFormat |
QTextCharFormat | functionFormat |
Definition at line 28 of file qgsexpressionhighlighter.h.
QgsExpressionHighlighter::QgsExpressionHighlighter | ( | QTextDocument * | parent = 0 | ) |
Definition at line 18 of file qgsexpressionhighlighter.cpp.
References columnNameFormat, QgsExpressionHighlighter::HighlightingRule::format, highlightingRules, keywordFormat, QgsExpressionHighlighter::HighlightingRule::pattern, and quotationFormat.
void QgsExpressionHighlighter::addFields | ( | QStringList | fieldList | ) |
Definition at line 47 of file qgsexpressionhighlighter.cpp.
References columnNameFormat, QgsExpressionHighlighter::HighlightingRule::format, highlightingRules, and QgsExpressionHighlighter::HighlightingRule::pattern.
Referenced by QgsExpressionBuilderWidget::loadFieldNames().
|
protected |
Definition at line 61 of file qgsexpressionhighlighter.cpp.
References QgsExpressionHighlighter::HighlightingRule::format, highlightingRules, index, and QgsExpressionHighlighter::HighlightingRule::pattern.
|
private |
Definition at line 47 of file qgsexpressionhighlighter.h.
Referenced by addFields(), and QgsExpressionHighlighter().
|
private |
Definition at line 50 of file qgsexpressionhighlighter.h.
|
private |
Definition at line 45 of file qgsexpressionhighlighter.h.
Referenced by addFields(), highlightBlock(), and QgsExpressionHighlighter().
|
private |
Definition at line 48 of file qgsexpressionhighlighter.h.
Referenced by QgsExpressionHighlighter().
|
private |
Definition at line 49 of file qgsexpressionhighlighter.h.
Referenced by QgsExpressionHighlighter().