![]() |
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.4 — interactive cross-section preview chart. More...
#include <QChartView>#include <QPointer>#include <QPointF>Go to the source code of this file.
Classes | |
| class | openswmmvis::ui::TransectChartView |
Namespaces | |
| namespace | openswmmvis |
| namespace | openswmmvis::transect |
| namespace | openswmmvis::ui |
Slice BQ Phase 6.7.4 — interactive cross-section preview chart.
Subclasses QChartView (not InteractiveChartView — the existing modes Select/Pan/ZoomIn/ZoomOut don't compose with an EditPoints handle drag, and stacking two competing mouse-event regimes is more friction than value here). Implements the legacy Dprevplot.pas series set plus modern additions:
m_groundFill — semi-transparent fill below the bank linem_leftOverbankLine — from leftmost station to xLeftBankm_rightOverbankLine — from xRightBank to rightmost stationm_channelLine — slice between xLeftBank and xRightBankm_handles — one marker per station; the drag layerAlways-on: mouse-wheel zoom about cursor; middle-button drag = pan.
Toolbar / programmatic toggles:
Right-click emits contextMenuRequestedAt(globalPos) so the parent dialog can build a menu (Chart properties… / Zoom to extent / Reset zoom / Copy data… / Export PNG…).