![]() |
SWMMVis
6.0.0-alpha.4
Qt6/C++ GIS-based graphical user interface for the SWMMVis engine (6.0.0-alpha.4)
|
Slice BQ Phase 6.7.1 — QAbstractTableModel over one CurveProvider. More...
#include <QAbstractTableModel>#include <QPointer>Go to the source code of this file.
Classes | |
| class | openswmmvis::ui::CurvePointTableModel |
Namespaces | |
| namespace | openswmmvis |
| namespace | openswmmvis::curve |
| namespace | openswmmvis::ui |
Slice BQ Phase 6.7.1 — QAbstractTableModel over one CurveProvider.
Schema: 2 columns (X / Y) by N rows. Horizontal header text is type-driven via CurveProvider::xLabel(type) / yLabel(type) so the grid reads "Depth | Surface Area" or "Head | Flow" or "Volume | Flow" etc.
setData routes through CurveProvider::setYAt (Y-only edit, X locked to preserve monotonicity) or setPointAt (X edit — validated against neighbours). The provider's mutationRejected signal surfaces UI errors.
Subscribes to the provider's pointsChanged / pointsInserted / pointsRemoved / typeChanged signals so external mutations refresh the view automatically.