7 #ifndef __FWGUIQT_HIGHLIGHTER_PYTHONHIGHLIGHTER_HPP__ 8 #define __FWGUIQT_HIGHLIGHTER_PYTHONHIGHLIGHTER_HPP__ 10 #include <QSyntaxHighlighter> 13 #include <QTextCharFormat> 15 #include "fwGuiQt/config.hpp" 33 FWGUIQT_API
void highlightBlock(
const QString &text);
37 class HighlightingRule
40 HighlightingRule() : nth(0)
45 QTextCharFormat format;
48 QVector<HighlightingRule> highlightingRules;
50 QRegExp commentStartExpression;
51 QRegExp commentEndExpression;
52 QTextCharFormat multiLineCommentFormat;
59 #endif // __FWGUIQT_HIGHLIGHTER_PYTHONHIGHLIGHTER_HPP__ The namespace fwGuiQt contains classes which provide the implementation of the Gui using Qt library...