17#ifndef QGSSYMBOLLAYERWIDGET_H
18#define QGSSYMBOLLAYERWIDGET_H
26#include <QStandardItemModel>
104 void updateDataDefinedProperty();
107 void createAuxiliaryField();
115#include "ui_widget_simpleline.h"
152 void updatePatternIcon();
154 void resizeEvent( QResizeEvent *event )
override;
158 void updateAssistantSymbol();
159 void penWidthChanged();
160 void colorChanged(
const QColor &color );
161 void penStyleChanged();
162 void offsetChanged();
163 void patternOffsetChanged();
164 void mCustomCheckBox_stateChanged(
int state );
165 void mChangePatternButton_clicked();
166 void mPenWidthUnitWidget_changed();
167 void mOffsetUnitWidget_changed();
168 void mDashPatternUnitWidget_changed();
169 void mDrawInsideCheckBox_stateChanged(
int state );
170 void patternOffsetUnitChanged();
174 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();
238 std::shared_ptr< QgsMarkerSymbol > mAssistantPreviewSymbol;
243#include "ui_widget_simplefill.h"
275 void setColor(
const QColor &color );
276 void setStrokeColor(
const QColor &color );
282 void setBrushStyle();
283 void strokeWidthChanged();
284 void strokeStyleChanged();
285 void offsetChanged();
286 void mStrokeWidthUnitWidget_changed();
287 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 );
344 std::shared_ptr< QgsMarkerSymbol > mAssistantPreviewSymbol;
349#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 );
406#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_markerline.h"
492 void setInterval(
double val );
493 void setOffsetAlongLine(
double val );
503 void mIntervalUnitWidget_changed();
504 void mOffsetUnitWidget_changed();
505 void mOffsetAlongLineUnitWidget_changed();
506 void averageAngleUnitChanged();
507 void setAverageAngle(
double val );
512#include "ui_widget_hashline.h"
548 void setInterval(
double val );
549 void setOffsetAlongLine(
double val );
550 void setHashLength(
double val );
551 void setHashAngle(
double val );
556 void mIntervalUnitWidget_changed();
557 void mOffsetUnitWidget_changed();
558 void mOffsetAlongLineUnitWidget_changed();
559 void hashLengthUnitWidgetChanged();
560 void averageAngleUnitChanged();
561 void setAverageAngle(
double val );
570#include "ui_widget_svgmarker.h"
606 void setSvgPath(
const QString &name );
608 void setSvgParameters(
const QMap<QString, QgsProperty> ¶meters );
631 void svgSourceChanged(
const QString &text );
632 void mChangeColorButton_colorChanged(
const QColor &color );
633 void mChangeStrokeColorButton_colorChanged(
const QColor &color );
634 void mStrokeWidthSpinBox_valueChanged(
double d );
635 void mSizeUnitWidget_changed();
636 void mStrokeWidthUnitWidget_changed();
637 void mOffsetUnitWidget_changed();
638 void mHorizontalAnchorComboBox_currentIndexChanged(
int index );
639 void mVerticalAnchorComboBox_currentIndexChanged(
int index );
642 void lockAspectRatioChanged(
bool locked );
645 void updateAssistantSymbol();
649 std::shared_ptr< QgsMarkerSymbol > mAssistantPreviewSymbol;
655#include "ui_widget_rastermarker.h"
694 void imageSourceChanged(
const QString &text );
695 void mSizeUnitWidget_changed();
696 void mOffsetUnitWidget_changed();
697 void mHorizontalAnchorComboBox_currentIndexChanged(
int index );
698 void mVerticalAnchorComboBox_currentIndexChanged(
int index );
701 void setLockAspectRatio(
bool locked );
704 void setOpacity(
double value );
705 void updatePreviewImage();
712#include "ui_widget_animatedmarker.h"
751 void imageSourceChanged(
const QString &text );
752 void mSizeUnitWidget_changed();
753 void mOffsetUnitWidget_changed();
754 void mHorizontalAnchorComboBox_currentIndexChanged(
int index );
755 void mVerticalAnchorComboBox_currentIndexChanged(
int index );
758 void setLockAspectRatio(
bool locked );
761 void setOpacity(
double value );
762 void updatePreviewImage();
766 QMovie *mPreviewMovie =
nullptr;
773#include "ui_widget_rasterfill.h"
808 void imageSourceChanged(
const QString &text );
809 void setCoordinateMode(
int index );
810 void opacityChanged(
double value );
811 void offsetChanged();
812 void mOffsetUnitWidget_changed();
813 void mRotationSpinBox_valueChanged(
double d );
816 void updatePreviewImage();
822#include "ui_widget_rasterline.h"
860 void imageSourceChanged(
const QString &text );
861 void updatePreviewImage();
868#include "ui_widget_gradientline.h"
910#include "ui_widget_filledline.h"
953#include "ui_widget_svgfill.h"
994 void updateParamGui(
bool resetValues =
true );
997 void mTextureWidthSpinBox_valueChanged(
double d );
998 void svgSourceChanged(
const QString &text );
999 void setFile(
const QString &name );
1000 void setSvgParameters(
const QMap<QString, QgsProperty> ¶meters );
1001 void mRotationSpinBox_valueChanged(
double d );
1002 void mChangeColorButton_colorChanged(
const QColor &color );
1003 void mChangeStrokeColorButton_colorChanged(
const QColor &color );
1004 void mStrokeWidthSpinBox_valueChanged(
double d );
1005 void mTextureWidthUnitWidget_changed();
1006 void mSvgStrokeWidthUnitWidget_changed();
1011#include "ui_widget_linepatternfill.h"
1045 void mAngleSpinBox_valueChanged(
double d );
1046 void mDistanceSpinBox_valueChanged(
double d );
1047 void mOffsetSpinBox_valueChanged(
double d );
1048 void mDistanceUnitWidget_changed();
1049 void mOffsetUnitWidget_changed();
1054#include "ui_widget_pointpatternfill.h"
1088 void mHorizontalDistanceSpinBox_valueChanged(
double d );
1089 void mVerticalDistanceSpinBox_valueChanged(
double d );
1090 void mHorizontalDisplacementSpinBox_valueChanged(
double d );
1091 void mVerticalDisplacementSpinBox_valueChanged(
double d );
1092 void mHorizontalOffsetSpinBox_valueChanged(
double d );
1093 void mVerticalOffsetSpinBox_valueChanged(
double d );
1094 void mHorizontalDistanceUnitWidget_changed();
1095 void mVerticalDistanceUnitWidget_changed();
1096 void mHorizontalDisplacementUnitWidget_changed();
1097 void mVerticalDisplacementUnitWidget_changed();
1098 void mHorizontalOffsetUnitWidget_changed();
1099 void mVerticalOffsetUnitWidget_changed();
1105#include "ui_widget_randommarkerfill.h"
1144 void countMethodChanged(
int );
1145 void countChanged(
int d );
1146 void densityAreaChanged(
double d );
1147 void densityAreaUnitChanged();
1148 void seedChanged(
int d );
1153#include "ui_widget_fontmarker.h"
1187 void setFontFamily(
const QFont &font );
1188 void setColor(
const QColor &color );
1193 void setColorStroke(
const QColor &color );
1194 void setSize(
double size );
1195 void setAngle(
double angle );
1201 void setCharacter( QChar chr );
1208 void setCharacterFromText(
const QString &text );
1220 void setFontStyle(
const QString &style );
1223 void mSizeUnitWidget_changed();
1224 void mOffsetUnitWidget_changed();
1225 void mStrokeWidthUnitWidget_changed();
1226 void mStrokeWidthSpinBox_valueChanged(
double d );
1228 void populateFontStyleComboBox();
1229 void mFontStyleComboBox_currentIndexChanged(
int index );
1231 void mHorizontalAnchorComboBox_currentIndexChanged(
int index );
1232 void mVerticalAnchorComboBox_currentIndexChanged(
int index );
1233 void penJoinStyleChanged();
1234 void updateAssistantSymbol();
1238 std::shared_ptr< QgsMarkerSymbol > mAssistantPreviewSymbol;
1241 QFontDatabase mFontDB;
1248#include "ui_widget_centroidfill.h"
1283 void mDrawInsideCheckBox_stateChanged(
int state );
1284 void mDrawAllPartsCheckBox_stateChanged(
int state );
1285 void mClipPointsCheckBox_stateChanged(
int state );
1286 void mClipOnCurrentPartOnlyCheckBox_stateChanged(
int state );
1292#include "ui_qgslinearreferencingsymbollayerwidgetbase.h"
1326 void changeNumberFormat();
1331 bool mBlockChangesSignal =
false;
1335#include "ui_qgsgeometrygeneratorwidgetbase.h"
1336#include "qgis_gui.h"
1368 int mBlockSignals = 0;
1371 void updateExpression(
const QString &
string );
1372 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.