![]() |
SWMMVis
6.0.0-alpha.4
Qt6/C++ GIS-based graphical user interface for the SWMMVis engine (6.0.0-alpha.4)
|
Go to the source code of this file.
Classes | |
| class | DataObjectPickerEditor |
Slice DA.4.3 — Custom cell editor widget for DataObjectRef.
Registered against the DataObjectRef metatype via QPropertyItemDelegate::registerCustomTypeEditorCreator. Renders a LabeledPickerCombo (combobox + "…" button) filtered by ref.kind. Picking an item updates value() so the delegate writes back through the adapter's WRITE slot (e.g. setOutfallTidalCurveRef). Clicking the "…" button opens a creation flow.
Per Slice BM.0-Add-New (2026-05-24): "…" prompts the user for a name and commits via SWMMModelLayer::createDataObject for categories with a complex MVC editor (Time Series, Unit Hydrographs). For gap categories (Curves, Patterns), the picker surfaces the tooltip naming the future editor slice instead. Once those editor slices ship, the picker will dispatch through the same ObjectBrowserPanel::launchAddNewEditor path as Add-New.