17#ifndef QGSSYMBOLLAYERWIDGET_H
18#define QGSSYMBOLLAYERWIDGET_H
26#include <QStandardItemModel>
109 void createAuxiliaryField();
117#include "ui_widget_simpleline.h"
160 void updateAssistantSymbol();
161 void penWidthChanged();
162 void colorChanged(
const QColor &color );
163 void penStyleChanged();
164 void offsetChanged();
165 void patternOffsetChanged();
166 void mCustomCheckBox_stateChanged(
int state );
167 void mChangePatternButton_clicked();
168 void mPenWidthUnitWidget_changed();
169 void mOffsetUnitWidget_changed();
170 void mDashPatternUnitWidget_changed();
171 void mDrawInsideCheckBox_stateChanged(
int state );
172 void patternOffsetUnitChanged();
175 std::shared_ptr<QgsLineSymbol> mAssistantPreviewSymbol;
180#include "ui_widget_simplemarker.h"
214 void setColorStroke(
const QColor &color );
215 void setColorFill(
const QColor &color );
224 void mSizeUnitWidget_changed();
225 void mOffsetUnitWidget_changed();
226 void mStrokeWidthUnitWidget_changed();
227 void mStrokeStyleComboBox_currentIndexChanged(
int index );
228 void mStrokeWidthSpinBox_valueChanged(
double d );
229 void mHorizontalAnchorComboBox_currentIndexChanged(
int index );
230 void mVerticalAnchorComboBox_currentIndexChanged(
int index );
232 void updateAssistantSymbol();
233 void penJoinStyleChanged();
234 void penCapStyleChanged();
237 std::shared_ptr<QgsMarkerSymbol> mAssistantPreviewSymbol;
242#include "ui_widget_simplefill.h"
274 void setColor(
const QColor &color );
275 void setStrokeColor(
const QColor &color );
281 void setBrushStyle();
282 void strokeWidthChanged();
283 void strokeStyleChanged();
284 void offsetChanged();
285 void mStrokeWidthUnitWidget_changed();
286 void mOffsetUnitWidget_changed();
292#include "ui_widget_filledmarker.h"
329 void updateAssistantSymbol();
334 void mSizeUnitWidget_changed();
335 void mOffsetUnitWidget_changed();
336 void mHorizontalAnchorComboBox_currentIndexChanged(
int index );
337 void mVerticalAnchorComboBox_currentIndexChanged(
int index );
340 std::shared_ptr<QgsMarkerSymbol> mAssistantPreviewSymbol;
345#include "ui_widget_gradientfill.h"
377 void setColor(
const QColor &color );
378 void setColor2(
const QColor &color );
383 void applyColorRamp();
384 void setGradientType(
int index );
385 void setCoordinateMode(
int index );
386 void setGradientSpread(
int index );
392 void offsetChanged();
393 void referencePointChanged();
394 void mOffsetUnitWidget_changed();
395 void colorModeChanged();
396 void mSpinAngle_valueChanged(
double value );
401#include "ui_widget_shapeburstfill.h"
433 void setColor(
const QColor &color );
434 void setColor2(
const QColor &color );
440 void colorModeChanged();
441 void mSpinBlurRadius_valueChanged(
int value );
442 void mSpinMaxDistance_valueChanged(
double value );
443 void mDistanceUnitWidget_changed();
444 void mRadioUseWholeShape_toggled(
bool value );
445 void applyColorRamp();
446 void offsetChanged();
447 void mOffsetUnitWidget_changed();
448 void mIgnoreRingsCheckBox_stateChanged(
int state );
453#include "ui_widget_templatedline.h"
496 void setInterval(
double val );
502 void setOffsetAlongLine(
double val );
506 void setHashLength(
double val );
507 void setHashAngle(
double val );
512 void mIntervalUnitWidget_changed();
513 void mOffsetUnitWidget_changed();
514 void mOffsetAlongLineUnitWidget_changed();
515 void hashLengthUnitWidgetChanged();
516 void averageAngleUnitChanged();
517 void blankSegmentsUnitChanged();
518 void setAverageAngle(
double val );
519 void toggleMapToolEditBlankSegments(
bool toggled );
521 void updateBlankSegmentsWidget();
525 int blankSegmentsFieldIndex()
const;
528 TemplatedSymbolType mSymbolType = TemplatedSymbolType::Hash;
583#include "ui_widget_svgmarker.h"
619 void setSvgPath(
const QString &name );
621 void setSvgParameters(
const QMap<QString, QgsProperty> ¶meters );
644 void svgSourceChanged(
const QString &text );
645 void mChangeColorButton_colorChanged(
const QColor &color );
646 void mChangeStrokeColorButton_colorChanged(
const QColor &color );
647 void mStrokeWidthSpinBox_valueChanged(
double d );
648 void mSizeUnitWidget_changed();
649 void mStrokeWidthUnitWidget_changed();
650 void mOffsetUnitWidget_changed();
651 void mHorizontalAnchorComboBox_currentIndexChanged(
int index );
652 void mVerticalAnchorComboBox_currentIndexChanged(
int index );
655 void lockAspectRatioChanged(
bool locked );
658 void updateAssistantSymbol();
661 std::shared_ptr<QgsMarkerSymbol> mAssistantPreviewSymbol;
666#include "ui_widget_rastermarker.h"
703 void imageSourceChanged(
const QString &text );
704 void mSizeUnitWidget_changed();
705 void mOffsetUnitWidget_changed();
706 void mHorizontalAnchorComboBox_currentIndexChanged(
int index );
707 void mVerticalAnchorComboBox_currentIndexChanged(
int index );
710 void setLockAspectRatio(
bool locked );
713 void setOpacity(
double value );
714 void updatePreviewImage();
720#include "ui_widget_animatedmarker.h"
757 void imageSourceChanged(
const QString &text );
758 void mSizeUnitWidget_changed();
759 void mOffsetUnitWidget_changed();
760 void mHorizontalAnchorComboBox_currentIndexChanged(
int index );
761 void mVerticalAnchorComboBox_currentIndexChanged(
int index );
764 void setLockAspectRatio(
bool locked );
767 void setOpacity(
double value );
768 void updatePreviewImage();
771 QMovie *mPreviewMovie =
nullptr;
777#include "ui_widget_rasterfill.h"
812 void imageSourceChanged(
const QString &text );
813 void setCoordinateMode(
int index );
814 void opacityChanged(
double value );
815 void offsetChanged();
816 void mOffsetUnitWidget_changed();
817 void mRotationSpinBox_valueChanged(
double d );
820 void updatePreviewImage();
826#include "ui_widget_rasterline.h"
862 void imageSourceChanged(
const QString &text );
863 void updatePreviewImage();
869#include "ui_widget_gradientline.h"
908#include "ui_widget_filledline.h"
948#include "ui_widget_svgfill.h"
992 void mTextureWidthSpinBox_valueChanged(
double d );
993 void svgSourceChanged(
const QString &text );
994 void setFile(
const QString &name );
995 void setSvgParameters(
const QMap<QString, QgsProperty> ¶meters );
996 void mRotationSpinBox_valueChanged(
double d );
997 void mChangeColorButton_colorChanged(
const QColor &color );
998 void mChangeStrokeColorButton_colorChanged(
const QColor &color );
999 void mStrokeWidthSpinBox_valueChanged(
double d );
1000 void mTextureWidthUnitWidget_changed();
1001 void mSvgStrokeWidthUnitWidget_changed();
1006#include "ui_widget_linepatternfill.h"
1040 void mAngleSpinBox_valueChanged(
double d );
1041 void mDistanceSpinBox_valueChanged(
double d );
1042 void mOffsetSpinBox_valueChanged(
double d );
1043 void mDistanceUnitWidget_changed();
1044 void mOffsetUnitWidget_changed();
1049#include "ui_widget_pointpatternfill.h"
1083 void mHorizontalDistanceSpinBox_valueChanged(
double d );
1084 void mVerticalDistanceSpinBox_valueChanged(
double d );
1085 void mHorizontalDisplacementSpinBox_valueChanged(
double d );
1086 void mVerticalDisplacementSpinBox_valueChanged(
double d );
1087 void mHorizontalOffsetSpinBox_valueChanged(
double d );
1088 void mVerticalOffsetSpinBox_valueChanged(
double d );
1089 void mHorizontalDistanceUnitWidget_changed();
1090 void mVerticalDistanceUnitWidget_changed();
1091 void mHorizontalDisplacementUnitWidget_changed();
1092 void mVerticalDisplacementUnitWidget_changed();
1093 void mHorizontalOffsetUnitWidget_changed();
1094 void mVerticalOffsetUnitWidget_changed();
1100#include "ui_widget_randommarkerfill.h"
1137 void countMethodChanged(
int );
1138 void countChanged(
int d );
1139 void densityAreaChanged(
double d );
1140 void densityAreaUnitChanged();
1141 void seedChanged(
int d );
1146#include "ui_widget_fontmarker.h"
1180 void setFontFamily(
const QFont &font );
1181 void setColor(
const QColor &color );
1186 void setColorStroke(
const QColor &color );
1187 void setSize(
double size );
1188 void setAngle(
double angle );
1194 void setCharacter( QChar chr );
1201 void setCharacterFromText(
const QString &text );
1213 void setFontStyle(
const QString &style );
1216 void mSizeUnitWidget_changed();
1217 void mOffsetUnitWidget_changed();
1218 void mStrokeWidthUnitWidget_changed();
1219 void mStrokeWidthSpinBox_valueChanged(
double d );
1221 void populateFontStyleComboBox();
1222 void mFontStyleComboBox_currentIndexChanged(
int index );
1224 void mHorizontalAnchorComboBox_currentIndexChanged(
int index );
1225 void mVerticalAnchorComboBox_currentIndexChanged(
int index );
1226 void penJoinStyleChanged();
1227 void updateAssistantSymbol();
1230 std::shared_ptr<QgsMarkerSymbol> mAssistantPreviewSymbol;
1233 QFontDatabase mFontDB;
1239#include "ui_widget_centroidfill.h"
1274 void mDrawInsideCheckBox_stateChanged(
int state );
1275 void mDrawAllPartsCheckBox_stateChanged(
int state );
1276 void mClipPointsCheckBox_stateChanged(
int state );
1277 void mClipOnCurrentPartOnlyCheckBox_stateChanged(
int state );
1283#include "ui_qgslinearreferencingsymbollayerwidgetbase.h"
1316 void changeNumberFormat();
1320 bool mBlockChangesSignal =
false;
1324#include "ui_qgsgeometrygeneratorwidgetbase.h"
1325#include "qgis_gui.h"
1357 int mBlockSignals = 0;
1360 void updateExpression(
const QString &
string );
1361 void updateSymbolType();
Keeps a pointer to a QObject and deletes it whenever this object is deleted.
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 marker symbol layer which displays characters rendered using a font.
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.
A symbol fill consisting of repeated parallel lines.
A line symbol type, for rendering LineString and MultiLineString geometries.
Line symbol layer used for decorating according to linear referencing.
Line symbol layer type which draws a gradient pattern perpendicularly along a line.
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 fill symbol layer which fills polygons with a repeated raster image.
Line symbol layer type which draws line sections using a raster image file.
Raster marker symbol layer class.
A fill symbol layer which fills polygons with a repeated SVG file.
A fill symbol layer which applies a gradient from the outer edges of a symbol to the inside.
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 a stroke.
A marker symbol layer which renders an SVG graphic.
Abstract base class for symbol layers.
Property
Data definable properties.
Contains settings which reflect the context in which a symbol (or renderer) widget is shown,...
Base class for templated line symbols, e.g.
Represents a vector layer which manages a vector based dataset.