Palette-driven highlighter for one [GWF] expression line.
More...
#include <gwfexpressionedit.h>
Palette-driven highlighter for one [GWF] expression line.
◆ GwfSyntaxHighlighter()
| openswmmvis::ui::GwfSyntaxHighlighter::GwfSyntaxHighlighter |
( |
QTextDocument * |
doc, |
|
|
const QStringList & |
variables, |
|
|
const QStringList & |
functions |
|
) |
| |
- Parameters
-
| variables | upper-case variable names (HGW, HSW, …) |
| functions | lower-case function names (sqrt, log, …) |
◆ highlightBlock()
| void openswmmvis::ui::GwfSyntaxHighlighter::highlightBlock |
( |
const QString & |
text | ) |
|
|
overrideprotected |
◆ setPalette()
| void openswmmvis::ui::GwfSyntaxHighlighter::setPalette |
( |
const QPalette & |
palette | ) |
|
The documentation for this class was generated from the following files: