QGIS API Documentation
3.20.0-Odense (decaadbb31)
|
Factory class for creating a relation editor widget and the respective config widget. More...
#include <qgsrelationeditorwidget.h>
Public Member Functions | |
QgsRelationEditorWidgetFactory () | |
QgsAbstractRelationEditorConfigWidget * | configWidget (const QgsRelation &relation, QWidget *parent) const override |
Override this in your implementation. More... | |
QgsAbstractRelationEditorWidget * | create (const QVariantMap &config, QWidget *parent=nullptr) const override |
Override this in your implementation. More... | |
QString | name () const override |
Returns the human readable identifier name of this widget type. More... | |
QString | type () const override |
Returns the machine readable identifier name of this widget type. More... | |
Public Member Functions inherited from QgsAbstractRelationEditorWidgetFactory | |
QgsAbstractRelationEditorWidgetFactory () | |
Creates a new relation widget factory with given name. More... | |
virtual | ~QgsAbstractRelationEditorWidgetFactory ()=default |
Factory class for creating a relation editor widget and the respective config widget.
Definition at line 284 of file qgsrelationeditorwidget.h.
QgsRelationEditorWidgetFactory::QgsRelationEditorWidgetFactory | ( | ) |
Definition at line 642 of file qgsrelationeditorwidget.cpp.
|
overridevirtual |
Override this in your implementation.
Create a new configuration widget for this widget type.
relation | The relation for which the widget will be created |
parent | The parent widget of the created config widget |
Implements QgsAbstractRelationEditorWidgetFactory.
Definition at line 662 of file qgsrelationeditorwidget.cpp.
|
overridevirtual |
Override this in your implementation.
Create a new relation widget. Call QgsEditorWidgetRegistry::create() instead of calling this method directly.
config | The widget configuration to build the widget with |
parent | The parent for the wrapper class and any created widget. |
Implements QgsAbstractRelationEditorWidgetFactory.
Definition at line 657 of file qgsrelationeditorwidget.cpp.
|
overridevirtual |
Returns the human readable identifier name of this widget type.
Implements QgsAbstractRelationEditorWidgetFactory.
Definition at line 652 of file qgsrelationeditorwidget.cpp.
|
overridevirtual |
Returns the machine readable identifier name of this widget type.
Implements QgsAbstractRelationEditorWidgetFactory.
Definition at line 647 of file qgsrelationeditorwidget.cpp.