17#ifndef QGSSYMBOLLAYERWIDGET_H
18#define QGSSYMBOLLAYERWIDGET_H
26#include <QStandardItemModel>
110 void createAuxiliaryField();
118#include "ui_widget_simpleline.h"
161 void updateAssistantSymbol();
162 void penWidthChanged();
163 void colorChanged(
const QColor &color );
164 void penStyleChanged();
165 void offsetChanged();
166 void patternOffsetChanged();
167 void mCustomCheckBox_stateChanged(
int state );
168 void mChangePatternButton_clicked();
169 void mPenWidthUnitWidget_changed();
170 void mOffsetUnitWidget_changed();
171 void mDashPatternUnitWidget_changed();
172 void mDrawInsideCheckBox_stateChanged(
int state );
173 void patternOffsetUnitChanged();
176 std::shared_ptr<QgsLineSymbol> mAssistantPreviewSymbol;
181#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"
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();
293#include "ui_widget_filledmarker.h"
330 void updateAssistantSymbol();
335 void mSizeUnitWidget_changed();
336 void mOffsetUnitWidget_changed();
337 void mHorizontalAnchorComboBox_currentIndexChanged(
int index );
338 void mVerticalAnchorComboBox_currentIndexChanged(
int index );
341 std::shared_ptr<QgsMarkerSymbol> mAssistantPreviewSymbol;
346#include "ui_widget_gradientfill.h"
378 void setColor(
const QColor &color );
379 void setColor2(
const QColor &color );
384 void applyColorRamp();
385 void setGradientType(
int index );
386 void setCoordinateMode(
int index );
387 void setGradientSpread(
int index );
393 void offsetChanged();
394 void referencePointChanged();
395 void mOffsetUnitWidget_changed();
396 void colorModeChanged();
397 void mSpinAngle_valueChanged(
double value );
402#include "ui_widget_shapeburstfill.h"
434 void setColor(
const QColor &color );
435 void setColor2(
const QColor &color );
441 void colorModeChanged();
442 void mSpinBlurRadius_valueChanged(
int value );
443 void mSpinMaxDistance_valueChanged(
double value );
444 void mDistanceUnitWidget_changed();
445 void mRadioUseWholeShape_toggled(
bool value );
446 void applyColorRamp();
447 void offsetChanged();
448 void mOffsetUnitWidget_changed();
449 void mIgnoreRingsCheckBox_stateChanged(
int state );
454#include "ui_widget_templatedline.h"
497 void setInterval(
double val );
503 void setOffsetAlongLine(
double val );
507 void setHashLength(
double val );
508 void setHashAngle(
double val );
513 void mIntervalUnitWidget_changed();
514 void mOffsetUnitWidget_changed();
515 void mOffsetAlongLineUnitWidget_changed();
516 void hashLengthUnitWidgetChanged();
517 void averageAngleUnitChanged();
518 void blankSegmentsUnitChanged();
519 void setAverageAngle(
double val );
520 void toggleMapToolEditBlankSegments(
bool toggled );
522 void updateBlankSegmentsWidget();
526 int blankSegmentsFieldIndex()
const;
529 TemplatedSymbolType mSymbolType = TemplatedSymbolType::Hash;
584#include "ui_widget_svgmarker.h"
620 void setSvgPath(
const QString &name );
622 void setSvgParameters(
const QMap<QString, QgsProperty> ¶meters );
645 void svgSourceChanged(
const QString &text );
646 void mChangeColorButton_colorChanged(
const QColor &color );
647 void mChangeStrokeColorButton_colorChanged(
const QColor &color );
648 void mStrokeWidthSpinBox_valueChanged(
double d );
649 void mSizeUnitWidget_changed();
650 void mStrokeWidthUnitWidget_changed();
651 void mOffsetUnitWidget_changed();
652 void mHorizontalAnchorComboBox_currentIndexChanged(
int index );
653 void mVerticalAnchorComboBox_currentIndexChanged(
int index );
656 void lockAspectRatioChanged(
bool locked );
659 void updateAssistantSymbol();
662 std::shared_ptr<QgsMarkerSymbol> mAssistantPreviewSymbol;
667#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"
758 void imageSourceChanged(
const QString &text );
759 void mSizeUnitWidget_changed();
760 void mOffsetUnitWidget_changed();
761 void mHorizontalAnchorComboBox_currentIndexChanged(
int index );
762 void mVerticalAnchorComboBox_currentIndexChanged(
int index );
765 void setLockAspectRatio(
bool locked );
768 void setOpacity(
double value );
769 void updatePreviewImage();
772 QMovie *mPreviewMovie =
nullptr;
778#include "ui_widget_rasterfill.h"
813 void imageSourceChanged(
const QString &text );
814 void setCoordinateMode(
int index );
815 void opacityChanged(
double value );
816 void offsetChanged();
817 void mOffsetUnitWidget_changed();
818 void mRotationSpinBox_valueChanged(
double d );
821 void updatePreviewImage();
827#include "ui_widget_rasterline.h"
863 void imageSourceChanged(
const QString &text );
864 void updatePreviewImage();
870#include "ui_widget_gradientline.h"
909#include "ui_widget_filledline.h"
949#include "ui_widget_svgfill.h"
993 void mTextureWidthSpinBox_valueChanged(
double d );
994 void svgSourceChanged(
const QString &text );
995 void setFile(
const QString &name );
996 void setSvgParameters(
const QMap<QString, QgsProperty> ¶meters );
997 void mRotationSpinBox_valueChanged(
double d );
998 void mChangeColorButton_colorChanged(
const QColor &color );
999 void mChangeStrokeColorButton_colorChanged(
const QColor &color );
1000 void mStrokeWidthSpinBox_valueChanged(
double d );
1001 void mTextureWidthUnitWidget_changed();
1002 void mSvgStrokeWidthUnitWidget_changed();
1007#include "ui_widget_linepatternfill.h"
1041 void mAngleSpinBox_valueChanged(
double d );
1042 void mDistanceSpinBox_valueChanged(
double d );
1043 void mOffsetSpinBox_valueChanged(
double d );
1044 void mDistanceUnitWidget_changed();
1045 void mOffsetUnitWidget_changed();
1050#include "ui_widget_pointpatternfill.h"
1084 void mHorizontalDistanceSpinBox_valueChanged(
double d );
1085 void mVerticalDistanceSpinBox_valueChanged(
double d );
1086 void mHorizontalDisplacementSpinBox_valueChanged(
double d );
1087 void mVerticalDisplacementSpinBox_valueChanged(
double d );
1088 void mHorizontalOffsetSpinBox_valueChanged(
double d );
1089 void mVerticalOffsetSpinBox_valueChanged(
double d );
1090 void mHorizontalDistanceUnitWidget_changed();
1091 void mVerticalDistanceUnitWidget_changed();
1092 void mHorizontalDisplacementUnitWidget_changed();
1093 void mVerticalDisplacementUnitWidget_changed();
1094 void mHorizontalOffsetUnitWidget_changed();
1095 void mVerticalOffsetUnitWidget_changed();
1101#include "ui_widget_randommarkerfill.h"
1138 void countMethodChanged(
int );
1139 void countChanged(
int d );
1140 void densityAreaChanged(
double d );
1141 void densityAreaUnitChanged();
1142 void seedChanged(
int d );
1147#include "ui_widget_fontmarker.h"
1181 void setFontFamily(
const QFont &font );
1182 void setColor(
const QColor &color );
1187 void setColorStroke(
const QColor &color );
1188 void setSize(
double size );
1189 void setAngle(
double angle );
1195 void setCharacter( QChar chr );
1202 void setCharacterFromText(
const QString &text );
1214 void setFontStyle(
const QString &style );
1217 void mSizeUnitWidget_changed();
1218 void mOffsetUnitWidget_changed();
1219 void mStrokeWidthUnitWidget_changed();
1220 void mStrokeWidthSpinBox_valueChanged(
double d );
1222 void populateFontStyleComboBox();
1223 void mFontStyleComboBox_currentIndexChanged(
int index );
1225 void mHorizontalAnchorComboBox_currentIndexChanged(
int index );
1226 void mVerticalAnchorComboBox_currentIndexChanged(
int index );
1227 void penJoinStyleChanged();
1228 void updateAssistantSymbol();
1231 std::shared_ptr<QgsMarkerSymbol> mAssistantPreviewSymbol;
1234 QFontDatabase mFontDB;
1240#include "ui_widget_centroidfill.h"
1275 void mDrawInsideCheckBox_stateChanged(
int state );
1276 void mDrawAllPartsCheckBox_stateChanged(
int state );
1277 void mClipPointsCheckBox_stateChanged(
int state );
1278 void mClipOnCurrentPartOnlyCheckBox_stateChanged(
int state );
1284#include "ui_qgslinearreferencingsymbollayerwidgetbase.h"
1317 void changeNumberFormat();
1321 bool mBlockChangesSignal =
false;
1325#include "ui_qgsgeometrygeneratorwidgetbase.h"
1326#include "qgis_gui.h"
1358 int mBlockSignals = 0;
1361 void updateExpression(
const QString &
string );
1362 void updateSymbolType();
Keeps a pointer to a QObject and deletes it whenever this object is deleted.
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.