17#ifndef QGSSYMBOLLAYERWIDGET_H
18#define QGSSYMBOLLAYERWIDGET_H
25#include <QStandardItemModel>
108 void createAuxiliaryField();
116#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"
215 void setColorStroke(
const QColor &color );
216 void setColorFill(
const QColor &color );
225 void mSizeUnitWidget_changed();
226 void mOffsetUnitWidget_changed();
227 void mStrokeWidthUnitWidget_changed();
228 void mStrokeStyleComboBox_currentIndexChanged(
int index );
229 void mStrokeWidthSpinBox_valueChanged(
double d );
230 void mHorizontalAnchorComboBox_currentIndexChanged(
int index );
231 void mVerticalAnchorComboBox_currentIndexChanged(
int index );
233 void updateAssistantSymbol();
234 void penJoinStyleChanged();
235 void penCapStyleChanged();
238 std::shared_ptr<QgsMarkerSymbol> mAssistantPreviewSymbol;
243#include "ui_widget_simplefill.h"
276 void setColor(
const QColor &color );
277 void setStrokeColor(
const QColor &color );
283 void setBrushStyle();
284 void strokeWidthChanged();
285 void strokeStyleChanged();
286 void offsetChanged();
287 void mStrokeWidthUnitWidget_changed();
288 void mOffsetUnitWidget_changed();
294#include "ui_widget_filledmarker.h"
332 void updateAssistantSymbol();
337 void mSizeUnitWidget_changed();
338 void mOffsetUnitWidget_changed();
339 void mHorizontalAnchorComboBox_currentIndexChanged(
int index );
340 void mVerticalAnchorComboBox_currentIndexChanged(
int index );
343 std::shared_ptr<QgsMarkerSymbol> mAssistantPreviewSymbol;
348#include "ui_widget_gradientfill.h"
381 void setColor(
const QColor &color );
382 void setColor2(
const QColor &color );
387 void applyColorRamp();
388 void setGradientType(
int index );
389 void setCoordinateMode(
int index );
390 void setGradientSpread(
int index );
396 void offsetChanged();
397 void referencePointChanged();
398 void mOffsetUnitWidget_changed();
399 void colorModeChanged();
400 void mSpinAngle_valueChanged(
double value );
405#include "ui_widget_shapeburstfill.h"
438 void setColor(
const QColor &color );
439 void setColor2(
const QColor &color );
445 void colorModeChanged();
446 void mSpinBlurRadius_valueChanged(
int value );
447 void mSpinMaxDistance_valueChanged(
double value );
448 void mDistanceUnitWidget_changed();
449 void mRadioUseWholeShape_toggled(
bool value );
450 void applyColorRamp();
451 void offsetChanged();
452 void mOffsetUnitWidget_changed();
453 void mIgnoreRingsCheckBox_stateChanged(
int state );
458#include "ui_widget_templatedline.h"
501 void setInterval(
double val );
507 void setOffsetAlongLine(
double val );
511 void setHashLength(
double val );
512 void setHashAngle(
double val );
517 void mIntervalUnitWidget_changed();
518 void mOffsetUnitWidget_changed();
519 void mOffsetAlongLineUnitWidget_changed();
520 void hashLengthUnitWidgetChanged();
521 void averageAngleUnitChanged();
522 void setAverageAngle(
double val );
526 TemplatedSymbolType mSymbolType = TemplatedSymbolType::Hash;
582#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"
704 void imageSourceChanged(
const QString &text );
705 void mSizeUnitWidget_changed();
706 void mOffsetUnitWidget_changed();
707 void mHorizontalAnchorComboBox_currentIndexChanged(
int index );
708 void mVerticalAnchorComboBox_currentIndexChanged(
int index );
711 void setLockAspectRatio(
bool locked );
714 void setOpacity(
double value );
715 void updatePreviewImage();
721#include "ui_widget_animatedmarker.h"
759 void imageSourceChanged(
const QString &text );
760 void mSizeUnitWidget_changed();
761 void mOffsetUnitWidget_changed();
762 void mHorizontalAnchorComboBox_currentIndexChanged(
int index );
763 void mVerticalAnchorComboBox_currentIndexChanged(
int index );
766 void setLockAspectRatio(
bool locked );
769 void setOpacity(
double value );
770 void updatePreviewImage();
773 QMovie *mPreviewMovie =
nullptr;
779#include "ui_widget_rasterfill.h"
815 void imageSourceChanged(
const QString &text );
816 void setCoordinateMode(
int index );
817 void opacityChanged(
double value );
818 void offsetChanged();
819 void mOffsetUnitWidget_changed();
820 void mRotationSpinBox_valueChanged(
double d );
823 void updatePreviewImage();
829#include "ui_widget_rasterline.h"
866 void imageSourceChanged(
const QString &text );
867 void updatePreviewImage();
873#include "ui_widget_gradientline.h"
913#include "ui_widget_filledline.h"
954#include "ui_widget_svgfill.h"
999 void mTextureWidthSpinBox_valueChanged(
double d );
1000 void svgSourceChanged(
const QString &text );
1001 void setFile(
const QString &name );
1002 void setSvgParameters(
const QMap<QString, QgsProperty> ¶meters );
1003 void mRotationSpinBox_valueChanged(
double d );
1004 void mChangeColorButton_colorChanged(
const QColor &color );
1005 void mChangeStrokeColorButton_colorChanged(
const QColor &color );
1006 void mStrokeWidthSpinBox_valueChanged(
double d );
1007 void mTextureWidthUnitWidget_changed();
1008 void mSvgStrokeWidthUnitWidget_changed();
1013#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"
1092 void mHorizontalDistanceSpinBox_valueChanged(
double d );
1093 void mVerticalDistanceSpinBox_valueChanged(
double d );
1094 void mHorizontalDisplacementSpinBox_valueChanged(
double d );
1095 void mVerticalDisplacementSpinBox_valueChanged(
double d );
1096 void mHorizontalOffsetSpinBox_valueChanged(
double d );
1097 void mVerticalOffsetSpinBox_valueChanged(
double d );
1098 void mHorizontalDistanceUnitWidget_changed();
1099 void mVerticalDistanceUnitWidget_changed();
1100 void mHorizontalDisplacementUnitWidget_changed();
1101 void mVerticalDisplacementUnitWidget_changed();
1102 void mHorizontalOffsetUnitWidget_changed();
1103 void mVerticalOffsetUnitWidget_changed();
1109#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"
1191 void setFontFamily(
const QFont &font );
1192 void setColor(
const QColor &color );
1197 void setColorStroke(
const QColor &color );
1198 void setSize(
double size );
1199 void setAngle(
double angle );
1205 void setCharacter( QChar chr );
1212 void setCharacterFromText(
const QString &text );
1224 void setFontStyle(
const QString &style );
1227 void mSizeUnitWidget_changed();
1228 void mOffsetUnitWidget_changed();
1229 void mStrokeWidthUnitWidget_changed();
1230 void mStrokeWidthSpinBox_valueChanged(
double d );
1232 void populateFontStyleComboBox();
1233 void mFontStyleComboBox_currentIndexChanged(
int index );
1235 void mHorizontalAnchorComboBox_currentIndexChanged(
int index );
1236 void mVerticalAnchorComboBox_currentIndexChanged(
int index );
1237 void penJoinStyleChanged();
1238 void updateAssistantSymbol();
1241 std::shared_ptr<QgsMarkerSymbol> mAssistantPreviewSymbol;
1244 QFontDatabase mFontDB;
1250#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();
1333 bool mBlockChangesSignal =
false;
1337#include "ui_qgsgeometrygeneratorwidgetbase.h"
1338#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 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.