QGIS API Documentation 3.99.0-Master (21b3aa880ba)
Loading...
Searching...
No Matches
QgsDataDefinedRotationDialog Class Reference

A dialog for configuring symbol-level data defined rotation. More...

#include <qgsrendererwidget.h>

Inheritance diagram for QgsDataDefinedRotationDialog:

Public Member Functions

 QgsDataDefinedRotationDialog (const QList< QgsSymbol * > &symbolList, QgsVectorLayer *layer)
Public Member Functions inherited from QgsDataDefinedValueDialog
 QgsDataDefinedValueDialog (const QList< QgsSymbol * > &symbolList, QgsVectorLayer *layer, const QString &label)
 Constructor.
QgsSymbolWidgetContext context () const
 Returns the context in which the symbol widget is shown, e.g., the associated map canvas and expression contexts.
void setContext (const QgsSymbolWidgetContext &context)
 Sets the context in which the symbol widget is shown, e.g., the associated map canvas and expression contexts.
const QgsVectorLayervectorLayer () const
 Returns the vector layer associated with the widget.
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.

Additional Inherited Members

Public Slots inherited from QgsDataDefinedValueDialog
void dataDefinedChanged ()

Detailed Description

A dialog for configuring symbol-level data defined rotation.

Definition at line 308 of file qgsrendererwidget.h.

Constructor & Destructor Documentation

◆ QgsDataDefinedRotationDialog()

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

Definition at line 577 of file qgsrendererwidget.cpp.

Member Function Documentation

◆ setDataDefined()

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

Implements QgsDataDefinedValueDialog.

Definition at line 594 of file qgsrendererwidget.cpp.

◆ symbolDataDefined()

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

Implements QgsDataDefinedValueDialog.

Definition at line 583 of file qgsrendererwidget.cpp.

◆ value()

double QgsDataDefinedRotationDialog::value ( const QgsSymbol * symbol) const
overrideprotectedvirtual

Implements QgsDataDefinedValueDialog.

Definition at line 589 of file qgsrendererwidget.cpp.


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