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
ProfileAttributeTrackOptions Class Reference

#include <profileattributetrackoptions.h>

Inheritance diagram for ProfileAttributeTrackOptions:
Collaboration diagram for ProfileAttributeTrackOptions:

Signals

void changed ()
 

Public Member Functions

 ProfileAttributeTrackOptions (QObject *parent=nullptr)
 
bool isAttributeVisible (openswmmvis::plot::PlotAttribute a) const
 
void setAttributeVisible (openswmmvis::plot::PlotAttribute a, bool on)
 
QPen penFor (openswmmvis::plot::PlotAttribute a) const
 
void setPenFor (openswmmvis::plot::PlotAttribute a, const QPen &pen)
 
QVector< openswmmvis::plot::PlotAttributevisibleAttributes () const
 
bool isSpeciesTrackVisible (const QString &species, bool nodeScope) const
 
void setSpeciesTrackVisible (const QString &species, bool nodeScope, bool on)
 
QPen speciesTrackPenFor (const QString &species, bool nodeScope) const
 
void setSpeciesTrackPenFor (const QString &species, bool nodeScope, const QPen &pen)
 
QVector< QPair< QString, bool > > visibleSpeciesTracks () const
 
bool anyAttributeVisible () const
 
int trackHeightPx () const
 
bool showTrackTitles () const
 
bool envelopesVisible () const
 
double envelopeOpacity () const
 
void setTrackHeightPx (int px)
 
void setShowTrackTitles (bool on)
 
void setEnvelopesVisible (bool on)
 
void setEnvelopeOpacity (double opacity01)
 
void writeTo (QSettings &s) const
 
void readFrom (QSettings &s)
 
Q_INVOKABLE QString displayLabelFor (const QString &propertyName) const
 
bool nodeDepthVisible () const
 
void setNodeDepthVisible (bool on)
 
bool nodeHeadVisible () const
 
void setNodeHeadVisible (bool on)
 
bool nodeVolumeVisible () const
 
void setNodeVolumeVisible (bool on)
 
bool nodeLateralInflowVisible () const
 
void setNodeLateralInflowVisible (bool on)
 
bool nodeTotalInflowVisible () const
 
void setNodeTotalInflowVisible (bool on)
 
bool nodeOverflowVisible () const
 
void setNodeOverflowVisible (bool on)
 
bool linkFlowVisible () const
 
void setLinkFlowVisible (bool on)
 
bool linkDepthVisible () const
 
void setLinkDepthVisible (bool on)
 
bool linkVelocityVisible () const
 
void setLinkVelocityVisible (bool on)
 
bool linkVolumeVisible () const
 
void setLinkVolumeVisible (bool on)
 
bool linkCapacityVisible () const
 
void setLinkCapacityVisible (bool on)
 
QPen nodeDepthPen () const
 
void setNodeDepthPen (const QPen &p)
 
QPen nodeHeadPen () const
 
void setNodeHeadPen (const QPen &p)
 
QPen nodeVolumePen () const
 
void setNodeVolumePen (const QPen &p)
 
QPen nodeLateralInflowPen () const
 
void setNodeLateralInflowPen (const QPen &p)
 
QPen nodeTotalInflowPen () const
 
void setNodeTotalInflowPen (const QPen &p)
 
QPen nodeOverflowPen () const
 
void setNodeOverflowPen (const QPen &p)
 
QPen linkFlowPen () const
 
void setLinkFlowPen (const QPen &p)
 
QPen linkDepthPen () const
 
void setLinkDepthPen (const QPen &p)
 
QPen linkVelocityPen () const
 
void setLinkVelocityPen (const QPen &p)
 
QPen linkVolumePen () const
 
void setLinkVolumePen (const QPen &p)
 
QPen linkCapacityPen () const
 
void setLinkCapacityPen (const QPen &p)
 

Properties

int trackHeightPx
 
bool showTrackTitles
 
bool envelopesVisible
 
double envelopeOpacity
 
bool nodeDepthVisible
 
bool nodeHeadVisible
 
bool nodeVolumeVisible
 
bool nodeLateralInflowVisible
 
bool nodeTotalInflowVisible
 
bool nodeOverflowVisible
 
bool linkFlowVisible
 
bool linkDepthVisible
 
bool linkVelocityVisible
 
bool linkVolumeVisible
 
bool linkCapacityVisible
 
QPen nodeDepthPen
 
QPen nodeHeadPen
 
QPen nodeVolumePen
 
QPen nodeLateralInflowPen
 
QPen nodeTotalInflowPen
 
QPen nodeOverflowPen
 
QPen linkFlowPen
 
QPen linkDepthPen
 
QPen linkVelocityPen
 
QPen linkVolumePen
 
QPen linkCapacityPen
 

Constructor & Destructor Documentation

◆ ProfileAttributeTrackOptions()

ProfileAttributeTrackOptions::ProfileAttributeTrackOptions ( QObject *  parent = nullptr)
explicit

Member Function Documentation

◆ anyAttributeVisible()

bool ProfileAttributeTrackOptions::anyAttributeVisible ( ) const

True when at least one attribute or species track is visible — drives whether the tracks pane is shown at all.

◆ changed

void ProfileAttributeTrackOptions::changed ( )
signal

One signal for every property — same contract as ProfilePlotOptions.

Here is the caller graph for this function:

◆ displayLabelFor()

QString ProfileAttributeTrackOptions::displayLabelFor ( const QString &  propertyName) const

Friendly row label for the QPropertyModel tree, mirroring ProfilePlotOptions::displayLabelFor.

Here is the call graph for this function:

◆ envelopeOpacity()

double ProfileAttributeTrackOptions::envelopeOpacity ( ) const
inline

◆ envelopesVisible()

bool ProfileAttributeTrackOptions::envelopesVisible ( ) const
inline

◆ isAttributeVisible()

bool ProfileAttributeTrackOptions::isAttributeVisible ( openswmmvis::plot::PlotAttribute  a) const
Here is the caller graph for this function:

◆ isSpeciesTrackVisible()

bool ProfileAttributeTrackOptions::isSpeciesTrackVisible ( const QString &  species,
bool  nodeScope 
) const

◆ linkCapacityPen()

QPen ProfileAttributeTrackOptions::linkCapacityPen ( ) const
Here is the call graph for this function:

◆ linkCapacityVisible()

bool ProfileAttributeTrackOptions::linkCapacityVisible ( ) const
Here is the call graph for this function:

◆ linkDepthPen()

QPen ProfileAttributeTrackOptions::linkDepthPen ( ) const
Here is the call graph for this function:

◆ linkDepthVisible()

bool ProfileAttributeTrackOptions::linkDepthVisible ( ) const
Here is the call graph for this function:

◆ linkFlowPen()

QPen ProfileAttributeTrackOptions::linkFlowPen ( ) const
Here is the call graph for this function:

◆ linkFlowVisible()

bool ProfileAttributeTrackOptions::linkFlowVisible ( ) const
Here is the call graph for this function:

◆ linkVelocityPen()

QPen ProfileAttributeTrackOptions::linkVelocityPen ( ) const
Here is the call graph for this function:

◆ linkVelocityVisible()

bool ProfileAttributeTrackOptions::linkVelocityVisible ( ) const
Here is the call graph for this function:

◆ linkVolumePen()

QPen ProfileAttributeTrackOptions::linkVolumePen ( ) const
Here is the call graph for this function:

◆ linkVolumeVisible()

bool ProfileAttributeTrackOptions::linkVolumeVisible ( ) const
Here is the call graph for this function:

◆ nodeDepthPen()

QPen ProfileAttributeTrackOptions::nodeDepthPen ( ) const
Here is the call graph for this function:

◆ nodeDepthVisible()

bool ProfileAttributeTrackOptions::nodeDepthVisible ( ) const
Here is the call graph for this function:

◆ nodeHeadPen()

QPen ProfileAttributeTrackOptions::nodeHeadPen ( ) const
Here is the call graph for this function:

◆ nodeHeadVisible()

bool ProfileAttributeTrackOptions::nodeHeadVisible ( ) const
Here is the call graph for this function:

◆ nodeLateralInflowPen()

QPen ProfileAttributeTrackOptions::nodeLateralInflowPen ( ) const
Here is the call graph for this function:

◆ nodeLateralInflowVisible()

bool ProfileAttributeTrackOptions::nodeLateralInflowVisible ( ) const
Here is the call graph for this function:

◆ nodeOverflowPen()

QPen ProfileAttributeTrackOptions::nodeOverflowPen ( ) const
Here is the call graph for this function:

◆ nodeOverflowVisible()

bool ProfileAttributeTrackOptions::nodeOverflowVisible ( ) const
Here is the call graph for this function:

◆ nodeTotalInflowPen()

QPen ProfileAttributeTrackOptions::nodeTotalInflowPen ( ) const
Here is the call graph for this function:

◆ nodeTotalInflowVisible()

bool ProfileAttributeTrackOptions::nodeTotalInflowVisible ( ) const
Here is the call graph for this function:

◆ nodeVolumePen()

QPen ProfileAttributeTrackOptions::nodeVolumePen ( ) const
Here is the call graph for this function:

◆ nodeVolumeVisible()

bool ProfileAttributeTrackOptions::nodeVolumeVisible ( ) const
Here is the call graph for this function:

◆ penFor()

QPen ProfileAttributeTrackOptions::penFor ( openswmmvis::plot::PlotAttribute  a) const
Here is the caller graph for this function:

◆ readFrom()

void ProfileAttributeTrackOptions::readFrom ( QSettings &  s)

Reads every stored property from the CURRENT group of s; missing keys keep their defaults. Emits changed() once at the end.

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

◆ setAttributeVisible()

void ProfileAttributeTrackOptions::setAttributeVisible ( openswmmvis::plot::PlotAttribute  a,
bool  on 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setEnvelopeOpacity()

void ProfileAttributeTrackOptions::setEnvelopeOpacity ( double  opacity01)
Here is the call graph for this function:

◆ setEnvelopesVisible()

void ProfileAttributeTrackOptions::setEnvelopesVisible ( bool  on)
Here is the call graph for this function:

◆ setLinkCapacityPen()

void ProfileAttributeTrackOptions::setLinkCapacityPen ( const QPen &  p)
Here is the call graph for this function:

◆ setLinkCapacityVisible()

void ProfileAttributeTrackOptions::setLinkCapacityVisible ( bool  on)
Here is the call graph for this function:

◆ setLinkDepthPen()

void ProfileAttributeTrackOptions::setLinkDepthPen ( const QPen &  p)
Here is the call graph for this function:

◆ setLinkDepthVisible()

void ProfileAttributeTrackOptions::setLinkDepthVisible ( bool  on)
Here is the call graph for this function:

◆ setLinkFlowPen()

void ProfileAttributeTrackOptions::setLinkFlowPen ( const QPen &  p)
Here is the call graph for this function:

◆ setLinkFlowVisible()

void ProfileAttributeTrackOptions::setLinkFlowVisible ( bool  on)
Here is the call graph for this function:

◆ setLinkVelocityPen()

void ProfileAttributeTrackOptions::setLinkVelocityPen ( const QPen &  p)
Here is the call graph for this function:

◆ setLinkVelocityVisible()

void ProfileAttributeTrackOptions::setLinkVelocityVisible ( bool  on)
Here is the call graph for this function:

◆ setLinkVolumePen()

void ProfileAttributeTrackOptions::setLinkVolumePen ( const QPen &  p)
Here is the call graph for this function:

◆ setLinkVolumeVisible()

void ProfileAttributeTrackOptions::setLinkVolumeVisible ( bool  on)
Here is the call graph for this function:

◆ setNodeDepthPen()

void ProfileAttributeTrackOptions::setNodeDepthPen ( const QPen &  p)
Here is the call graph for this function:

◆ setNodeDepthVisible()

void ProfileAttributeTrackOptions::setNodeDepthVisible ( bool  on)
Here is the call graph for this function:

◆ setNodeHeadPen()

void ProfileAttributeTrackOptions::setNodeHeadPen ( const QPen &  p)
Here is the call graph for this function:

◆ setNodeHeadVisible()

void ProfileAttributeTrackOptions::setNodeHeadVisible ( bool  on)
Here is the call graph for this function:

◆ setNodeLateralInflowPen()

void ProfileAttributeTrackOptions::setNodeLateralInflowPen ( const QPen &  p)
Here is the call graph for this function:

◆ setNodeLateralInflowVisible()

void ProfileAttributeTrackOptions::setNodeLateralInflowVisible ( bool  on)
Here is the call graph for this function:

◆ setNodeOverflowPen()

void ProfileAttributeTrackOptions::setNodeOverflowPen ( const QPen &  p)
Here is the call graph for this function:

◆ setNodeOverflowVisible()

void ProfileAttributeTrackOptions::setNodeOverflowVisible ( bool  on)
Here is the call graph for this function:

◆ setNodeTotalInflowPen()

void ProfileAttributeTrackOptions::setNodeTotalInflowPen ( const QPen &  p)
Here is the call graph for this function:

◆ setNodeTotalInflowVisible()

void ProfileAttributeTrackOptions::setNodeTotalInflowVisible ( bool  on)
Here is the call graph for this function:

◆ setNodeVolumePen()

void ProfileAttributeTrackOptions::setNodeVolumePen ( const QPen &  p)
Here is the call graph for this function:

◆ setNodeVolumeVisible()

void ProfileAttributeTrackOptions::setNodeVolumeVisible ( bool  on)
Here is the call graph for this function:

◆ setPenFor()

void ProfileAttributeTrackOptions::setPenFor ( openswmmvis::plot::PlotAttribute  a,
const QPen &  pen 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setShowTrackTitles()

void ProfileAttributeTrackOptions::setShowTrackTitles ( bool  on)
Here is the call graph for this function:

◆ setSpeciesTrackPenFor()

void ProfileAttributeTrackOptions::setSpeciesTrackPenFor ( const QString &  species,
bool  nodeScope,
const QPen &  pen 
)
Here is the call graph for this function:

◆ setSpeciesTrackVisible()

void ProfileAttributeTrackOptions::setSpeciesTrackVisible ( const QString &  species,
bool  nodeScope,
bool  on 
)
Here is the call graph for this function:

◆ setTrackHeightPx()

void ProfileAttributeTrackOptions::setTrackHeightPx ( int  px)
Here is the call graph for this function:

◆ showTrackTitles()

bool ProfileAttributeTrackOptions::showTrackTitles ( ) const
inline

◆ speciesTrackPenFor()

QPen ProfileAttributeTrackOptions::speciesTrackPenFor ( const QString &  species,
bool  nodeScope 
) const

◆ trackHeightPx()

int ProfileAttributeTrackOptions::trackHeightPx ( ) const
inline

◆ visibleAttributes()

QVector< PlotAttribute > ProfileAttributeTrackOptions::visibleAttributes ( ) const

Visible attributes in canonical order (node attrs then link attrs, each in plotattribute.h presentation order).

Here is the call graph for this function:

◆ visibleSpeciesTracks()

QVector< QPair< QString, bool > > ProfileAttributeTrackOptions::visibleSpeciesTracks ( ) const

Visible species tracks as (name, nodeScope) pairs, sorted by name then node-before-link — a deterministic display order regardless of toggle history.

◆ writeTo()

void ProfileAttributeTrackOptions::writeTo ( QSettings &  s) const

Writes every property under the CURRENT group of s.

Property Documentation

◆ envelopeOpacity

double ProfileAttributeTrackOptions::envelopeOpacity
readwrite

◆ envelopesVisible

bool ProfileAttributeTrackOptions::envelopesVisible
readwrite

◆ linkCapacityPen

QPen ProfileAttributeTrackOptions::linkCapacityPen
readwrite

◆ linkCapacityVisible

bool ProfileAttributeTrackOptions::linkCapacityVisible
readwrite

◆ linkDepthPen

QPen ProfileAttributeTrackOptions::linkDepthPen
readwrite

◆ linkDepthVisible

bool ProfileAttributeTrackOptions::linkDepthVisible
readwrite

◆ linkFlowPen

QPen ProfileAttributeTrackOptions::linkFlowPen
readwrite

◆ linkFlowVisible

bool ProfileAttributeTrackOptions::linkFlowVisible
readwrite

◆ linkVelocityPen

QPen ProfileAttributeTrackOptions::linkVelocityPen
readwrite

◆ linkVelocityVisible

bool ProfileAttributeTrackOptions::linkVelocityVisible
readwrite

◆ linkVolumePen

QPen ProfileAttributeTrackOptions::linkVolumePen
readwrite

◆ linkVolumeVisible

bool ProfileAttributeTrackOptions::linkVolumeVisible
readwrite

◆ nodeDepthPen

QPen ProfileAttributeTrackOptions::nodeDepthPen
readwrite

◆ nodeDepthVisible

bool ProfileAttributeTrackOptions::nodeDepthVisible
readwrite

◆ nodeHeadPen

QPen ProfileAttributeTrackOptions::nodeHeadPen
readwrite

◆ nodeHeadVisible

bool ProfileAttributeTrackOptions::nodeHeadVisible
readwrite

◆ nodeLateralInflowPen

QPen ProfileAttributeTrackOptions::nodeLateralInflowPen
readwrite

◆ nodeLateralInflowVisible

bool ProfileAttributeTrackOptions::nodeLateralInflowVisible
readwrite

◆ nodeOverflowPen

QPen ProfileAttributeTrackOptions::nodeOverflowPen
readwrite

◆ nodeOverflowVisible

bool ProfileAttributeTrackOptions::nodeOverflowVisible
readwrite

◆ nodeTotalInflowPen

QPen ProfileAttributeTrackOptions::nodeTotalInflowPen
readwrite

◆ nodeTotalInflowVisible

bool ProfileAttributeTrackOptions::nodeTotalInflowVisible
readwrite

◆ nodeVolumePen

QPen ProfileAttributeTrackOptions::nodeVolumePen
readwrite

◆ nodeVolumeVisible

bool ProfileAttributeTrackOptions::nodeVolumeVisible
readwrite

◆ showTrackTitles

bool ProfileAttributeTrackOptions::showTrackTitles
readwrite

◆ trackHeightPx

int ProfileAttributeTrackOptions::trackHeightPx
readwrite

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