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
ProfilePlotWidget::LayerToggles Struct Reference

Label / terrain / orientation switches and per-output user preferences (currentHglLine, currentHglFill, maxHglBand, etc.). More...

#include <profileplotwidget.h>

Collaboration diagram for ProfilePlotWidget::LayerToggles:

Public Types

enum  LabelOrientation {
  Vertical = 0 ,
  Horizontal = 1 ,
  Diagonal = 2
}
 

Public Attributes

bool currentHglLine = true
 
bool currentHglFill = true
 
bool currentEgl = true
 
bool maxHglBand = false
 
bool maxHglLine = false
 
bool maxEglLine = false
 
bool showNodeLabels = false
 
bool showLinkLabels = false
 
bool inlineNodeLabels = false
 
LabelOrientation labelOrientation = Vertical
 
int labelAngleDeg = 45
 
bool useTerrainGround = false
 

Detailed Description

Label / terrain / orientation switches and per-output user preferences (currentHglLine, currentHglFill, maxHglBand, etc.).

The widget only consults the label / terrain / orientation fields directly — visibility of individual outputs lives on each SeriesBinding's visible flag. The per-output booleans (currentHglLine … maxEglLine) are carried here as user preferences that the host dialog reads when (re)building the series list, so the existing ProfileLayerPanel and ProfilePlotOptions Q_PROPERTYs stay unchanged.

Member Enumeration Documentation

◆ LabelOrientation

Enumerator
Vertical 
Horizontal 
Diagonal 

Member Data Documentation

◆ currentEgl

bool ProfilePlotWidget::LayerToggles::currentEgl = true

◆ currentHglFill

bool ProfilePlotWidget::LayerToggles::currentHglFill = true

◆ currentHglLine

bool ProfilePlotWidget::LayerToggles::currentHglLine = true

◆ inlineNodeLabels

bool ProfilePlotWidget::LayerToggles::inlineNodeLabels = false

node IDs over the glyph

◆ labelAngleDeg

int ProfilePlotWidget::LayerToggles::labelAngleDeg = 45

only used when LabelOrientation == Diagonal

◆ labelOrientation

LabelOrientation ProfilePlotWidget::LayerToggles::labelOrientation = Vertical

◆ maxEglLine

bool ProfilePlotWidget::LayerToggles::maxEglLine = false

◆ maxHglBand

bool ProfilePlotWidget::LayerToggles::maxHglBand = false

◆ maxHglLine

bool ProfilePlotWidget::LayerToggles::maxHglLine = false

◆ showLinkLabels

bool ProfilePlotWidget::LayerToggles::showLinkLabels = false

secondary axis: link names

◆ showNodeLabels

bool ProfilePlotWidget::LayerToggles::showNodeLabels = false

secondary axis: node IDs

◆ useTerrainGround

bool ProfilePlotWidget::LayerToggles::useTerrainGround = false

draw ground line from DEM samples


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