![]() |
SWMMVis
6.0.0-alpha.4
Qt6/C++ GIS-based graphical user interface for the SWMMVis engine (6.0.0-alpha.4)
|
Q_OBJECT facade for the attribute-tracks pane below the profile plot: which attributes are shown, how each is styled, and the pane-level chrome knobs. More...
#include "plot/plotattribute.h"#include <QHash>#include <QObject>#include <QPen>#include <QString>#include <QVector>Go to the source code of this file.
Classes | |
| class | ProfileAttributeTrackOptions |
Q_OBJECT facade for the attribute-tracks pane below the profile plot: which attributes are shown, how each is styled, and the pane-level chrome knobs.
Same pattern as ProfilePlotOptions: every knob is a Q_PROPERTY with the single changed() NOTIFY signal, so the toolbar attribute menu, the QPropertyModel-backed Display Options tree, and the tracks widget itself all edit/observe one instance and stay synchronized (CLAUDE.md §5.1) — no view writes another view's state directly.
Per-attribute state is a visibility bool + a pen for each of the 11 trackable attributes (6 node + 5 link). The generic accessors (isAttributeVisible / penFor / …) are what programmatic consumers use; the Q_PROPERTYs exist so QPropertyModel can edit the same state.