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
HydrographGroupEditor Class Reference

#include <hydrographgroupeditor.h>

Inheritance diagram for HydrographGroupEditor:
Collaboration diagram for HydrographGroupEditor:

Public Slots

void beginNewGroup ()
 
static QString pickGroup (SWMMModelLayer *layer, const QString &initialName, QWidget *parent=nullptr)
 

Public Member Functions

 HydrographGroupEditor (SWMMModelLayer *layer, QWidget *parent=nullptr)
 
 ~HydrographGroupEditor () override
 
void openForGroup (const QString &name)
 

Protected Member Functions

void showEvent (QShowEvent *e) override
 

Constructor & Destructor Documentation

◆ HydrographGroupEditor()

HydrographGroupEditor::HydrographGroupEditor ( SWMMModelLayer layer,
QWidget *  parent = nullptr 
)
explicit
Here is the call graph for this function:

◆ ~HydrographGroupEditor()

HydrographGroupEditor::~HydrographGroupEditor ( )
overridedefault

Member Function Documentation

◆ 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.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ 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.

Here is the call graph for this function:

◆ showEvent()

void HydrographGroupEditor::showEvent ( QShowEvent *  e)
overrideprotected

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