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
openswmmvis::ui::ClassificationEditor Class Reference

#include <classificationeditor.h>

Inheritance diagram for openswmmvis::ui::ClassificationEditor:
Collaboration diagram for openswmmvis::ui::ClassificationEditor:

Signals

void edited ()
 

Public Member Functions

 ClassificationEditor (IClassificationBinding *binding, bool ownBinding=false, QWidget *parent=nullptr)
 
 ~ClassificationEditor () override
 
void setBinding (IClassificationBinding *binding, bool ownBinding=false)
 
void refresh ()
 

Constructor & Destructor Documentation

◆ ClassificationEditor()

openswmmvis::ui::ClassificationEditor::ClassificationEditor ( IClassificationBinding binding,
bool  ownBinding = false,
QWidget *  parent = nullptr 
)
explicit
Parameters
bindingAdapter onto the classified model. The editor does NOT take ownership unless ownBinding is true.
Here is the call graph for this function:

◆ ~ClassificationEditor()

openswmmvis::ui::ClassificationEditor::~ClassificationEditor ( )
override

Member Function Documentation

◆ edited

void openswmmvis::ui::ClassificationEditor::edited ( )
signal

Emitted after any edit has been pushed to the binding — hosts that show a live legend swatch or derived UI can refresh on this.

◆ refresh()

void openswmmvis::ui::ClassificationEditor::refresh ( )

Re-read every control from the binding's current scheme. Call after an external change / Cancel rollback.

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

◆ setBinding()

void openswmmvis::ui::ClassificationEditor::setBinding ( IClassificationBinding binding,
bool  ownBinding = false 
)

Swap the bound model (e.g. when the host re-targets the editor). Takes ownership when ownBinding is true.

Here is the call graph for this function:

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