#include <hydrographgroupeditor.h>
◆ HydrographGroupEditor()
| HydrographGroupEditor::HydrographGroupEditor |
( |
SWMMModelLayer * |
layer, |
|
|
QWidget * |
parent = nullptr |
|
) |
| |
|
explicit |
◆ ~HydrographGroupEditor()
| HydrographGroupEditor::~HydrographGroupEditor |
( |
| ) |
|
|
overridedefault |
◆ beginNewGroup
| void HydrographGroupEditor::beginNewGroup |
( |
| ) |
|
|
slot |
Slice BM.0-Add-New — bring the dialog forward and trigger the same name-prompt + create flow the left-pane "New" button drives. External Add-New entrypoints (Object Browser Data section, future Data menu) call this instead of poking m_addBtn directly.
◆ openForGroup()
| void HydrographGroupEditor::openForGroup |
( |
const QString & |
name | ) |
|
Select name in the groups list and make sure the dialog is visible / raised. No-op if the group doesn't exist.
◆ pickGroup
| QString HydrographGroupEditor::pickGroup |
( |
SWMMModelLayer * |
layer, |
|
|
const QString & |
initialName, |
|
|
QWidget * |
parent = nullptr |
|
) |
| |
|
staticslot |
Run the editor as a modal "pick a unit hydrograph" dialog. Opens pre-selected on initialName (or the first group if empty), lets the user create / edit / pick a group with full MVC sync, then returns the currently-highlighted group's name on accept (Apply, OK, or Close). Returns empty string if the user dismissed without any selection. Use this from the RDII picker's browse button.
◆ showEvent()
| void HydrographGroupEditor::showEvent |
( |
QShowEvent * |
e | ) |
|
|
overrideprotected |
The documentation for this class was generated from the following files: