| QGIS API Documentation
    3.20.0-Odense (decaadbb31)
    | 
Utility classes for "en masse" size definition. More...
#include <qgsrendererwidget.h>

| Public Slots | |
| void | dataDefinedChanged () | 
| Public Member Functions | |
| QgsDataDefinedValueDialog (const QList< QgsSymbol * > &symbolList, QgsVectorLayer *layer, const QString &label) | |
| Constructor.  More... | |
| QgsSymbolWidgetContext | context () const | 
| Returns the context in which the symbol widget is shown, e.g., the associated map canvas and expression contexts.  More... | |
| void | setContext (const QgsSymbolWidgetContext &context) | 
| Sets the context in which the symbol widget is shown, e.g., the associated map canvas and expression contexts.  More... | |
| const QgsVectorLayer * | vectorLayer () const | 
| Returns the vector layer associated with the widget.  More... | |
|  Public Member Functions inherited from QgsExpressionContextGenerator | |
| virtual | ~QgsExpressionContextGenerator ()=default | 
| Protected Member Functions | |
| void | init (int propertyKey) | 
| Should be called in the constructor of child classes.  More... | |
Utility classes for "en masse" size definition.
Definition at line 216 of file qgsrendererwidget.h.
| QgsDataDefinedValueDialog::QgsDataDefinedValueDialog | ( | const QList< QgsSymbol * > & | symbolList, | 
| QgsVectorLayer * | layer, | ||
| const QString & | label | ||
| ) | 
Constructor.
| symbolList | must not be empty | 
| layer | must not be nullptr | 
| label | value label | 
Definition at line 396 of file qgsrendererwidget.cpp.
| QgsSymbolWidgetContext QgsDataDefinedValueDialog::context | ( | ) | const | 
Returns the context in which the symbol widget is shown, e.g., the associated map canvas and expression contexts.
Definition at line 411 of file qgsrendererwidget.cpp.
| 
 | slot | 
Definition at line 487 of file qgsrendererwidget.cpp.
| 
 | protected | 
Should be called in the constructor of child classes.
Definition at line 450 of file qgsrendererwidget.cpp.
| void QgsDataDefinedValueDialog::setContext | ( | const QgsSymbolWidgetContext & | context | ) | 
Sets the context in which the symbol widget is shown, e.g., the associated map canvas and expression contexts.
| context | symbol widget context | 
Definition at line 406 of file qgsrendererwidget.cpp.
| 
 | inline | 
Returns the vector layer associated with the widget.
Definition at line 250 of file qgsrendererwidget.h.