39 void addFields(
const QStringList &fieldList );
42 void highlightBlock(
const QString &text )
override;
45 struct HighlightingRule
47 QRegularExpression pattern;
48 QTextCharFormat format;
50 QVector<HighlightingRule> highlightingRules;
52 QTextCharFormat columnNameFormat;
53 QTextCharFormat keywordFormat;
54 QTextCharFormat quotationFormat;
55 QTextCharFormat functionFormat;