QGIS API Documentation
3.16.0-Hannover (43b64b13f3)
|
Go to the documentation of this file.
15 #ifndef QGSRENDERERWIDGET_H
16 #define QGSRENDERERWIDGET_H
20 #include <QStackedWidget>
101 QMenu *contextMenu =
nullptr;
102 QAction *mCopyAction =
nullptr;
103 QAction *mPasteAction =
nullptr;
109 QAction *mCopySymbolAction =
nullptr;
115 QAction *mPasteSymbolAction =
nullptr;
135 void contextMenuViewCategories( QPoint p );
137 void changeSymbolColor();
139 void changeSymbolOpacity();
141 void changeSymbolUnit();
143 void changeSymbolWidth();
145 void changeSymbolSize();
147 void changeSymbolAngle();
158 virtual void pasteSymbolToSelection();
184 #include "ui_widget_set_dd_value.h"
185 #include "qgis_gui.h"
229 void dataDefinedChanged();
238 void init(
int propertyKey );
267 if ( !symbolList.isEmpty() && symbolList.at( 0 ) && vectorLayer() )
270 mDDBtn->setSymbol( mAssistantSymbol );
283 std::shared_ptr< QgsMarkerSymbol > mAssistantSymbol;
332 #endif // QGSRENDERERWIDGET_H
Expression contexts are used to encapsulate the parameters around which a QgsExpression should be eva...
double value(const QgsSymbol *symbol) const override
A store for object properties.
Container of fields for a vector layer.
const QgsVectorLayer * vectorLayer() const
Returns the vector layer associated with the widget.
Contains settings which reflect the context in which a symbol (or renderer) widget is shown,...
Map canvas is a class for displaying all GIS data types on a canvas.
QgsDataDefinedWidthDialog(const QList< QgsSymbol * > &symbolList, QgsVectorLayer *layer)
Object that keeps configuration of appearance of marker symbol's data-defined size in legend.
QgsDataDefinedSizeDialog(const QList< QgsSymbol * > &symbolList, QgsVectorLayer *layer)
QgsDataDefinedRotationDialog(const QList< QgsSymbol * > &symbolList, QgsVectorLayer *layer)
Abstract base class for all rendered symbols.
double value(const QgsSymbol *symbol) const override
QgsMarkerSymbol * clone() const override
Returns a deep copy of this symbol.
double value(const QgsSymbol *symbol) const override
Utility classes for "en masse" size definition.
A marker symbol type, for rendering Point and MultiPoint geometries.
@ PropertySize
Symbol size.
A line symbol type, for rendering LineString and MultiLineString geometries.
void init(int propertyKey)
Should be called in the constructor of child classes.
@ PropertyStrokeWidth
Stroke width.
Represents a vector layer which manages a vector based data sets.
@ PropertyAngle
Symbol angle.
Abstract interface for generating an expression context.
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)
Encapsulate a field in an attribute table or data source.