17#ifndef QGSSYMBOLLAYERWIDGET_H
18#define QGSSYMBOLLAYERWIDGET_H
25#include <QStandardItemModel>
106 void createAuxiliaryField();
114#include "ui_widget_simpleline.h"
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_templatedline.h"
492 void setInterval(
double val );
498 void setOffsetAlongLine(
double val );
502 void setHashLength(
double val );
503 void setHashAngle(
double val );
508 void mIntervalUnitWidget_changed();
509 void mOffsetUnitWidget_changed();
510 void mOffsetAlongLineUnitWidget_changed();
511 void hashLengthUnitWidgetChanged();
512 void averageAngleUnitChanged();
513 void setAverageAngle(
double val );
517 TemplatedSymbolType mSymbolType = TemplatedSymbolType::Hash;
571#include "ui_widget_svgmarker.h"
607 void setSvgPath(
const QString &name );
609 void setSvgParameters(
const QMap<QString, QgsProperty> ¶meters );
632 void svgSourceChanged(
const QString &text );
633 void mChangeColorButton_colorChanged(
const QColor &color );
634 void mChangeStrokeColorButton_colorChanged(
const QColor &color );
635 void mStrokeWidthSpinBox_valueChanged(
double d );
636 void mSizeUnitWidget_changed();
637 void mStrokeWidthUnitWidget_changed();
638 void mOffsetUnitWidget_changed();
639 void mHorizontalAnchorComboBox_currentIndexChanged(
int index );
640 void mVerticalAnchorComboBox_currentIndexChanged(
int index );
643 void lockAspectRatioChanged(
bool locked );
646 void updateAssistantSymbol();
649 std::shared_ptr<QgsMarkerSymbol> mAssistantPreviewSymbol;
654#include "ui_widget_rastermarker.h"
691 void imageSourceChanged(
const QString &text );
692 void mSizeUnitWidget_changed();
693 void mOffsetUnitWidget_changed();
694 void mHorizontalAnchorComboBox_currentIndexChanged(
int index );
695 void mVerticalAnchorComboBox_currentIndexChanged(
int index );
698 void setLockAspectRatio(
bool locked );
701 void setOpacity(
double value );
702 void updatePreviewImage();
708#include "ui_widget_animatedmarker.h"
745 void imageSourceChanged(
const QString &text );
746 void mSizeUnitWidget_changed();
747 void mOffsetUnitWidget_changed();
748 void mHorizontalAnchorComboBox_currentIndexChanged(
int index );
749 void mVerticalAnchorComboBox_currentIndexChanged(
int index );
752 void setLockAspectRatio(
bool locked );
755 void setOpacity(
double value );
756 void updatePreviewImage();
759 QMovie *mPreviewMovie =
nullptr;
765#include "ui_widget_rasterfill.h"
800 void imageSourceChanged(
const QString &text );
801 void setCoordinateMode(
int index );
802 void opacityChanged(
double value );
803 void offsetChanged();
804 void mOffsetUnitWidget_changed();
805 void mRotationSpinBox_valueChanged(
double d );
808 void updatePreviewImage();
814#include "ui_widget_rasterline.h"
850 void imageSourceChanged(
const QString &text );
851 void updatePreviewImage();
857#include "ui_widget_gradientline.h"
896#include "ui_widget_filledline.h"
936#include "ui_widget_svgfill.h"
980 void mTextureWidthSpinBox_valueChanged(
double d );
981 void svgSourceChanged(
const QString &text );
982 void setFile(
const QString &name );
983 void setSvgParameters(
const QMap<QString, QgsProperty> ¶meters );
984 void mRotationSpinBox_valueChanged(
double d );
985 void mChangeColorButton_colorChanged(
const QColor &color );
986 void mChangeStrokeColorButton_colorChanged(
const QColor &color );
987 void mStrokeWidthSpinBox_valueChanged(
double d );
988 void mTextureWidthUnitWidget_changed();
989 void mSvgStrokeWidthUnitWidget_changed();
994#include "ui_widget_linepatternfill.h"
1028 void mAngleSpinBox_valueChanged(
double d );
1029 void mDistanceSpinBox_valueChanged(
double d );
1030 void mOffsetSpinBox_valueChanged(
double d );
1031 void mDistanceUnitWidget_changed();
1032 void mOffsetUnitWidget_changed();
1037#include "ui_widget_pointpatternfill.h"
1071 void mHorizontalDistanceSpinBox_valueChanged(
double d );
1072 void mVerticalDistanceSpinBox_valueChanged(
double d );
1073 void mHorizontalDisplacementSpinBox_valueChanged(
double d );
1074 void mVerticalDisplacementSpinBox_valueChanged(
double d );
1075 void mHorizontalOffsetSpinBox_valueChanged(
double d );
1076 void mVerticalOffsetSpinBox_valueChanged(
double d );
1077 void mHorizontalDistanceUnitWidget_changed();
1078 void mVerticalDistanceUnitWidget_changed();
1079 void mHorizontalDisplacementUnitWidget_changed();
1080 void mVerticalDisplacementUnitWidget_changed();
1081 void mHorizontalOffsetUnitWidget_changed();
1082 void mVerticalOffsetUnitWidget_changed();
1088#include "ui_widget_randommarkerfill.h"
1125 void countMethodChanged(
int );
1126 void countChanged(
int d );
1127 void densityAreaChanged(
double d );
1128 void densityAreaUnitChanged();
1129 void seedChanged(
int d );
1134#include "ui_widget_fontmarker.h"
1168 void setFontFamily(
const QFont &font );
1169 void setColor(
const QColor &color );
1174 void setColorStroke(
const QColor &color );
1175 void setSize(
double size );
1176 void setAngle(
double angle );
1182 void setCharacter( QChar chr );
1189 void setCharacterFromText(
const QString &text );
1201 void setFontStyle(
const QString &style );
1204 void mSizeUnitWidget_changed();
1205 void mOffsetUnitWidget_changed();
1206 void mStrokeWidthUnitWidget_changed();
1207 void mStrokeWidthSpinBox_valueChanged(
double d );
1209 void populateFontStyleComboBox();
1210 void mFontStyleComboBox_currentIndexChanged(
int index );
1212 void mHorizontalAnchorComboBox_currentIndexChanged(
int index );
1213 void mVerticalAnchorComboBox_currentIndexChanged(
int index );
1214 void penJoinStyleChanged();
1215 void updateAssistantSymbol();
1218 std::shared_ptr<QgsMarkerSymbol> mAssistantPreviewSymbol;
1221 QFontDatabase mFontDB;
1227#include "ui_widget_centroidfill.h"
1262 void mDrawInsideCheckBox_stateChanged(
int state );
1263 void mDrawAllPartsCheckBox_stateChanged(
int state );
1264 void mClipPointsCheckBox_stateChanged(
int state );
1265 void mClipOnCurrentPartOnlyCheckBox_stateChanged(
int state );
1271#include "ui_qgslinearreferencingsymbollayerwidgetbase.h"
1304 void changeNumberFormat();
1308 bool mBlockChangesSignal =
false;
1312#include "ui_qgsgeometrygeneratorwidgetbase.h"
1313#include "qgis_gui.h"
1345 int mBlockSignals = 0;
1348 void updateExpression(
const QString &
string );
1349 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.