![]() |
SWMMVis
6.0.0-alpha.4
Qt6/C++ GIS-based graphical user interface for the SWMMVis engine (6.0.0-alpha.4)
|
#include "ui/dialogs/import/importmapping.h"#include <QAbstractTableModel>#include <QStringList>#include <QStyledItemDelegate>Go to the source code of this file.
Classes | |
| class | openswmmvis::import::ImportMappingModel |
| class | openswmmvis::import::SourceFieldDelegate |
Namespaces | |
| namespace | openswmmvis |
| namespace | openswmmvis::import |
FEATURE_LAYER_TO_SWMM_IMPORT — QAbstractTableModel over the attribute mapping table. Rows = target attributes of the chosen kind; columns:
0 Target Attribute (read-only; bold + "•" marker when required) 1 Source Column (combo delegate over the layer's field names) 2 Default Value (free-text; coerced/validated by the planner)
The model owns nothing — it edits the ImportMapping value object in place (MVC: the mapping is the model state, this class adapts it to the view).