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::InletTheme Struct Reference

Colours for the drawing. Taken from the widget palette — the same source StreetSectionPreview uses — so the drawing follows the app theme without a second palette to keep in sync. More...

#include <inletdrawingview.h>

Collaboration diagram for openswmmvis::ui::InletTheme:

Static Public Member Functions

static InletTheme fromPalette (const QPalette &pal)
 

Public Attributes

QColor background
 Scene backdrop.
 
QColor outline
 Structural lines (curb, grate frame, channel).
 
QColor pavement
 Pavement hatching.
 
QColor accent
 Grate bars, shaded sweeper, slot.
 
QColor dimension
 Dimension + extension lines and arrowheads.
 
QColor text
 Labels.
 

Detailed Description

Colours for the drawing. Taken from the widget palette — the same source StreetSectionPreview uses — so the drawing follows the app theme without a second palette to keep in sync.

Member Function Documentation

◆ fromPalette()

InletTheme openswmmvis::ui::InletTheme::fromPalette ( const QPalette &  pal)
static
Here is the caller graph for this function:

Member Data Documentation

◆ accent

QColor openswmmvis::ui::InletTheme::accent

Grate bars, shaded sweeper, slot.

◆ background

QColor openswmmvis::ui::InletTheme::background

Scene backdrop.

◆ dimension

QColor openswmmvis::ui::InletTheme::dimension

Dimension + extension lines and arrowheads.

◆ outline

QColor openswmmvis::ui::InletTheme::outline

Structural lines (curb, grate frame, channel).

◆ pavement

QColor openswmmvis::ui::InletTheme::pavement

Pavement hatching.

◆ text

QColor openswmmvis::ui::InletTheme::text

Labels.


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