7 #ifndef __FWGUIQT_HIGHLIGHTER_CPPHIGHLIGHTER_HPP__ 8 #define __FWGUIQT_HIGHLIGHTER_CPPHIGHLIGHTER_HPP__ 10 #include <QSyntaxHighlighter> 13 #include <QTextCharFormat> 15 #include "fwGuiQt/config.hpp" 32 FWGUIQT_API
void highlightBlock(
const QString &text);
35 struct HighlightingRule
38 QTextCharFormat format;
40 QVector<HighlightingRule> highlightingRules;
42 QRegExp commentStartExpression;
43 QRegExp commentEndExpression;
44 QTextCharFormat multiLineCommentFormat;
51 #endif // __FWGUIQT_HIGHLIGHTER_CPPHIGHLIGHTER_HPP__ The namespace fwGuiQt contains classes which provide the implementation of the Gui using Qt library...