|
QGIS API Documentation 3.36.0-Maidenhead (09951dc0acf)
|
Factory class for creating relation widgets and their corresponding config widgets. More...
#include <qgsabstractrelationeditorwidget.h>

Public Member Functions | |
| QgsAbstractRelationEditorWidgetFactory () | |
| Creates a new relation widget factory with given name. | |
| virtual | ~QgsAbstractRelationEditorWidgetFactory ()=default |
| virtual QgsAbstractRelationEditorConfigWidget * | configWidget (const QgsRelation &relation, QWidget *parent) const =0 |
| Override this in your implementation. | |
| virtual QgsAbstractRelationEditorWidget * | create (const QVariantMap &config, QWidget *parent=nullptr) const =0 |
| Override this in your implementation. | |
| virtual QString | name () const =0 |
| Returns the human readable identifier name of this widget type. | |
| virtual QString | type () const =0 |
| Returns the machine readable identifier name of this widget type. | |
Factory class for creating relation widgets and their corresponding config widgets.
Definition at line 424 of file qgsabstractrelationeditorwidget.h.
| QgsAbstractRelationEditorWidgetFactory::QgsAbstractRelationEditorWidgetFactory | ( | ) |
Creates a new relation widget factory with given name.
Definition at line 786 of file qgsabstractrelationeditorwidget.cpp.
|
virtualdefault |
|
pure virtual |
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 |
Implemented in QgsRelationEditorWidgetFactory.
|
pure virtual |
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. |
Implemented in QgsRelationEditorWidgetFactory.
|
pure virtual |
Returns the human readable identifier name of this widget type.
Implemented in QgsRelationEditorWidgetFactory.
|
pure virtual |
Returns the machine readable identifier name of this widget type.
Implemented in QgsRelationEditorWidgetFactory.