QGIS API Documentation 3.28.0-Firenze (ed3ad0430f)
|
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... | |
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... | |
Creates a new configuration widget for the relation editor widget.
Definition at line 278 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 932 of file qgsrelationeditorwidget.cpp.
|
virtual |
Create a configuration from the current GUI state.
Implements QgsAbstractRelationEditorConfigWidget.
Definition at line 938 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 957 of file qgsrelationeditorwidget.cpp.