QGIS API Documentation 3.41.0-Master (3440c17df1d)
|
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. | |
QVariantMap | config () override |
Create a configuration from the current GUI state. | |
void | mEditExpression_clicked () |
Opens an expression dialog and sets its value as filter expression for the linking dialog. | |
void | setConfig (const QVariantMap &config) override |
Update the configuration widget to represent the given configuration. | |
Public Member Functions inherited from QgsAbstractRelationEditorConfigWidget | |
QgsAbstractRelationEditorConfigWidget (const QgsRelation &relation, QWidget *parent) | |
Create a new configuration widget. | |
QgsVectorLayer * | layer () |
Returns the layer for which this configuration widget applies. | |
virtual QgsRelation | nmRelation () const |
Returns the nm relation for which this configuration widget applies. | |
QgsRelation | relation () const |
Returns the relation for which this configuration widget applies. | |
virtual void | setNmRelation (const QgsRelation &nmRelation) |
Set the nm relation for this widget. | |
Creates a new configuration widget for the relation editor widget.
Definition at line 283 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 962 of file qgsrelationeditorwidget.cpp.
|
overridevirtual |
Create a configuration from the current GUI state.
Implements QgsAbstractRelationEditorConfigWidget.
Definition at line 1005 of file qgsrelationeditorwidget.cpp.
void QgsRelationEditorConfigWidget::mEditExpression_clicked | ( | ) |
Opens an expression dialog and sets its value as filter expression for the linking dialog.
Definition at line 981 of file qgsrelationeditorwidget.cpp.
|
overridevirtual |
Update the configuration widget to represent the given configuration.
config | The configuration which should be represented by this widget |
Implements QgsAbstractRelationEditorConfigWidget.
Definition at line 1025 of file qgsrelationeditorwidget.cpp.