QGIS API Documentation 3.39.0-Master (9ea1ddbe645)
|
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. | |
QgsAbstractRelationEditorWidget * | create (const QVariantMap &config, QWidget *parent=nullptr) const override |
Override this in your implementation. | |
QString | name () const override |
Returns the human readable identifier name of this widget type. | |
QString | type () const override |
Returns the machine readable identifier name of this widget type. | |
![]() | |
QgsAbstractRelationEditorWidgetFactory () | |
Creates a new relation widget factory with given name. | |
virtual | ~QgsAbstractRelationEditorWidgetFactory ()=default |
Factory class for creating a relation editor widget and the respective config widget.
Definition at line 324 of file qgsrelationeditorwidget.h.
QgsRelationEditorWidgetFactory::QgsRelationEditorWidgetFactory | ( | ) |
Definition at line 1035 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 1055 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 1050 of file qgsrelationeditorwidget.cpp.
|
overridevirtual |
Returns the human readable identifier name of this widget type.
Implements QgsAbstractRelationEditorWidgetFactory.
Definition at line 1045 of file qgsrelationeditorwidget.cpp.
|
overridevirtual |
Returns the machine readable identifier name of this widget type.
Implements QgsAbstractRelationEditorWidgetFactory.
Definition at line 1040 of file qgsrelationeditorwidget.cpp.