![]() |
SWMMVis
6.0.0-alpha.4
Qt6/C++ GIS-based graphical user interface for the SWMMVis engine (6.0.0-alpha.4)
|
#include <profileattributetrackoptions.h>
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::PlotAttribute > | visibleAttributes () 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 |
|
explicit |
| bool ProfileAttributeTrackOptions::anyAttributeVisible | ( | ) | const |
True when at least one attribute or species track is visible — drives whether the tracks pane is shown at all.
|
signal |
One signal for every property — same contract as ProfilePlotOptions.
| QString ProfileAttributeTrackOptions::displayLabelFor | ( | const QString & | propertyName | ) | const |
Friendly row label for the QPropertyModel tree, mirroring ProfilePlotOptions::displayLabelFor.
|
inline |
|
inline |
| bool ProfileAttributeTrackOptions::isAttributeVisible | ( | openswmmvis::plot::PlotAttribute | a | ) | const |
| bool ProfileAttributeTrackOptions::isSpeciesTrackVisible | ( | const QString & | species, |
| bool | nodeScope | ||
| ) | const |
| QPen ProfileAttributeTrackOptions::linkCapacityPen | ( | ) | const |
| bool ProfileAttributeTrackOptions::linkCapacityVisible | ( | ) | const |
| QPen ProfileAttributeTrackOptions::linkDepthPen | ( | ) | const |
| bool ProfileAttributeTrackOptions::linkDepthVisible | ( | ) | const |
| QPen ProfileAttributeTrackOptions::linkFlowPen | ( | ) | const |
| bool ProfileAttributeTrackOptions::linkFlowVisible | ( | ) | const |
| QPen ProfileAttributeTrackOptions::linkVelocityPen | ( | ) | const |
| bool ProfileAttributeTrackOptions::linkVelocityVisible | ( | ) | const |
| QPen ProfileAttributeTrackOptions::linkVolumePen | ( | ) | const |
| bool ProfileAttributeTrackOptions::linkVolumeVisible | ( | ) | const |
| QPen ProfileAttributeTrackOptions::nodeDepthPen | ( | ) | const |
| bool ProfileAttributeTrackOptions::nodeDepthVisible | ( | ) | const |
| QPen ProfileAttributeTrackOptions::nodeHeadPen | ( | ) | const |
| bool ProfileAttributeTrackOptions::nodeHeadVisible | ( | ) | const |
| QPen ProfileAttributeTrackOptions::nodeLateralInflowPen | ( | ) | const |
| bool ProfileAttributeTrackOptions::nodeLateralInflowVisible | ( | ) | const |
| QPen ProfileAttributeTrackOptions::nodeOverflowPen | ( | ) | const |
| bool ProfileAttributeTrackOptions::nodeOverflowVisible | ( | ) | const |
| QPen ProfileAttributeTrackOptions::nodeTotalInflowPen | ( | ) | const |
| bool ProfileAttributeTrackOptions::nodeTotalInflowVisible | ( | ) | const |
| QPen ProfileAttributeTrackOptions::nodeVolumePen | ( | ) | const |
| bool ProfileAttributeTrackOptions::nodeVolumeVisible | ( | ) | const |
| QPen ProfileAttributeTrackOptions::penFor | ( | openswmmvis::plot::PlotAttribute | a | ) | const |
| 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.
| void ProfileAttributeTrackOptions::setAttributeVisible | ( | openswmmvis::plot::PlotAttribute | a, |
| bool | on | ||
| ) |
| void ProfileAttributeTrackOptions::setEnvelopeOpacity | ( | double | opacity01 | ) |
| void ProfileAttributeTrackOptions::setEnvelopesVisible | ( | bool | on | ) |
| void ProfileAttributeTrackOptions::setLinkCapacityPen | ( | const QPen & | p | ) |
| void ProfileAttributeTrackOptions::setLinkCapacityVisible | ( | bool | on | ) |
| void ProfileAttributeTrackOptions::setLinkDepthPen | ( | const QPen & | p | ) |
| void ProfileAttributeTrackOptions::setLinkDepthVisible | ( | bool | on | ) |
| void ProfileAttributeTrackOptions::setLinkFlowPen | ( | const QPen & | p | ) |
| void ProfileAttributeTrackOptions::setLinkFlowVisible | ( | bool | on | ) |
| void ProfileAttributeTrackOptions::setLinkVelocityPen | ( | const QPen & | p | ) |
| void ProfileAttributeTrackOptions::setLinkVelocityVisible | ( | bool | on | ) |
| void ProfileAttributeTrackOptions::setLinkVolumePen | ( | const QPen & | p | ) |
| void ProfileAttributeTrackOptions::setLinkVolumeVisible | ( | bool | on | ) |
| void ProfileAttributeTrackOptions::setNodeDepthPen | ( | const QPen & | p | ) |
| void ProfileAttributeTrackOptions::setNodeDepthVisible | ( | bool | on | ) |
| void ProfileAttributeTrackOptions::setNodeHeadPen | ( | const QPen & | p | ) |
| void ProfileAttributeTrackOptions::setNodeHeadVisible | ( | bool | on | ) |
| void ProfileAttributeTrackOptions::setNodeLateralInflowPen | ( | const QPen & | p | ) |
| void ProfileAttributeTrackOptions::setNodeLateralInflowVisible | ( | bool | on | ) |
| void ProfileAttributeTrackOptions::setNodeOverflowPen | ( | const QPen & | p | ) |
| void ProfileAttributeTrackOptions::setNodeOverflowVisible | ( | bool | on | ) |
| void ProfileAttributeTrackOptions::setNodeTotalInflowPen | ( | const QPen & | p | ) |
| void ProfileAttributeTrackOptions::setNodeTotalInflowVisible | ( | bool | on | ) |
| void ProfileAttributeTrackOptions::setNodeVolumePen | ( | const QPen & | p | ) |
| void ProfileAttributeTrackOptions::setNodeVolumeVisible | ( | bool | on | ) |
| void ProfileAttributeTrackOptions::setPenFor | ( | openswmmvis::plot::PlotAttribute | a, |
| const QPen & | pen | ||
| ) |
| void ProfileAttributeTrackOptions::setShowTrackTitles | ( | bool | on | ) |
| void ProfileAttributeTrackOptions::setSpeciesTrackPenFor | ( | const QString & | species, |
| bool | nodeScope, | ||
| const QPen & | pen | ||
| ) |
| void ProfileAttributeTrackOptions::setSpeciesTrackVisible | ( | const QString & | species, |
| bool | nodeScope, | ||
| bool | on | ||
| ) |
| void ProfileAttributeTrackOptions::setTrackHeightPx | ( | int | px | ) |
|
inline |
| QPen ProfileAttributeTrackOptions::speciesTrackPenFor | ( | const QString & | species, |
| bool | nodeScope | ||
| ) | const |
|
inline |
| QVector< PlotAttribute > ProfileAttributeTrackOptions::visibleAttributes | ( | ) | const |
Visible attributes in canonical order (node attrs then link attrs, each in plotattribute.h presentation order).
| 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.
| void ProfileAttributeTrackOptions::writeTo | ( | QSettings & | s | ) | const |
Writes every property under the CURRENT group of s.
|
readwrite |
|
readwrite |
|
readwrite |
|
readwrite |
|
readwrite |
|
readwrite |
|
readwrite |
|
readwrite |
|
readwrite |
|
readwrite |
|
readwrite |
|
readwrite |
|
readwrite |
|
readwrite |
|
readwrite |
|
readwrite |
|
readwrite |
|
readwrite |
|
readwrite |
|
readwrite |
|
readwrite |
|
readwrite |
|
readwrite |
|
readwrite |
|
readwrite |
|
readwrite |