40#ifndef OPENSWMMVIS_UI_DIALOGS_INFILASSIGNTOSELECTIONDIALOG_H
41#define OPENSWMMVIS_UI_DIALOGS_INFILASSIGNTOSELECTIONDIALOG_H
75 const QString &depthUnitLabel,
81 const QString &depthUnitLabel,
82 QWidget *
parent =
nullptr);
88 const QString &depthUnitLabel);
91 void onMethodChanged();
93 void onSelectionChanged();
103 [[nodiscard]] QVector<int> selectedCells()
const;
107 [[nodiscard]] QString commonTag()
const;
117 void refreshParamFields();
121 void refreshSelectionState();
123 QPointer<SWMM2DMeshLayer> m_mesh;
124 QPointer<MapCanvas> m_canvas;
125 QPointer<SelectionManager> m_selection;
126 QString m_depthUnitLabel;
128 QLabel *m_selectionLbl =
nullptr;
129 QComboBox *m_methodCombo =
nullptr;
132 QComboBox *m_destCombo =
nullptr;
133 QRadioButton *m_writeCells =
nullptr;
134 QRadioButton *m_writeTag =
nullptr;
135 QLabel *m_statusLbl =
nullptr;
136 QPushButton *m_applyBtn =
nullptr;
The central map display widget — QGIS-style hybrid rendering.
Definition mapcanvas.h:63
Definition swmm2dmeshlayer.h:64
Owner of the canonical selection set for one SWMM project.
Definition selectionmanager.h:112
Definition infilassigntoselectiondialog.h:63
static void showFor(SWMM2DMeshLayer *meshLayer, MapCanvas *canvas, SelectionManager *selection, const QString &depthUnitLabel, QWidget *parent)
Create-or-raise the one instance, bound to meshLayer.
Definition infilassigntoselectiondialog.cpp:34
void rebind(SWMM2DMeshLayer *meshLayer, MapCanvas *canvas, SelectionManager *selection, const QString &depthUnitLabel)
Point the dialog at another project's mesh / canvas / selection.
Definition infilassigntoselectiondialog.cpp:84
Per-cell 2D infiltration: value types, tag/override resolution and method↔parameter masks.
InfilMethod
Definition meshinfil.h:61
constexpr int kInfilMaxParams
Definition meshinfil.h:79
Definition openswmmvislayer.h:43
QVector< int > parent
union-find
Definition pslgminsize.cpp:176
One infiltration specification: method + positional parameters + destination.
Definition meshinfil.h:98