QGIS API Documentation 3.39.0-Master (9ea1ddbe645)
|
Widget auto conf plugin that guesses what widget type to use in function of what the widgets support. More...
Public Member Functions | |
QgsEditorWidgetSetup | editorWidgetSetup (const QgsVectorLayer *vl, const QString &fieldName, int &score) const override |
Typical scores are: | |
![]() | |
virtual | ~QgsEditorWidgetAutoConfPlugin ()=default |
Widget auto conf plugin that guesses what widget type to use in function of what the widgets support.
Definition at line 27 of file qgseditorwidgetautoconf.cpp.
|
inlineoverridevirtual |
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) |
Implements QgsEditorWidgetAutoConfPlugin.
Definition at line 30 of file qgseditorwidgetautoconf.cpp.