#include <interactivechartview.h>
|
| void | modeChanged (Mode m) |
| | Fired whenever the mode changes (toolbar reflection).
|
| |
| void | chartContextMenuRequested (const QPoint &globalPos) |
| | Fired on right-click. Carries global screen position so the parent dialog can pop its own row-aware context menu.
|
| |
| void | xRangeSelectionChanged (QDateTime lo, QDateTime hi) |
| | Slice AT.3 — Shift-drag X-range selection ended on this view. Carries selected [lo, hi] as QDateTimes. Passed to the StatsSummaryPanel to narrow stats. Empty (invalid, invalid) clears the selection.
|
| |
◆ AxisEdge
| Enumerator |
|---|
| None | |
| XMinimum | |
| XMaximum | |
| YMinimum | |
| YMaximum | |
◆ Mode
| Enumerator |
|---|
| Select | Default: events pass through; arrow cursor.
|
| Pan | Left-button drag → chart->scroll(-dx, dy); hand cursor.
|
| ZoomIn | Click = 2× in around cursor; drag-rect = zoom-to-rect.
|
| ZoomOut | Click = 0.5× out around cursor; drag-rect = inverse zoom.
|
◆ InteractiveChartView()
| openswmmvis::ui::InteractiveChartView::InteractiveChartView |
( |
QChart * |
chart, |
|
|
QWidget * |
parent = nullptr |
|
) |
| |
|
explicit |
◆ ~InteractiveChartView()
| openswmmvis::ui::InteractiveChartView::~InteractiveChartView |
( |
| ) |
|
|
overridedefault |
◆ axisEdgeAt()
Returns the editable min/max axis label under viewportPx, or AxisEdge::None when the point is not in an endpoint-label gutter.
◆ chartContextMenuRequested
| void openswmmvis::ui::InteractiveChartView::chartContextMenuRequested |
( |
const QPoint & |
globalPos | ) |
|
|
signal |
Fired on right-click. Carries global screen position so the parent dialog can pop its own row-aware context menu.
◆ keyPressEvent()
| void openswmmvis::ui::InteractiveChartView::keyPressEvent |
( |
QKeyEvent * |
e | ) |
|
|
overrideprotected |
◆ leaveEvent()
| void openswmmvis::ui::InteractiveChartView::leaveEvent |
( |
QEvent * |
e | ) |
|
|
overrideprotected |
◆ mode()
| Mode openswmmvis::ui::InteractiveChartView::mode |
( |
| ) |
const |
|
inlinenoexcept |
◆ modeChanged
| void openswmmvis::ui::InteractiveChartView::modeChanged |
( |
Mode |
m | ) |
|
|
signal |
Fired whenever the mode changes (toolbar reflection).
◆ mouseMoveEvent()
| void openswmmvis::ui::InteractiveChartView::mouseMoveEvent |
( |
QMouseEvent * |
e | ) |
|
|
overrideprotected |
◆ mousePressEvent()
| void openswmmvis::ui::InteractiveChartView::mousePressEvent |
( |
QMouseEvent * |
e | ) |
|
|
overrideprotected |
◆ mouseReleaseEvent()
| void openswmmvis::ui::InteractiveChartView::mouseReleaseEvent |
( |
QMouseEvent * |
e | ) |
|
|
overrideprotected |
◆ resetZoom()
| void openswmmvis::ui::InteractiveChartView::resetZoom |
( |
| ) |
|
Reset zoom to whatever the chart's initial zoom level was. Equivalent to chart()->zoomReset() plus a notify so parents that track range can resync.
◆ setAxisEdgeValue()
| bool openswmmvis::ui::InteractiveChartView::setAxisEdgeValue |
( |
AxisEdge |
edge, |
|
|
const QVariant & |
value |
|
) |
| |
Programmatically set one visible axis edge. Numeric axes accept a numeric QVariant; date-time axes accept QDateTime.
◆ setMode()
| void openswmmvis::ui::InteractiveChartView::setMode |
( |
Mode |
m | ) |
|
◆ wheelEvent()
| void openswmmvis::ui::InteractiveChartView::wheelEvent |
( |
QWheelEvent * |
e | ) |
|
|
overrideprotected |
◆ xRangeSelectionChanged
| void openswmmvis::ui::InteractiveChartView::xRangeSelectionChanged |
( |
QDateTime |
lo, |
|
|
QDateTime |
hi |
|
) |
| |
|
signal |
Slice AT.3 — Shift-drag X-range selection ended on this view. Carries selected [lo, hi] as QDateTimes. Passed to the StatsSummaryPanel to narrow stats. Empty (invalid, invalid) clears the selection.
The documentation for this class was generated from the following files: