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
openswmmvis::ui::InfilAssignToSelectionDialog Class Reference

#include <infilassigntoselectiondialog.h>

Inheritance diagram for openswmmvis::ui::InfilAssignToSelectionDialog:
Collaboration diagram for openswmmvis::ui::InfilAssignToSelectionDialog:

Public Member Functions

 InfilAssignToSelectionDialog (SWMM2DMeshLayer *meshLayer, MapCanvas *canvas, SelectionManager *selection, const QString &depthUnitLabel, QWidget *parent=nullptr)
 
void rebind (SWMM2DMeshLayer *meshLayer, MapCanvas *canvas, SelectionManager *selection, const QString &depthUnitLabel)
 Point the dialog at another project's mesh / canvas / selection.
 

Static Public Member Functions

static void showFor (SWMM2DMeshLayer *meshLayer, MapCanvas *canvas, SelectionManager *selection, const QString &depthUnitLabel, QWidget *parent)
 Create-or-raise the one instance, bound to meshLayer.
 

Constructor & Destructor Documentation

◆ InfilAssignToSelectionDialog()

openswmmvis::ui::InfilAssignToSelectionDialog::InfilAssignToSelectionDialog ( SWMM2DMeshLayer meshLayer,
MapCanvas canvas,
SelectionManager selection,
const QString &  depthUnitLabel,
QWidget *  parent = nullptr 
)
Here is the call graph for this function:

Member Function Documentation

◆ rebind()

void openswmmvis::ui::InfilAssignToSelectionDialog::rebind ( SWMM2DMeshLayer meshLayer,
MapCanvas canvas,
SelectionManager selection,
const QString &  depthUnitLabel 
)

Point the dialog at another project's mesh / canvas / selection.

Here is the call graph for this function:

◆ showFor()

void openswmmvis::ui::InfilAssignToSelectionDialog::showFor ( SWMM2DMeshLayer meshLayer,
MapCanvas canvas,
SelectionManager selection,
const QString &  depthUnitLabel,
QWidget *  parent 
)
static

Create-or-raise the one instance, bound to meshLayer.

Re-binds an existing instance to the (possibly different) layer / canvas / selection before raising it, so switching project windows cannot leave the dialog writing into the previous project's mesh.


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