#include <labelconfigeditor.h>
◆ LabelConfigEditor()
| openswmmvis::ui::LabelConfigEditor::LabelConfigEditor |
( |
QWidget * |
parent = nullptr | ) |
|
|
explicit |
◆ config()
| LabelConfig openswmmvis::ui::LabelConfigEditor::config |
( |
| ) |
const |
◆ configChanged
Emitted after any user edit, carrying the full edited value.
◆ setAvailableFields()
The layer's themeable attributes for this sublayer's category.
Drives the Field and Priority-field pickers (which are combos,
not free text — a mistyped field name silently produces blank
labels) and the Expression builder's field list. Priority only
offers numeric fields, since it is sorted on. Both combos stay
editable so a name this layer no longer advertises — a legacy
project, a renamed result variable — survives a round trip
instead of being erased on open.
Pass an empty list when the host implements no
IAttributeProvider; the combos then hold whatever the config
carries and behave like the old free-text fields.
◆ setConfig()
Seed every control from cfg without emitting configChanged.
The documentation for this class was generated from the following files: