#include <classificationeditor.h>
◆ ClassificationEditor()
| openswmmvis::ui::ClassificationEditor::ClassificationEditor |
( |
IClassificationBinding * |
binding, |
|
|
bool |
ownBinding = false, |
|
|
QWidget * |
parent = nullptr |
|
) |
| |
|
explicit |
- Parameters
-
| binding | Adapter onto the classified model. The editor does NOT take ownership unless ownBinding is true. |
◆ ~ClassificationEditor()
| openswmmvis::ui::ClassificationEditor::~ClassificationEditor |
( |
| ) |
|
|
override |
◆ 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.
◆ 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.
The documentation for this class was generated from the following files: