QGIS API Documentation
3.14.0-Pi (9f7028fd23)
|
Go to the documentation of this file.
39 return new QgsTextEditConfigDlg( vl, fieldIdx, parent );
QgsTextEditWidgetFactory(const QString &name)
Constructor for QgsTextEditWidgetFactory, where name is a human-readable name for the factory.
QgsSearchWidgetWrapper * createSearchWidget(QgsVectorLayer *vl, int fieldIdx, QWidget *parent) const override
By default a simple QgsFilterLineEdit is returned as search widget.
QgsEditorWidgetWrapper * create(QgsVectorLayer *vl, int fieldIdx, QWidget *editor, QWidget *parent) const override
Override this in your implementation.
QgsEditorConfigWidget * configWidget(QgsVectorLayer *vl, int fieldIdx, QWidget *parent) const override
Override this in your implementation.
unsigned int fieldScore(const QgsVectorLayer *vl, int fieldIdx) const override
This method allows disabling this editor widget type for a certain field.