QGIS API Documentation 3.37.0-Master (fdefdf9c27f)
Public Slots | Public Member Functions | Protected Member Functions | List of all members
QgsDataDefinedValueDialog Class Referenceabstract

Utility classes for "en masse" size definition. More...

#include <qgsrendererwidget.h>

Inheritance diagram for QgsDataDefinedValueDialog:
Inheritance graph
[legend]

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 QgsVectorLayervectorLayer () const
 Returns the vector layer associated with the widget. More...
 
- Public Member Functions inherited from QgsExpressionContextGenerator
virtual ~QgsExpressionContextGenerator ()=default
 
virtual QgsExpressionContext createExpressionContext () const =0
 This method needs to be reimplemented in all classes which implement this interface and return an expression context. More...
 

Protected Member Functions

void init (int propertyKey)
 Should be called in the constructor of child classes. More...
 

Detailed Description

Utility classes for "en masse" size definition.

Definition at line 212 of file qgsrendererwidget.h.

Constructor & Destructor Documentation

◆ QgsDataDefinedValueDialog()

QgsDataDefinedValueDialog::QgsDataDefinedValueDialog ( const QList< QgsSymbol * > &  symbolList,
QgsVectorLayer layer,
const QString &  label 
)

Constructor.

Parameters
symbolListmust not be empty
layermust not be nullptr
labelvalue label

Definition at line 395 of file qgsrendererwidget.cpp.

Member Function Documentation

◆ context()

QgsSymbolWidgetContext QgsDataDefinedValueDialog::context ( ) const

Returns the context in which the symbol widget is shown, e.g., the associated map canvas and expression contexts.

See also
setContext()

Definition at line 410 of file qgsrendererwidget.cpp.

◆ dataDefinedChanged

void QgsDataDefinedValueDialog::dataDefinedChanged ( )
slot

Definition at line 486 of file qgsrendererwidget.cpp.

◆ init()

void QgsDataDefinedValueDialog::init ( int  propertyKey)
protected

Should be called in the constructor of child classes.

Note
May be missing Python bindings depending on the platform.

Definition at line 449 of file qgsrendererwidget.cpp.

◆ setContext()

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.

Parameters
contextsymbol widget context
See also
context()

Definition at line 405 of file qgsrendererwidget.cpp.

◆ vectorLayer()

const QgsVectorLayer * QgsDataDefinedValueDialog::vectorLayer ( ) const
inline

Returns the vector layer associated with the widget.

Definition at line 243 of file qgsrendererwidget.h.


The documentation for this class was generated from the following files: