#include <rule_editing.h>
Public Member Functions | |
| XMLSyntaxHighlighter (QObject *parent) | |
| XMLSyntaxHighlighter (QTextDocument *parent) | |
| XMLSyntaxHighlighter (QTextEdit *parent) | |
Protected Member Functions | |
| virtual void | highlightBlock (const QString &text) |
Private Member Functions | |
| void | highlightByRegex (const QTextCharFormat &format, const QRegExp ®ex, const QString &text) |
| void | setFormats () |
| void | setRegexes () |
Private Attributes | |
| QTextCharFormat | _xmlAttributeFormat |
| QRegExp | _xmlAttributeRegex |
| QTextCharFormat | _xmlCommentFormat |
| QRegExp | _xmlCommentRegex |
| QTextCharFormat | _xmlElementFormat |
| QRegExp | _xmlElementRegex |
| QTextCharFormat | _xmlKeywordFormat |
| QList< QRegExp > | _xmlKeywordRegexes |
| QTextCharFormat | _xmlValueFormat |
| QRegExp | _xmlValueRegex |
Definition at line 15 of file rule_editing.h.
| XMLSyntaxHighlighter::XMLSyntaxHighlighter | ( | QObject * | parent | ) |
Definition at line 36 of file rule_editing.cpp.
| XMLSyntaxHighlighter::XMLSyntaxHighlighter | ( | QTextDocument * | parent | ) |
Definition at line 43 of file rule_editing.cpp.
| XMLSyntaxHighlighter::XMLSyntaxHighlighter | ( | QTextEdit * | parent | ) |
Definition at line 50 of file rule_editing.cpp.
| void XMLSyntaxHighlighter::highlightBlock | ( | const QString & | text | ) | [protected, virtual] |
Definition at line 57 of file rule_editing.cpp.
| void XMLSyntaxHighlighter::highlightByRegex | ( | const QTextCharFormat & | format, |
| const QRegExp & | regex, | ||
| const QString & | text | ||
| ) | [private] |
Definition at line 83 of file rule_editing.cpp.
| void XMLSyntaxHighlighter::setFormats | ( | ) | [private] |
Definition at line 108 of file rule_editing.cpp.
| void XMLSyntaxHighlighter::setRegexes | ( | ) | [private] |
Definition at line 96 of file rule_editing.cpp.
QTextCharFormat XMLSyntaxHighlighter::_xmlAttributeFormat [private] |
Definition at line 35 of file rule_editing.h.
QRegExp XMLSyntaxHighlighter::_xmlAttributeRegex [private] |
Definition at line 41 of file rule_editing.h.
QTextCharFormat XMLSyntaxHighlighter::_xmlCommentFormat [private] |
Definition at line 37 of file rule_editing.h.
QRegExp XMLSyntaxHighlighter::_xmlCommentRegex [private] |
Definition at line 43 of file rule_editing.h.
QTextCharFormat XMLSyntaxHighlighter::_xmlElementFormat [private] |
Definition at line 34 of file rule_editing.h.
QRegExp XMLSyntaxHighlighter::_xmlElementRegex [private] |
Definition at line 40 of file rule_editing.h.
QTextCharFormat XMLSyntaxHighlighter::_xmlKeywordFormat [private] |
Definition at line 33 of file rule_editing.h.
QList<QRegExp> XMLSyntaxHighlighter::_xmlKeywordRegexes [private] |
Definition at line 39 of file rule_editing.h.
QTextCharFormat XMLSyntaxHighlighter::_xmlValueFormat [private] |
Definition at line 36 of file rule_editing.h.
QRegExp XMLSyntaxHighlighter::_xmlValueRegex [private] |
Definition at line 42 of file rule_editing.h.