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
importmappingmodel.h File Reference
#include "ui/dialogs/import/importmapping.h"
#include <QAbstractTableModel>
#include <QStringList>
#include <QStyledItemDelegate>
Include dependency graph for importmappingmodel.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  openswmmvis::import::ImportMappingModel
 
class  openswmmvis::import::SourceFieldDelegate
 

Namespaces

namespace  openswmmvis
 
namespace  openswmmvis::import
 

Detailed Description

Author
Caleb Buahin caleb.nosp@m..bua.nosp@m.hin@g.nosp@m.mail.nosp@m..com
Date
2026
License\n GPL-3.0-or-later

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).