SWMMVis  6.0.0-alpha.4
Qt6/C++ GIS-based graphical user interface for the SWMMVis engine (6.0.0-alpha.4)
Loading...
Searching...
No Matches
openswmmvis::ui::TreatmentSyntaxHighlighter Class Reference

Palette-driven highlighter for one treatment expression line. More...

#include <treatmentexpressionedit.h>

Inheritance diagram for openswmmvis::ui::TreatmentSyntaxHighlighter:
Collaboration diagram for openswmmvis::ui::TreatmentSyntaxHighlighter:

Public Member Functions

 TreatmentSyntaxHighlighter (QTextDocument *doc)
 
void setPalette (const QPalette &palette)
 

Static Public Member Functions

static QStringList variableNames ()
 C R DT HRT Q V D AREA.
 
static QStringList functionNames ()
 exp log ln sqrt min max abs sgn step
 
static QStringList allKeywords ()
 variables + functions
 

Protected Member Functions

void highlightBlock (const QString &text) override
 

Detailed Description

Palette-driven highlighter for one treatment expression line.

Constructor & Destructor Documentation

◆ TreatmentSyntaxHighlighter()

openswmmvis::ui::TreatmentSyntaxHighlighter::TreatmentSyntaxHighlighter ( QTextDocument *  doc)
explicit

Member Function Documentation

◆ allKeywords()

QStringList openswmmvis::ui::TreatmentSyntaxHighlighter::allKeywords ( )
static

variables + functions

Here is the call graph for this function:
Here is the caller graph for this function:

◆ functionNames()

QStringList openswmmvis::ui::TreatmentSyntaxHighlighter::functionNames ( )
static

exp log ln sqrt min max abs sgn step

Here is the caller graph for this function:

◆ highlightBlock()

void openswmmvis::ui::TreatmentSyntaxHighlighter::highlightBlock ( const QString &  text)
overrideprotected
Here is the call graph for this function:

◆ setPalette()

void openswmmvis::ui::TreatmentSyntaxHighlighter::setPalette ( const QPalette &  palette)
Here is the caller graph for this function:

◆ variableNames()

QStringList openswmmvis::ui::TreatmentSyntaxHighlighter::variableNames ( )
static

C R DT HRT Q V D AREA.

Here is the caller graph for this function:

The documentation for this class was generated from the following files: