QGIS API Documentation
3.20.0-Odense (decaadbb31)
|
Creates a new configuration widget for the relation editor widget. More...
#include <qgsrelationeditorwidget.h>
Public Member Functions | |
QgsRelationEditorConfigWidget (const QgsRelation &relation, QWidget *parent) | |
Create a new configuration widget. More... | |
QVariantMap | config () |
Create a configuration from the current GUI state. More... | |
void | setConfig (const QVariantMap &config) |
Update the configuration widget to represent the given configuration. More... | |
Public Member Functions inherited from QgsAbstractRelationEditorConfigWidget | |
QgsAbstractRelationEditorConfigWidget (const QgsRelation &relation, QWidget *parent) | |
Create a new configuration widget. 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 | setNmRelation (const QgsRelation &nmRelation) |
Set the nm relation for this widget. More... | |
Creates a new configuration widget for the relation editor widget.
Definition at line 244 of file qgsrelationeditorwidget.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 601 of file qgsrelationeditorwidget.cpp.
|
virtual |
Create a configuration from the current GUI state.
Implements QgsAbstractRelationEditorConfigWidget.
Definition at line 607 of file qgsrelationeditorwidget.cpp.
|
virtual |
Update the configuration widget to represent the given configuration.
config | The configuration which should be represented by this widget |
Implements QgsAbstractRelationEditorConfigWidget.
Definition at line 624 of file qgsrelationeditorwidget.cpp.