Singleton mapping SWMMModelLayer::DataCategory → comprehensive editor metadata + create-new dispatch.
More...
#include <comprehensiveeditorregistry.h>
Singleton mapping SWMMModelLayer::DataCategory → comprehensive editor metadata + create-new dispatch.
◆ OpenCreateFn
Invoked to open the editor in create-new mode.
- Parameters
-
| layer | Active project layer (non-null; entry is skipped if null). |
| undoStack | Optional canvas undo stack; nullptr is acceptable (editors that take an undo stack can pass it through; those that don't ignore the argument). |
| parent | QWidget parent for the spawned dialog. |
◆ editorTitle()
User-visible editor title, or empty when unregistered.
◆ find()
Returns nullptr when cat is unregistered.
◆ gapTooltip()
Tooltip for the disabled action on a gap category. Empty when hasEditor returns true or cat is unregistered.
◆ hasEditor()
True iff the entry for cat has a non-null openCreateNew.
◆ instance()
◆ registerEditor()
Insert or replace the entry for cat. Last-write-wins.
The documentation for this class was generated from the following files: