QGIS API Documentation 3.39.0-Master (93ce9bf5c90)
|
Base class for plugins allowing to pick automatically a widget type for editing fields. More...
#include <qgseditorwidgetautoconf.h>
Public Member Functions | |
virtual | ~QgsEditorWidgetAutoConfPlugin ()=default |
virtual QgsEditorWidgetSetup | editorWidgetSetup (const QgsVectorLayer *vl, const QString &fieldName, int &score) const =0 |
Typical scores are: | |
Base class for plugins allowing to pick automatically a widget type for editing fields.
Definition at line 31 of file qgseditorwidgetautoconf.h.
|
virtualdefault |
|
pure virtual |
Typical scores are:
vl | The vector layer for which this widget will be created |
fieldName | The field name on the specified layer for which this widget will be created |
score | Where the score is returned (default to 0) |
Implemented in FromFactoriesPlugin, and FromDbTablePlugin.