17#ifndef QGSSYMBOLLAYERWIDGET_H
18#define QGSSYMBOLLAYERWIDGET_H
26#include <QStandardItemModel>
102 void updateDataDefinedProperty();
105 void createAuxiliaryField();
113#include "ui_widget_simpleline.h"
149 void updatePatternIcon();
151 void resizeEvent( QResizeEvent *event )
override;
155 void updateAssistantSymbol();
156 void penWidthChanged();
157 void colorChanged(
const QColor &color );
158 void penStyleChanged();
159 void offsetChanged();
160 void patternOffsetChanged();
161 void mCustomCheckBox_stateChanged(
int state );
162 void mChangePatternButton_clicked();
163 void mPenWidthUnitWidget_changed();
164 void mOffsetUnitWidget_changed();
165 void mDashPatternUnitWidget_changed();
166 void mDrawInsideCheckBox_stateChanged(
int state );
167 void patternOffsetUnitChanged();
170 std::shared_ptr<QgsLineSymbol> mAssistantPreviewSymbol;
175#include "ui_widget_simplemarker.h"
208 void setColorStroke(
const QColor &color );
209 void setColorFill(
const QColor &color );
218 void mSizeUnitWidget_changed();
219 void mOffsetUnitWidget_changed();
220 void mStrokeWidthUnitWidget_changed();
221 void mStrokeStyleComboBox_currentIndexChanged(
int index );
222 void mStrokeWidthSpinBox_valueChanged(
double d );
223 void mHorizontalAnchorComboBox_currentIndexChanged(
int index );
224 void mVerticalAnchorComboBox_currentIndexChanged(
int index );
226 void updateAssistantSymbol();
227 void penJoinStyleChanged();
228 void penCapStyleChanged();
231 std::shared_ptr<QgsMarkerSymbol> mAssistantPreviewSymbol;
236#include "ui_widget_simplefill.h"
267 void setColor(
const QColor &color );
268 void setStrokeColor(
const QColor &color );
274 void setBrushStyle();
275 void strokeWidthChanged();
276 void strokeStyleChanged();
277 void offsetChanged();
278 void mStrokeWidthUnitWidget_changed();
279 void mOffsetUnitWidget_changed();
285#include "ui_widget_filledmarker.h"
322 void updateAssistantSymbol();
327 void mSizeUnitWidget_changed();
328 void mOffsetUnitWidget_changed();
329 void mHorizontalAnchorComboBox_currentIndexChanged(
int index );
330 void mVerticalAnchorComboBox_currentIndexChanged(
int index );
333 std::shared_ptr<QgsMarkerSymbol> mAssistantPreviewSymbol;
338#include "ui_widget_gradientfill.h"
369 void setColor(
const QColor &color );
370 void setColor2(
const QColor &color );
375 void applyColorRamp();
376 void setGradientType(
int index );
377 void setCoordinateMode(
int index );
378 void setGradientSpread(
int index );
384 void offsetChanged();
385 void referencePointChanged();
386 void mOffsetUnitWidget_changed();
387 void colorModeChanged();
388 void mSpinAngle_valueChanged(
double value );
393#include "ui_widget_shapeburstfill.h"
424 void setColor(
const QColor &color );
425 void setColor2(
const QColor &color );
431 void colorModeChanged();
432 void mSpinBlurRadius_valueChanged(
int value );
433 void mSpinMaxDistance_valueChanged(
double value );
434 void mDistanceUnitWidget_changed();
435 void mRadioUseWholeShape_toggled(
bool value );
436 void applyColorRamp();
437 void offsetChanged();
438 void mOffsetUnitWidget_changed();
439 void mIgnoreRingsCheckBox_stateChanged(
int state );
444#include "ui_widget_markerline.h"
477 void setInterval(
double val );
478 void setOffsetAlongLine(
double val );
487 void mIntervalUnitWidget_changed();
488 void mOffsetUnitWidget_changed();
489 void mOffsetAlongLineUnitWidget_changed();
490 void averageAngleUnitChanged();
491 void setAverageAngle(
double val );
495#include "ui_widget_hashline.h"
530 void setInterval(
double val );
531 void setOffsetAlongLine(
double val );
532 void setHashLength(
double val );
533 void setHashAngle(
double val );
538 void mIntervalUnitWidget_changed();
539 void mOffsetUnitWidget_changed();
540 void mOffsetAlongLineUnitWidget_changed();
541 void hashLengthUnitWidgetChanged();
542 void averageAngleUnitChanged();
543 void setAverageAngle(
double val );
551#include "ui_widget_svgmarker.h"
586 void setSvgPath(
const QString &name );
588 void setSvgParameters(
const QMap<QString, QgsProperty> ¶meters );
611 void svgSourceChanged(
const QString &text );
612 void mChangeColorButton_colorChanged(
const QColor &color );
613 void mChangeStrokeColorButton_colorChanged(
const QColor &color );
614 void mStrokeWidthSpinBox_valueChanged(
double d );
615 void mSizeUnitWidget_changed();
616 void mStrokeWidthUnitWidget_changed();
617 void mOffsetUnitWidget_changed();
618 void mHorizontalAnchorComboBox_currentIndexChanged(
int index );
619 void mVerticalAnchorComboBox_currentIndexChanged(
int index );
622 void lockAspectRatioChanged(
bool locked );
625 void updateAssistantSymbol();
628 std::shared_ptr<QgsMarkerSymbol> mAssistantPreviewSymbol;
633#include "ui_widget_rastermarker.h"
670 void imageSourceChanged(
const QString &text );
671 void mSizeUnitWidget_changed();
672 void mOffsetUnitWidget_changed();
673 void mHorizontalAnchorComboBox_currentIndexChanged(
int index );
674 void mVerticalAnchorComboBox_currentIndexChanged(
int index );
677 void setLockAspectRatio(
bool locked );
680 void setOpacity(
double value );
681 void updatePreviewImage();
687#include "ui_widget_animatedmarker.h"
724 void imageSourceChanged(
const QString &text );
725 void mSizeUnitWidget_changed();
726 void mOffsetUnitWidget_changed();
727 void mHorizontalAnchorComboBox_currentIndexChanged(
int index );
728 void mVerticalAnchorComboBox_currentIndexChanged(
int index );
731 void setLockAspectRatio(
bool locked );
734 void setOpacity(
double value );
735 void updatePreviewImage();
738 QMovie *mPreviewMovie =
nullptr;
744#include "ui_widget_rasterfill.h"
778 void imageSourceChanged(
const QString &text );
779 void setCoordinateMode(
int index );
780 void opacityChanged(
double value );
781 void offsetChanged();
782 void mOffsetUnitWidget_changed();
783 void mRotationSpinBox_valueChanged(
double d );
786 void updatePreviewImage();
792#include "ui_widget_rasterline.h"
828 void imageSourceChanged(
const QString &text );
829 void updatePreviewImage();
835#include "ui_widget_gradientline.h"
874#include "ui_widget_filledline.h"
914#include "ui_widget_svgfill.h"
954 void updateParamGui(
bool resetValues =
true );
957 void mTextureWidthSpinBox_valueChanged(
double d );
958 void svgSourceChanged(
const QString &text );
959 void setFile(
const QString &name );
960 void setSvgParameters(
const QMap<QString, QgsProperty> ¶meters );
961 void mRotationSpinBox_valueChanged(
double d );
962 void mChangeColorButton_colorChanged(
const QColor &color );
963 void mChangeStrokeColorButton_colorChanged(
const QColor &color );
964 void mStrokeWidthSpinBox_valueChanged(
double d );
965 void mTextureWidthUnitWidget_changed();
966 void mSvgStrokeWidthUnitWidget_changed();
971#include "ui_widget_linepatternfill.h"
1004 void mAngleSpinBox_valueChanged(
double d );
1005 void mDistanceSpinBox_valueChanged(
double d );
1006 void mOffsetSpinBox_valueChanged(
double d );
1007 void mDistanceUnitWidget_changed();
1008 void mOffsetUnitWidget_changed();
1013#include "ui_widget_pointpatternfill.h"
1046 void mHorizontalDistanceSpinBox_valueChanged(
double d );
1047 void mVerticalDistanceSpinBox_valueChanged(
double d );
1048 void mHorizontalDisplacementSpinBox_valueChanged(
double d );
1049 void mVerticalDisplacementSpinBox_valueChanged(
double d );
1050 void mHorizontalOffsetSpinBox_valueChanged(
double d );
1051 void mVerticalOffsetSpinBox_valueChanged(
double d );
1052 void mHorizontalDistanceUnitWidget_changed();
1053 void mVerticalDistanceUnitWidget_changed();
1054 void mHorizontalDisplacementUnitWidget_changed();
1055 void mVerticalDisplacementUnitWidget_changed();
1056 void mHorizontalOffsetUnitWidget_changed();
1057 void mVerticalOffsetUnitWidget_changed();
1063#include "ui_widget_randommarkerfill.h"
1101 void countMethodChanged(
int );
1102 void countChanged(
int d );
1103 void densityAreaChanged(
double d );
1104 void densityAreaUnitChanged();
1105 void seedChanged(
int d );
1110#include "ui_widget_fontmarker.h"
1143 void setFontFamily(
const QFont &font );
1144 void setColor(
const QColor &color );
1149 void setColorStroke(
const QColor &color );
1150 void setSize(
double size );
1151 void setAngle(
double angle );
1157 void setCharacter( QChar chr );
1164 void setCharacterFromText(
const QString &text );
1176 void setFontStyle(
const QString &style );
1179 void mSizeUnitWidget_changed();
1180 void mOffsetUnitWidget_changed();
1181 void mStrokeWidthUnitWidget_changed();
1182 void mStrokeWidthSpinBox_valueChanged(
double d );
1184 void populateFontStyleComboBox();
1185 void mFontStyleComboBox_currentIndexChanged(
int index );
1187 void mHorizontalAnchorComboBox_currentIndexChanged(
int index );
1188 void mVerticalAnchorComboBox_currentIndexChanged(
int index );
1189 void penJoinStyleChanged();
1190 void updateAssistantSymbol();
1193 std::shared_ptr<QgsMarkerSymbol> mAssistantPreviewSymbol;
1196 QFontDatabase mFontDB;
1202#include "ui_widget_centroidfill.h"
1236 void mDrawInsideCheckBox_stateChanged(
int state );
1237 void mDrawAllPartsCheckBox_stateChanged(
int state );
1238 void mClipPointsCheckBox_stateChanged(
int state );
1239 void mClipOnCurrentPartOnlyCheckBox_stateChanged(
int state );
1245#include "ui_qgslinearreferencingsymbollayerwidgetbase.h"
1278 void changeNumberFormat();
1282 bool mBlockChangesSignal =
false;
1286#include "ui_qgsgeometrygeneratorwidgetbase.h"
1287#include "qgis_gui.h"
1318 int mBlockSignals = 0;
1321 void updateExpression(
const QString &
string );
1322 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.
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.