|
QGIS API Documentation 3.36.0-Maidenhead (09951dc0acf)
|
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 318 of file qgsrelationeditorwidget.h.
| QgsRelationEditorWidgetFactory::QgsRelationEditorWidgetFactory | ( | ) |
Definition at line 986 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 1006 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 1001 of file qgsrelationeditorwidget.cpp.
|
overridevirtual |
Returns the human readable identifier name of this widget type.
Implements QgsAbstractRelationEditorWidgetFactory.
Definition at line 996 of file qgsrelationeditorwidget.cpp.
|
overridevirtual |
Returns the machine readable identifier name of this widget type.
Implements QgsAbstractRelationEditorWidgetFactory.
Definition at line 991 of file qgsrelationeditorwidget.cpp.