QGIS API Documentation  3.2.0-Bonn (bc43194)
Public Member Functions | Protected Member Functions | List of all members
QgsDataDefinedSizeDialog Class Reference

#include <qgsrendererwidget.h>

Inheritance diagram for QgsDataDefinedSizeDialog:
Inheritance graph
[legend]

Public Member Functions

 QgsDataDefinedSizeDialog (const QList< QgsSymbol *> &symbolList, QgsVectorLayer *layer)
 
- Public Member Functions inherited from QgsDataDefinedValueDialog
 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 setDataDefined (QgsSymbol *symbol, const QgsProperty &dd) override
 
QgsProperty symbolDataDefined (const QgsSymbol *symbol) const override
 
double value (const QgsSymbol *symbol) const override
 
- Protected Member Functions inherited from QgsDataDefinedValueDialog
void init (int propertyKey)
 Should be called in the constructor of child classes. More...
 

Additional Inherited Members

- Public Slots inherited from QgsDataDefinedValueDialog
void dataDefinedChanged ()
 

Detailed Description

Definition at line 227 of file qgsrendererwidget.h.

Constructor & Destructor Documentation

◆ QgsDataDefinedSizeDialog()

QgsDataDefinedSizeDialog::QgsDataDefinedSizeDialog ( const QList< QgsSymbol *> &  symbolList,
QgsVectorLayer *  layer 
)
inline

Definition at line 231 of file qgsrendererwidget.h.

Member Function Documentation

◆ setDataDefined()

void QgsDataDefinedSizeDialog::setDataDefined ( QgsSymbol *  symbol,
const QgsProperty &  dd 
)
overrideprotectedvirtual

Implements QgsDataDefinedValueDialog.

Definition at line 411 of file qgsrendererwidget.cpp.

◆ symbolDataDefined()

QgsProperty QgsDataDefinedSizeDialog::symbolDataDefined ( const QgsSymbol *  symbol) const
overrideprotectedvirtual

Implements QgsDataDefinedValueDialog.

Definition at line 405 of file qgsrendererwidget.cpp.

◆ value()

double QgsDataDefinedSizeDialog::value ( const QgsSymbol *  symbol) const
inlineoverrideprotectedvirtual

Implements QgsDataDefinedValueDialog.

Definition at line 245 of file qgsrendererwidget.h.


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