QGIS API Documentation 3.39.0-Master (9ea1ddbe645)
|
#include <qgsrelationreferenceconfigdlg.h>
Public Member Functions | |
QgsRelationReferenceConfigDlg (QgsVectorLayer *vl, int fieldIdx, QWidget *parent) | |
QVariantMap | config () override |
Create a configuration from the current GUI state. | |
void | setConfig (const QVariantMap &config) override |
Update the configuration widget to represent the given configuration. | |
![]() | |
QgsEditorConfigWidget (QgsVectorLayer *vl, int fieldIdx, QWidget *parent) | |
Create a new configuration widget. | |
QgsExpressionContext | createExpressionContext () const override |
This method needs to be reimplemented in all classes which implement this interface and return an expression context. | |
int | field () |
Returns the field for which this configuration widget applies. | |
QgsVectorLayer * | layer () |
Returns the layer for which this configuration widget applies. | |
![]() | |
virtual | ~QgsExpressionContextGenerator ()=default |
Friends | |
class | TestQgsRelationReferenceWidget |
Additional Inherited Members | |
![]() | |
void | changed () |
Emitted when the configuration of the widget is changed. | |
![]() | |
void | initializeDataDefinedButton (QgsPropertyOverrideButton *button, QgsWidgetWrapper::Property key) |
Registers a property override button, setting up its initial value, connections and description. | |
void | updateDataDefinedButton (QgsPropertyOverrideButton *button) |
Updates a specific property override button to reflect the widgets's current properties. | |
void | updateDataDefinedButtons () |
Updates all property override buttons to reflect the widgets's current properties. | |
![]() | |
QgsPropertyCollection | mPropertyCollection |
Temporary property collection for config widgets. | |
Definition at line 33 of file qgsrelationreferenceconfigdlg.h.
|
explicit |
Definition at line 26 of file qgsrelationreferenceconfigdlg.cpp.
|
overridevirtual |
Create a configuration from the current GUI state.
Implements QgsEditorConfigWidget.
Definition at line 192 of file qgsrelationreferenceconfigdlg.cpp.
|
overridevirtual |
Update the configuration widget to represent the given configuration.
config | The configuration which should be represented by this widget |
Implements QgsEditorConfigWidget.
Definition at line 103 of file qgsrelationreferenceconfigdlg.cpp.
|
friend |
Definition at line 61 of file qgsrelationreferenceconfigdlg.h.