15 #ifndef QGSRENDERERWIDGET_H 16 #define QGSRENDERERWIDGET_H 20 #include <QStackedWidget> 89 void layerVariablesChanged();
94 QMenu *contextMenu =
nullptr;
95 QAction *mCopyAction =
nullptr;
96 QAction *mPasteAction =
nullptr;
115 void contextMenuViewCategories( QPoint p );
117 void changeSymbolColor();
119 void changeSymbolOpacity();
121 void changeSymbolUnit();
123 void changeSymbolWidth();
125 void changeSymbolSize();
127 void changeSymbolAngle();
152 #include "ui_widget_set_dd_value.h" 153 #include "qgis_gui.h" 197 void dataDefinedChanged();
206 void init(
int propertyKey );
215 QList<QgsSymbol *> mSymbolList;
235 if ( !symbolList.isEmpty() && symbolList.at( 0 ) &&
vectorLayer() )
237 mAssistantSymbol.reset( static_cast<const QgsMarkerSymbol *>( symbolList.at( 0 ) )->clone() );
238 mDDBtn->setSymbol( mAssistantSymbol );
251 std::shared_ptr< QgsMarkerSymbol > mAssistantSymbol;
300 #endif // QGSRENDERERWIDGET_H double value(const QgsSymbol *symbol) const override
Abstract base class for all rendered symbols.
double value(const QgsSymbol *symbol) const override
Container of fields for a vector layer.
Map canvas is a class for displaying all GIS data types on a canvas.
double ANALYSIS_EXPORT angle(QgsPoint *p1, QgsPoint *p2, QgsPoint *p3, QgsPoint *p4)
Calculates the angle between two segments (in 2 dimension, z-values are ignored)
A marker symbol type, for rendering Point and MultiPoint geometries.
A line symbol type, for rendering LineString and MultiLineString geometries.
Utility classes for "en masse" size definition.
virtual QgsExpressionContext createExpressionContext() const =0
This method needs to be reimplemented in all classes which implement this interface and return an exp...
Contains settings which reflect the context in which a symbol (or renderer) widget is shown...
Expression contexts are used to encapsulate the parameters around which a QgsExpression should be eva...
Encapsulate a field in an attribute table or data source.
A store for object properties.
Abstract interface for generating an expression context.
double value(const QgsSymbol *symbol) const override
const QgsVectorLayer * vectorLayer() const
Returns the vector layer associated with the widget.
void init(int propertyKey)
Should be called in the constructor of child classes.
QgsDataDefinedRotationDialog(const QList< QgsSymbol *> &symbolList, QgsVectorLayer *layer)
QgsDataDefinedSizeDialog(const QList< QgsSymbol *> &symbolList, QgsVectorLayer *layer)
QgsDataDefinedWidthDialog(const QList< QgsSymbol *> &symbolList, QgsVectorLayer *layer)
Represents a vector layer which manages a vector based data sets.
Object that keeps configuration of appearance of marker symbol's data-defined size in legend...