SWMMVis  6.0.0-alpha.4
Qt6/C++ GIS-based graphical user interface for the SWMMVis engine (6.0.0-alpha.4)
Loading...
Searching...
No Matches
ProfilePathPickerDialog Class Reference

#include <profilepathpickerdialog.h>

Inheritance diagram for ProfilePathPickerDialog:
Collaboration diagram for ProfilePathPickerDialog:

Signals

void hoveredPathChanged (int index)
 Emitted whenever the focused/selected row changes — the host listens to update the map overlay's highlighted path. Index -1 means no row is focused.
 
void zoomToPathRequested (int index)
 Emitted on row double-click — the host listens to zoom the main map to that candidate path's extent.
 

Public Member Functions

 ProfilePathPickerDialog (SWMMModelLayer *model, const QVector< ProfileRouter::Path > &paths, bool truncated=false, QWidget *parent=nullptr)
 
int selectedPathIndex () const
 Index (0-based) of the path the user accepted, or -1 when the dialog was cancelled.
 

Constructor & Destructor Documentation

◆ ProfilePathPickerDialog()

ProfilePathPickerDialog::ProfilePathPickerDialog ( SWMMModelLayer model,
const QVector< ProfileRouter::Path > &  paths,
bool  truncated = false,
QWidget *  parent = nullptr 
)
Here is the call graph for this function:

Member Function Documentation

◆ hoveredPathChanged

void ProfilePathPickerDialog::hoveredPathChanged ( int  index)
signal

Emitted whenever the focused/selected row changes — the host listens to update the map overlay's highlighted path. Index -1 means no row is focused.

◆ selectedPathIndex()

int ProfilePathPickerDialog::selectedPathIndex ( ) const

Index (0-based) of the path the user accepted, or -1 when the dialog was cancelled.

◆ zoomToPathRequested

void ProfilePathPickerDialog::zoomToPathRequested ( int  index)
signal

Emitted on row double-click — the host listens to zoom the main map to that candidate path's extent.

Here is the caller graph for this function:

The documentation for this class was generated from the following files: