17#ifndef QGSSYMBOLLAYERWIDGET_H
18#define QGSSYMBOLLAYERWIDGET_H
26#include <QStandardItemModel>
107 void updateDataDefinedProperty();
110 void createAuxiliaryField();
118#include "ui_widget_simpleline.h"
155 void updatePatternIcon();
157 void resizeEvent( QResizeEvent *event )
override;
161 void updateAssistantSymbol();
162 void penWidthChanged();
163 void colorChanged(
const QColor &color );
164 void penStyleChanged();
165 void offsetChanged();
166 void patternOffsetChanged();
167 void mCustomCheckBox_stateChanged(
int state );
168 void mChangePatternButton_clicked();
169 void mPenWidthUnitWidget_changed();
170 void mOffsetUnitWidget_changed();
171 void mDashPatternUnitWidget_changed();
172 void mDrawInsideCheckBox_stateChanged(
int state );
173 void patternOffsetUnitChanged();
177 std::shared_ptr< QgsLineSymbol > mAssistantPreviewSymbol;
183#include "ui_widget_simplemarker.h"
217 void setColorStroke(
const QColor &color );
218 void setColorFill(
const QColor &color );
227 void mSizeUnitWidget_changed();
228 void mOffsetUnitWidget_changed();
229 void mStrokeWidthUnitWidget_changed();
230 void mStrokeStyleComboBox_currentIndexChanged(
int index );
231 void mStrokeWidthSpinBox_valueChanged(
double d );
232 void mHorizontalAnchorComboBox_currentIndexChanged(
int index );
233 void mVerticalAnchorComboBox_currentIndexChanged(
int index );
235 void updateAssistantSymbol();
236 void penJoinStyleChanged();
237 void penCapStyleChanged();
241 std::shared_ptr< QgsMarkerSymbol > mAssistantPreviewSymbol;
246#include "ui_widget_simplefill.h"
278 void setColor(
const QColor &color );
279 void setStrokeColor(
const QColor &color );
285 void setBrushStyle();
286 void strokeWidthChanged();
287 void strokeStyleChanged();
288 void offsetChanged();
289 void mStrokeWidthUnitWidget_changed();
290 void mOffsetUnitWidget_changed();
297#include "ui_widget_filledmarker.h"
335 void updateAssistantSymbol();
340 void mSizeUnitWidget_changed();
341 void mOffsetUnitWidget_changed();
342 void mHorizontalAnchorComboBox_currentIndexChanged(
int index );
343 void mVerticalAnchorComboBox_currentIndexChanged(
int index );
347 std::shared_ptr< QgsMarkerSymbol > mAssistantPreviewSymbol;
352#include "ui_widget_gradientfill.h"
384 void setColor(
const QColor &color );
385 void setColor2(
const QColor &color );
390 void applyColorRamp();
391 void setGradientType(
int index );
392 void setCoordinateMode(
int index );
393 void setGradientSpread(
int index );
399 void offsetChanged();
400 void referencePointChanged();
401 void mOffsetUnitWidget_changed();
402 void colorModeChanged();
403 void mSpinAngle_valueChanged(
double value );
409#include "ui_widget_shapeburstfill.h"
441 void setColor(
const QColor &color );
442 void setColor2(
const QColor &color );
448 void colorModeChanged();
449 void mSpinBlurRadius_valueChanged(
int value );
450 void mSpinMaxDistance_valueChanged(
double value );
451 void mDistanceUnitWidget_changed();
452 void mRadioUseWholeShape_toggled(
bool value );
453 void applyColorRamp();
454 void offsetChanged();
455 void mOffsetUnitWidget_changed();
456 void mIgnoreRingsCheckBox_stateChanged(
int state );
461#include "ui_widget_markerline.h"
495 void setInterval(
double val );
496 void setOffsetAlongLine(
double val );
506 void mIntervalUnitWidget_changed();
507 void mOffsetUnitWidget_changed();
508 void mOffsetAlongLineUnitWidget_changed();
509 void averageAngleUnitChanged();
510 void setAverageAngle(
double val );
515#include "ui_widget_hashline.h"
551 void setInterval(
double val );
552 void setOffsetAlongLine(
double val );
553 void setHashLength(
double val );
554 void setHashAngle(
double val );
559 void mIntervalUnitWidget_changed();
560 void mOffsetUnitWidget_changed();
561 void mOffsetAlongLineUnitWidget_changed();
562 void hashLengthUnitWidgetChanged();
563 void averageAngleUnitChanged();
564 void setAverageAngle(
double val );
573#include "ui_widget_svgmarker.h"
609 void setSvgPath(
const QString &name );
611 void setSvgParameters(
const QMap<QString, QgsProperty> ¶meters );
634 void svgSourceChanged(
const QString &text );
635 void mChangeColorButton_colorChanged(
const QColor &color );
636 void mChangeStrokeColorButton_colorChanged(
const QColor &color );
637 void mStrokeWidthSpinBox_valueChanged(
double d );
638 void mSizeUnitWidget_changed();
639 void mStrokeWidthUnitWidget_changed();
640 void mOffsetUnitWidget_changed();
641 void mHorizontalAnchorComboBox_currentIndexChanged(
int index );
642 void mVerticalAnchorComboBox_currentIndexChanged(
int index );
645 void lockAspectRatioChanged(
bool locked );
648 void updateAssistantSymbol();
652 std::shared_ptr< QgsMarkerSymbol > mAssistantPreviewSymbol;
658#include "ui_widget_rastermarker.h"
697 void imageSourceChanged(
const QString &text );
698 void mSizeUnitWidget_changed();
699 void mOffsetUnitWidget_changed();
700 void mHorizontalAnchorComboBox_currentIndexChanged(
int index );
701 void mVerticalAnchorComboBox_currentIndexChanged(
int index );
704 void setLockAspectRatio(
bool locked );
707 void setOpacity(
double value );
708 void updatePreviewImage();
715#include "ui_widget_animatedmarker.h"
754 void imageSourceChanged(
const QString &text );
755 void mSizeUnitWidget_changed();
756 void mOffsetUnitWidget_changed();
757 void mHorizontalAnchorComboBox_currentIndexChanged(
int index );
758 void mVerticalAnchorComboBox_currentIndexChanged(
int index );
761 void setLockAspectRatio(
bool locked );
764 void setOpacity(
double value );
765 void updatePreviewImage();
769 QMovie *mPreviewMovie =
nullptr;
776#include "ui_widget_rasterfill.h"
811 void imageSourceChanged(
const QString &text );
812 void setCoordinateMode(
int index );
813 void opacityChanged(
double value );
814 void offsetChanged();
815 void mOffsetUnitWidget_changed();
816 void mRotationSpinBox_valueChanged(
double d );
819 void updatePreviewImage();
825#include "ui_widget_rasterline.h"
863 void imageSourceChanged(
const QString &text );
864 void updatePreviewImage();
871#include "ui_widget_gradientline.h"
913#include "ui_widget_filledline.h"
956#include "ui_widget_svgfill.h"
997 void updateParamGui(
bool resetValues =
true );
1000 void mTextureWidthSpinBox_valueChanged(
double d );
1001 void svgSourceChanged(
const QString &text );
1002 void setFile(
const QString &name );
1003 void setSvgParameters(
const QMap<QString, QgsProperty> ¶meters );
1004 void mRotationSpinBox_valueChanged(
double d );
1005 void mChangeColorButton_colorChanged(
const QColor &color );
1006 void mChangeStrokeColorButton_colorChanged(
const QColor &color );
1007 void mStrokeWidthSpinBox_valueChanged(
double d );
1008 void mTextureWidthUnitWidget_changed();
1009 void mSvgStrokeWidthUnitWidget_changed();
1014#include "ui_widget_linepatternfill.h"
1048 void mAngleSpinBox_valueChanged(
double d );
1049 void mDistanceSpinBox_valueChanged(
double d );
1050 void mOffsetSpinBox_valueChanged(
double d );
1051 void mDistanceUnitWidget_changed();
1052 void mOffsetUnitWidget_changed();
1057#include "ui_widget_pointpatternfill.h"
1091 void mHorizontalDistanceSpinBox_valueChanged(
double d );
1092 void mVerticalDistanceSpinBox_valueChanged(
double d );
1093 void mHorizontalDisplacementSpinBox_valueChanged(
double d );
1094 void mVerticalDisplacementSpinBox_valueChanged(
double d );
1095 void mHorizontalOffsetSpinBox_valueChanged(
double d );
1096 void mVerticalOffsetSpinBox_valueChanged(
double d );
1097 void mHorizontalDistanceUnitWidget_changed();
1098 void mVerticalDistanceUnitWidget_changed();
1099 void mHorizontalDisplacementUnitWidget_changed();
1100 void mVerticalDisplacementUnitWidget_changed();
1101 void mHorizontalOffsetUnitWidget_changed();
1102 void mVerticalOffsetUnitWidget_changed();
1108#include "ui_widget_randommarkerfill.h"
1147 void countMethodChanged(
int );
1148 void countChanged(
int d );
1149 void densityAreaChanged(
double d );
1150 void densityAreaUnitChanged();
1151 void seedChanged(
int d );
1156#include "ui_widget_fontmarker.h"
1190 void setFontFamily(
const QFont &font );
1191 void setColor(
const QColor &color );
1196 void setColorStroke(
const QColor &color );
1197 void setSize(
double size );
1198 void setAngle(
double angle );
1204 void setCharacter( QChar chr );
1211 void setCharacterFromText(
const QString &text );
1223 void setFontStyle(
const QString &style );
1226 void mSizeUnitWidget_changed();
1227 void mOffsetUnitWidget_changed();
1228 void mStrokeWidthUnitWidget_changed();
1229 void mStrokeWidthSpinBox_valueChanged(
double d );
1231 void populateFontStyleComboBox();
1232 void mFontStyleComboBox_currentIndexChanged(
int index );
1234 void mHorizontalAnchorComboBox_currentIndexChanged(
int index );
1235 void mVerticalAnchorComboBox_currentIndexChanged(
int index );
1236 void penJoinStyleChanged();
1237 void updateAssistantSymbol();
1241 std::shared_ptr< QgsMarkerSymbol > mAssistantPreviewSymbol;
1244 QFontDatabase mFontDB;
1251#include "ui_widget_centroidfill.h"
1286 void mDrawInsideCheckBox_stateChanged(
int state );
1287 void mDrawAllPartsCheckBox_stateChanged(
int state );
1288 void mClipPointsCheckBox_stateChanged(
int state );
1289 void mClipOnCurrentPartOnlyCheckBox_stateChanged(
int state );
1295#include "ui_qgslinearreferencingsymbollayerwidgetbase.h"
1329 void changeNumberFormat();
1334 bool mBlockChangesSignal =
false;
1338#include "ui_qgsgeometrygeneratorwidgetbase.h"
1339#include "qgis_gui.h"
1371 int mBlockSignals = 0;
1374 void updateExpression(
const QString &
string );
1375 void updateSymbolType();
Animated marker symbol layer class.
A fill symbol layer which renders a marker symbol at the centroid of a polygon geometry.
Abstract interface for generating an expression context.
virtual QgsExpressionContext createExpressionContext() const =0
This method needs to be reimplemented in all classes which implement this interface and return an exp...
Expression contexts are used to encapsulate the parameters around which a QgsExpression should be eva...
A line symbol layer type which fills a stroked line with a QgsFillSymbol.
Filled marker symbol layer, consisting of a shape which is rendered using a QgsFillSymbol.
A symbol layer subclass which alters rendered feature shapes through the use of QGIS expressions.
A fill symbol layer which draws a smooth color gradient over a polygon.
Line symbol layer type which draws repeating line sections along a line feature.
A symbol fill consisting of repeated parallel lines.
A line symbol type, for rendering LineString and MultiLineString geometries.
Line symbol layer used for decorating accordingly to linear referencing.
Line symbol layer type which draws a gradient pattern perpendicularly along a line.
Map canvas is a class for displaying all GIS data types on a canvas.
Line symbol layer type which draws repeating marker symbols along a line feature.
A marker symbol type, for rendering Point and MultiPoint geometries.
A fill symbol layer which fills polygon shapes with repeating marker symbols.
A fill symbol layer which places markers at random locations within polygons.
A class for filling symbols with a repeated raster image.
Line symbol layer type which draws line sections using a raster image file.
Raster marker symbol layer class.
A class for filling symbols with a repeated SVG file.
Renders polygons using a single fill and stroke color.
A simple line symbol layer, which renders lines using a line in a variety of styles (e....
Simple marker symbol layer, consisting of a rendered shape with solid fill color and an stroke.
Property
Data definable properties.
Contains settings which reflect the context in which a symbol (or renderer) widget is shown,...
Represents a vector layer which manages a vector based data sets.