QGIS API Documentation
3.14.0-Pi (9f7028fd23)
|
Go to the documentation of this file.
15 #ifndef QGSRENDERERWIDGET_H
16 #define QGSRENDERERWIDGET_H
20 #include <QStackedWidget>
91 void layerVariablesChanged();
96 void symbolLevelsChanged();
101 QMenu *contextMenu =
nullptr;
102 QAction *mCopyAction =
nullptr;
103 QAction *mPasteAction =
nullptr;
109 QAction *mCopySymbolAction =
nullptr;
115 QAction *mPasteSymbolAction =
nullptr;
134 void contextMenuViewCategories( QPoint p );
136 void changeSymbolColor();
138 void changeSymbolOpacity();
140 void changeSymbolUnit();
142 void changeSymbolWidth();
144 void changeSymbolSize();
146 void changeSymbolAngle();
157 virtual void pasteSymbolToSelection();
183 #include "ui_widget_set_dd_value.h"
184 #include "qgis_gui.h"
228 void dataDefinedChanged();
237 void init(
int propertyKey );
266 if ( !symbolList.isEmpty() && symbolList.at( 0 ) && vectorLayer() )
269 mDDBtn->setSymbol( mAssistantSymbol );
282 std::shared_ptr< QgsMarkerSymbol > mAssistantSymbol;
331 #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.
const QgsVectorLayer * vectorLayer() const
Returns the vector layer associated with the widget.
QgsDataDefinedWidthDialog(const QList< QgsSymbol * > &symbolList, QgsVectorLayer *layer)
QgsDataDefinedSizeDialog(const QList< QgsSymbol * > &symbolList, QgsVectorLayer *layer)
QgsDataDefinedRotationDialog(const QList< QgsSymbol * > &symbolList, QgsVectorLayer *layer)
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
@ PropertySize
Symbol size.
void init(int propertyKey)
Should be called in the constructor of child classes.
@ PropertyStrokeWidth
Stroke width.
@ PropertyAngle
Symbol angle.
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)