15 #ifndef QGSRENDERERV2WIDGET_H 16 #define QGSRENDERERV2WIDGET_H 20 #include <QStackedWidget> 89 void layerVariablesChanged();
94 void symbolLevelsChanged();
99 QMenu *contextMenu =
nullptr;
100 QAction *mCopyAction =
nullptr;
101 QAction *mPasteAction =
nullptr;
120 void contextMenuViewCategories( QPoint p );
122 void changeSymbolColor();
124 void changeSymbolOpacity();
126 void changeSymbolUnit();
128 void changeSymbolWidth();
130 void changeSymbolSize();
132 void changeSymbolAngle();
157 #include "ui_widget_set_dd_value.h" 158 #include "qgis_gui.h" 202 void dataDefinedChanged();
211 void init(
int propertyKey );
220 QList<QgsSymbol *> mSymbolList;
240 if ( !symbolList.isEmpty() && symbolList.at( 0 ) &&
vectorLayer() )
242 mAssistantSymbol.reset( static_cast<const QgsMarkerSymbol *>( symbolList.at( 0 ) )->clone() );
243 mDDBtn->setSymbol( mAssistantSymbol );
256 std::shared_ptr< QgsMarkerSymbol > mAssistantSymbol;
305 #endif // QGSRENDERERV2WIDGET_H
double value(const QgsSymbol *symbol) const override
Abstract base class for all rendered symbols.
double value(const QgsSymbol *symbol) const override
QgsDataDefinedRotationDialog(const QList< QgsSymbol * > &symbolList, QgsVectorLayer *layer)
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...
QgsDataDefinedSizeDialog(const QList< QgsSymbol * > &symbolList, QgsVectorLayer *layer)
QgsDataDefinedWidthDialog(const QList< QgsSymbol * > &symbolList, QgsVectorLayer *layer)
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.
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...