QGIS API Documentation 3.41.0-Master (fda2aa46e9a)
|
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. | |
Public Member Functions inherited from QgsAbstractRelationEditorWidgetFactory | |
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 327 of file qgsrelationeditorwidget.h.
QgsRelationEditorWidgetFactory::QgsRelationEditorWidgetFactory | ( | ) |
Definition at line 1036 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 1056 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 1051 of file qgsrelationeditorwidget.cpp.
|
overridevirtual |
Returns the human readable identifier name of this widget type.
Implements QgsAbstractRelationEditorWidgetFactory.
Definition at line 1046 of file qgsrelationeditorwidget.cpp.
|
overridevirtual |
Returns the machine readable identifier name of this widget type.
Implements QgsAbstractRelationEditorWidgetFactory.
Definition at line 1041 of file qgsrelationeditorwidget.cpp.