16 #ifndef QGSVALUEMAPCONFIGDLG_H
17 #define QGSVALUEMAPCONFIGDLG_H
19 #include "ui_qgsvaluemapconfigdlgbase.h"
40 QVariantMap
config()
override;
41 void setConfig(
const QVariantMap &config )
override;
50 void updateMap(
const QMap<QString, QVariant> &map,
bool insertNull );
59 void updateMap(
const QList<QPair<QString, QVariant>> &list,
bool insertNull );
66 void loadMapFromCSV(
const QString &filePath );
75 static void populateComboBox( QComboBox *comboBox,
const QVariantMap &configuration,
bool skipNull );
77 bool eventFilter( QObject *watched, QEvent *event )
override;
80 void setRow(
int row,
const QString &value,
const QString &description );
83 void copySelectionToClipboard();
84 void vCellChanged(
int row,
int column );
85 void addNullButtonPushed();
86 void removeSelectedButtonPushed();
87 void loadFromLayerButtonPushed();
88 void loadFromCSVButtonPushed();
Represents a vector layer which manages a vector based data sets.