| QGIS API Documentation
    3.20.0-Odense (decaadbb31)
    | 
This class should be subclassed for every configurable relation widget type. More...
#include <qgsabstractrelationeditorwidget.h>

| Public Member Functions | |
| QgsAbstractRelationEditorConfigWidget (const QgsRelation &relation, QWidget *parent) | |
| Create a new configuration widget.  More... | |
| virtual QVariantMap | config ()=0 | 
| Create a configuration from the current GUI state.  More... | |
| QgsVectorLayer * | layer () | 
| Returns the layer for which this configuration widget applies.  More... | |
| virtual QgsRelation | nmRelation () const | 
| Returns the nm relation for which this configuration widget applies.  More... | |
| QgsRelation | relation () const | 
| Returns the relation for which this configuration widget applies.  More... | |
| virtual void | setConfig (const QVariantMap &config)=0 | 
| Update the configuration widget to represent the given configuration.  More... | |
| virtual void | setNmRelation (const QgsRelation &nmRelation) | 
| Set the nm relation for this widget.  More... | |
This class should be subclassed for every configurable relation widget type.
It implements the GUI configuration widget and transforms this to/from a configuration.
It will only be instantiated by {
Definition at line 310 of file qgsabstractrelationeditorwidget.h.
| 
 | explicit | 
Create a new configuration widget.
| relation | The relation for which the configuration dialog will be created | 
| parent | A parent widget | 
Definition at line 638 of file qgsabstractrelationeditorwidget.cpp.
| 
 | pure virtual | 
Create a configuration from the current GUI state.
Implemented in QgsRelationEditorConfigWidget.
| QgsVectorLayer * QgsAbstractRelationEditorConfigWidget::layer | ( | ) | 
Returns the layer for which this configuration widget applies.
Definition at line 644 of file qgsabstractrelationeditorwidget.cpp.
| 
 | virtual | 
Returns the nm relation for which this configuration widget applies.
Definition at line 659 of file qgsabstractrelationeditorwidget.cpp.
| QgsRelation QgsAbstractRelationEditorConfigWidget::relation | ( | ) | const | 
Returns the relation for which this configuration widget applies.
Definition at line 649 of file qgsabstractrelationeditorwidget.cpp.
| 
 | pure virtual | 
Update the configuration widget to represent the given configuration.
| config | The configuration which should be represented by this widget | 
Implemented in QgsRelationEditorConfigWidget.
| 
 | virtual | 
Set the nm relation for this widget.
| nmRelation | The nm relation | 
Definition at line 654 of file qgsabstractrelationeditorwidget.cpp.