17#ifndef QGSSYMBOLLAYERWIDGET_H
18#define QGSSYMBOLLAYERWIDGET_H
26#include <QStandardItemModel>
103 void updateDataDefinedProperty();
106 void createAuxiliaryField();
114#include "ui_widget_simpleline.h"
151 void updatePatternIcon();
153 void resizeEvent( QResizeEvent *event )
override;
157 void updateAssistantSymbol();
158 void penWidthChanged();
159 void colorChanged(
const QColor &color );
160 void penStyleChanged();
161 void offsetChanged();
162 void patternOffsetChanged();
163 void mCustomCheckBox_stateChanged(
int state );
164 void mChangePatternButton_clicked();
165 void mPenWidthUnitWidget_changed();
166 void mOffsetUnitWidget_changed();
167 void mDashPatternUnitWidget_changed();
168 void mDrawInsideCheckBox_stateChanged(
int state );
169 void patternOffsetUnitChanged();
172 std::shared_ptr<QgsLineSymbol> mAssistantPreviewSymbol;
177#include "ui_widget_simplemarker.h"
211 void setColorStroke(
const QColor &color );
212 void setColorFill(
const QColor &color );
221 void mSizeUnitWidget_changed();
222 void mOffsetUnitWidget_changed();
223 void mStrokeWidthUnitWidget_changed();
224 void mStrokeStyleComboBox_currentIndexChanged(
int index );
225 void mStrokeWidthSpinBox_valueChanged(
double d );
226 void mHorizontalAnchorComboBox_currentIndexChanged(
int index );
227 void mVerticalAnchorComboBox_currentIndexChanged(
int index );
229 void updateAssistantSymbol();
230 void penJoinStyleChanged();
231 void penCapStyleChanged();
234 std::shared_ptr<QgsMarkerSymbol> mAssistantPreviewSymbol;
239#include "ui_widget_simplefill.h"
271 void setColor(
const QColor &color );
272 void setStrokeColor(
const QColor &color );
278 void setBrushStyle();
279 void strokeWidthChanged();
280 void strokeStyleChanged();
281 void offsetChanged();
282 void mStrokeWidthUnitWidget_changed();
283 void mOffsetUnitWidget_changed();
289#include "ui_widget_filledmarker.h"
326 void updateAssistantSymbol();
331 void mSizeUnitWidget_changed();
332 void mOffsetUnitWidget_changed();
333 void mHorizontalAnchorComboBox_currentIndexChanged(
int index );
334 void mVerticalAnchorComboBox_currentIndexChanged(
int index );
337 std::shared_ptr<QgsMarkerSymbol> mAssistantPreviewSymbol;
342#include "ui_widget_gradientfill.h"
374 void setColor(
const QColor &color );
375 void setColor2(
const QColor &color );
380 void applyColorRamp();
381 void setGradientType(
int index );
382 void setCoordinateMode(
int index );
383 void setGradientSpread(
int index );
389 void offsetChanged();
390 void referencePointChanged();
391 void mOffsetUnitWidget_changed();
392 void colorModeChanged();
393 void mSpinAngle_valueChanged(
double value );
398#include "ui_widget_shapeburstfill.h"
430 void setColor(
const QColor &color );
431 void setColor2(
const QColor &color );
437 void colorModeChanged();
438 void mSpinBlurRadius_valueChanged(
int value );
439 void mSpinMaxDistance_valueChanged(
double value );
440 void mDistanceUnitWidget_changed();
441 void mRadioUseWholeShape_toggled(
bool value );
442 void applyColorRamp();
443 void offsetChanged();
444 void mOffsetUnitWidget_changed();
445 void mIgnoreRingsCheckBox_stateChanged(
int state );
450#include "ui_widget_markerline.h"
484 void setInterval(
double val );
485 void setOffsetAlongLine(
double val );
494 void mIntervalUnitWidget_changed();
495 void mOffsetUnitWidget_changed();
496 void mOffsetAlongLineUnitWidget_changed();
497 void averageAngleUnitChanged();
498 void setAverageAngle(
double val );
502#include "ui_widget_hashline.h"
537 void setInterval(
double val );
538 void setOffsetAlongLine(
double val );
539 void setHashLength(
double val );
540 void setHashAngle(
double val );
545 void mIntervalUnitWidget_changed();
546 void mOffsetUnitWidget_changed();
547 void mOffsetAlongLineUnitWidget_changed();
548 void hashLengthUnitWidgetChanged();
549 void averageAngleUnitChanged();
550 void setAverageAngle(
double val );
558#include "ui_widget_svgmarker.h"
594 void setSvgPath(
const QString &name );
596 void setSvgParameters(
const QMap<QString, QgsProperty> ¶meters );
619 void svgSourceChanged(
const QString &text );
620 void mChangeColorButton_colorChanged(
const QColor &color );
621 void mChangeStrokeColorButton_colorChanged(
const QColor &color );
622 void mStrokeWidthSpinBox_valueChanged(
double d );
623 void mSizeUnitWidget_changed();
624 void mStrokeWidthUnitWidget_changed();
625 void mOffsetUnitWidget_changed();
626 void mHorizontalAnchorComboBox_currentIndexChanged(
int index );
627 void mVerticalAnchorComboBox_currentIndexChanged(
int index );
630 void lockAspectRatioChanged(
bool locked );
633 void updateAssistantSymbol();
636 std::shared_ptr<QgsMarkerSymbol> mAssistantPreviewSymbol;
641#include "ui_widget_rastermarker.h"
678 void imageSourceChanged(
const QString &text );
679 void mSizeUnitWidget_changed();
680 void mOffsetUnitWidget_changed();
681 void mHorizontalAnchorComboBox_currentIndexChanged(
int index );
682 void mVerticalAnchorComboBox_currentIndexChanged(
int index );
685 void setLockAspectRatio(
bool locked );
688 void setOpacity(
double value );
689 void updatePreviewImage();
695#include "ui_widget_animatedmarker.h"
732 void imageSourceChanged(
const QString &text );
733 void mSizeUnitWidget_changed();
734 void mOffsetUnitWidget_changed();
735 void mHorizontalAnchorComboBox_currentIndexChanged(
int index );
736 void mVerticalAnchorComboBox_currentIndexChanged(
int index );
739 void setLockAspectRatio(
bool locked );
742 void setOpacity(
double value );
743 void updatePreviewImage();
746 QMovie *mPreviewMovie =
nullptr;
752#include "ui_widget_rasterfill.h"
787 void imageSourceChanged(
const QString &text );
788 void setCoordinateMode(
int index );
789 void opacityChanged(
double value );
790 void offsetChanged();
791 void mOffsetUnitWidget_changed();
792 void mRotationSpinBox_valueChanged(
double d );
795 void updatePreviewImage();
801#include "ui_widget_rasterline.h"
837 void imageSourceChanged(
const QString &text );
838 void updatePreviewImage();
844#include "ui_widget_gradientline.h"
883#include "ui_widget_filledline.h"
923#include "ui_widget_svgfill.h"
964 void updateParamGui(
bool resetValues =
true );
967 void mTextureWidthSpinBox_valueChanged(
double d );
968 void svgSourceChanged(
const QString &text );
969 void setFile(
const QString &name );
970 void setSvgParameters(
const QMap<QString, QgsProperty> ¶meters );
971 void mRotationSpinBox_valueChanged(
double d );
972 void mChangeColorButton_colorChanged(
const QColor &color );
973 void mChangeStrokeColorButton_colorChanged(
const QColor &color );
974 void mStrokeWidthSpinBox_valueChanged(
double d );
975 void mTextureWidthUnitWidget_changed();
976 void mSvgStrokeWidthUnitWidget_changed();
981#include "ui_widget_linepatternfill.h"
1015 void mAngleSpinBox_valueChanged(
double d );
1016 void mDistanceSpinBox_valueChanged(
double d );
1017 void mOffsetSpinBox_valueChanged(
double d );
1018 void mDistanceUnitWidget_changed();
1019 void mOffsetUnitWidget_changed();
1024#include "ui_widget_pointpatternfill.h"
1058 void mHorizontalDistanceSpinBox_valueChanged(
double d );
1059 void mVerticalDistanceSpinBox_valueChanged(
double d );
1060 void mHorizontalDisplacementSpinBox_valueChanged(
double d );
1061 void mVerticalDisplacementSpinBox_valueChanged(
double d );
1062 void mHorizontalOffsetSpinBox_valueChanged(
double d );
1063 void mVerticalOffsetSpinBox_valueChanged(
double d );
1064 void mHorizontalDistanceUnitWidget_changed();
1065 void mVerticalDistanceUnitWidget_changed();
1066 void mHorizontalDisplacementUnitWidget_changed();
1067 void mVerticalDisplacementUnitWidget_changed();
1068 void mHorizontalOffsetUnitWidget_changed();
1069 void mVerticalOffsetUnitWidget_changed();
1075#include "ui_widget_randommarkerfill.h"
1112 void countMethodChanged(
int );
1113 void countChanged(
int d );
1114 void densityAreaChanged(
double d );
1115 void densityAreaUnitChanged();
1116 void seedChanged(
int d );
1121#include "ui_widget_fontmarker.h"
1155 void setFontFamily(
const QFont &font );
1156 void setColor(
const QColor &color );
1161 void setColorStroke(
const QColor &color );
1162 void setSize(
double size );
1163 void setAngle(
double angle );
1169 void setCharacter( QChar chr );
1176 void setCharacterFromText(
const QString &text );
1188 void setFontStyle(
const QString &style );
1191 void mSizeUnitWidget_changed();
1192 void mOffsetUnitWidget_changed();
1193 void mStrokeWidthUnitWidget_changed();
1194 void mStrokeWidthSpinBox_valueChanged(
double d );
1196 void populateFontStyleComboBox();
1197 void mFontStyleComboBox_currentIndexChanged(
int index );
1199 void mHorizontalAnchorComboBox_currentIndexChanged(
int index );
1200 void mVerticalAnchorComboBox_currentIndexChanged(
int index );
1201 void penJoinStyleChanged();
1202 void updateAssistantSymbol();
1205 std::shared_ptr<QgsMarkerSymbol> mAssistantPreviewSymbol;
1208 QFontDatabase mFontDB;
1214#include "ui_widget_centroidfill.h"
1249 void mDrawInsideCheckBox_stateChanged(
int state );
1250 void mDrawAllPartsCheckBox_stateChanged(
int state );
1251 void mClipPointsCheckBox_stateChanged(
int state );
1252 void mClipOnCurrentPartOnlyCheckBox_stateChanged(
int state );
1258#include "ui_qgslinearreferencingsymbollayerwidgetbase.h"
1291 void changeNumberFormat();
1295 bool mBlockChangesSignal =
false;
1299#include "ui_qgsgeometrygeneratorwidgetbase.h"
1300#include "qgis_gui.h"
1332 int mBlockSignals = 0;
1335 void updateExpression(
const QString &
string );
1336 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.
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 according 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 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,...
Represents a vector layer which manages a vector based dataset.