| QGIS API Documentation
    3.20.0-Odense (decaadbb31)
    | 
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:  More... | |
Base class for plugins allowing to pick automatically a widget type for editing fields.
Definition at line 32 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 FromDbTablePlugin, and FromFactoriesPlugin.