|
Computer Assited Medical Intervention Tool Kit
version 5.0
|
|
Go to the documentation of this file.
31 #ifndef XMLHIGHLIGHTER_H
32 #define XMLHIGHLIGHTER_H
34 #include <QSyntaxHighlighter>
37 #include <QTextCharFormat>
59 void highlightSubBlock(
const QString& text,
const int startIndex,
const int currState);
QRegExp xmlAttributeEndExpression
Definition: Xmlhighlighter.h:80
QRegExp xmlOpenTagEndExpression
Definition: Xmlhighlighter.h:76
QTextCharFormat xmlCommentFormat
Definition: Xmlhighlighter.h:89
QTextCharFormat xmlAttributeFormat
Definition: Xmlhighlighter.h:92
@ inAttName
Definition: Xmlhighlighter.h:104
QTextCharFormat xmlTagFormat
Definition: Xmlhighlighter.h:90
@ inProcInst
Definition: Xmlhighlighter.h:99
XmlHighlighter(QTextDocument *parent=nullptr)
[0]
Definition: Xmlhighlighter.cpp:39
QRegExp xmlAttValExpression
Definition: Xmlhighlighter.h:84
@ inCloseTagName
Definition: Xmlhighlighter.h:107
QRegExp xmlCommentStartExpression
Definition: Xmlhighlighter.h:70
QRegExp xmlAttributeStartExpression
Definition: Xmlhighlighter.h:79
QRegExp xmlAttValStartExpression
Definition: Xmlhighlighter.h:81
QTextCharFormat xmlProcInstFormat
Definition: Xmlhighlighter.h:87
@ inComment
Definition: Xmlhighlighter.h:108
QTextCharFormat xmlEntityFormat
Definition: Xmlhighlighter.h:91
void highlightSubBlock(const QString &text, const int startIndex, const int currState)
Definition: Xmlhighlighter.cpp:131
QTextCharFormat xmlDoctypeFormat
Definition: Xmlhighlighter.h:88
QRegExp xmlProcInstEndExpression
Definition: Xmlhighlighter.h:69
QRegExp xmlDoctypeEndExpression
Definition: Xmlhighlighter.h:73
@ inCloseTag
Definition: Xmlhighlighter.h:106
QVector< HighlightingRule > hlRules
Definition: Xmlhighlighter.h:66
@ inDoctypeDecl
Definition: Xmlhighlighter.h:100
@ inAttribute
Definition: Xmlhighlighter.h:103
QRegExp xmlCloseTagStartExpression
Definition: Xmlhighlighter.h:77
QTextCharFormat xmlAttValFormat
Definition: Xmlhighlighter.h:93
TODO Comment class here.
Definition: Xmlhighlighter.h:51
@ inAttVal
Definition: Xmlhighlighter.h:105
@ inOpenTag
Definition: Xmlhighlighter.h:101
@ inNothing
Definition: Xmlhighlighter.h:98
QRegExp pattern
Definition: Xmlhighlighter.h:63
void highlightBlock(const QString &text) override
Definition: Xmlhighlighter.cpp:363
Definition: Xmlhighlighter.h:62
QRegExp xmlCloseTagEndExpression
Definition: Xmlhighlighter.h:78
QRegExp xmlDoctypeStartExpression
Definition: Xmlhighlighter.h:72
QRegExp xmlProcInstStartExpression
Definition: Xmlhighlighter.h:68
@ inOpenTagName
Definition: Xmlhighlighter.h:102
xmlState
Definition: Xmlhighlighter.h:97
QRegExp xmlOpenTagStartExpression
Definition: Xmlhighlighter.h:75
QRegExp xmlAttValEndExpression
Definition: Xmlhighlighter.h:82
QTextCharFormat format
Definition: Xmlhighlighter.h:64
QRegExp xmlCommentEndExpression
Definition: Xmlhighlighter.h:71