![]() |
SWMMVis
6.0.0-alpha.4
Qt6/C++ GIS-based graphical user interface for the SWMMVis engine (6.0.0-alpha.4)
|
Attribute-tracks pane: N stacked mini-charts ("tracks"), one per selected result attribute, sharing the profile plot's x-axis. More...
#include "plot/plotattribute.h"#include "plot/profileattributesampler.h"#include <QPen>#include <QPointer>#include <QString>#include <QVector>#include <QWidget>#include <functional>#include <memory>Go to the source code of this file.
Classes | |
| class | ProfileAttributeTracksWidget |
| struct | ProfileAttributeTracksWidget::SourceProfile |
| struct | ProfileAttributeTracksWidget::Track |
Attribute-tracks pane: N stacked mini-charts ("tracks"), one per selected result attribute, sharing the profile plot's x-axis.
Same technology as ProfilePlotWidget — plain QWidget + QPainter — because pixel-exact column alignment with the profile above is the whole point: the pane adopts the profile's left/right gutters and its virtual-chainage x quantity, and the two stay locked through zoom/pan via setVisibleXRange() / visibleXRangeChanged().
Data model: the host dialog pushes fully-resolved Tracks (title, pen, per-source sampled profiles). The widget owns no fetching, no layers, no attribute knowledge beyond node-vs-link rendering:
Animation: setCurrentPeriod() indexes the pre-fetched arrays — nothing is fetched per frame (fetch-once / index-per-frame, the 2D-profile pattern).