16#ifndef PROFILEPATHPICKERDIALOG_H
17#define PROFILEPATHPICKERDIALOG_H
25class QDialogButtonBox;
34 const QVector<ProfileRouter::Path> &
paths,
35 bool truncated =
false,
36 QWidget *
parent =
nullptr);
59 void onCurrentRowChanged(
int currentRow,
int previousRow);
63 void summarizePath(
int pathIdx,
67 double &dropOut)
const;
70 QVector<ProfileRouter::Path> m_paths;
71 QTableWidget *m_table =
nullptr;
72 QDialogButtonBox *m_buttons =
nullptr;
73 int m_selectedIdx = -1;
Definition profilepathpickerdialog.h:29
void zoomToPathRequested(int index)
Emitted on row double-click — the host listens to zoom the main map to that candidate path's extent.
int selectedPathIndex() const
Index (0-based) of the path the user accepted, or -1 when the dialog was cancelled.
Definition profilepathpickerdialog.cpp:119
void hoveredPathChanged(int index)
Emitted whenever the focused/selected row changes — the host listens to update the map overlay's high...
Renders the SWMM network elements (nodes, links, subcatchments, rain gages) for one OpenSWMMEngine mo...
Definition swmmmodellayer.h:133
int index
Position in m_quadRegions / m_quadReports.
Definition meshgenerator.cpp:153
Path-routing primitives over an abstract weighted graph, used by Slice BC's profile-path picker.
QVector< Path > paths
Definition pslgminsize.cpp:560
QVector< int > parent
union-find
Definition pslgminsize.cpp:176