QGIS API Documentation 3.28.0-Firenze (ed3ad0430f)
|
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 |
virtual QgsAbstractRelationEditorConfigWidget * | configWidget (const QgsRelation &relation, QWidget *parent) const =0 |
Override this in your implementation. More... | |
virtual QgsAbstractRelationEditorWidget * | create (const QVariantMap &config, QWidget *parent=nullptr) const =0 |
Override this in your implementation. More... | |
virtual QString | name () const =0 |
Returns the human readable identifier name of this widget type. More... | |
virtual QString | type () const =0 |
Returns the machine readable identifier name of this widget type. More... | |
Factory class for creating a relation editor widget and the respective config widget.
Definition at line 318 of file qgsrelationeditorwidget.h.
QgsRelationEditorWidgetFactory::QgsRelationEditorWidgetFactory | ( | ) |
Definition at line 977 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 997 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 992 of file qgsrelationeditorwidget.cpp.
|
overridevirtual |
Returns the human readable identifier name of this widget type.
Implements QgsAbstractRelationEditorWidgetFactory.
Definition at line 987 of file qgsrelationeditorwidget.cpp.
|
overridevirtual |
Returns the machine readable identifier name of this widget type.
Implements QgsAbstractRelationEditorWidgetFactory.
Definition at line 982 of file qgsrelationeditorwidget.cpp.