17#ifndef QGSSYMBOLLAYERWIDGET_H
18#define QGSSYMBOLLAYERWIDGET_H
26#include <QStandardItemModel>
87 QPointer<QgsVectorLayer> mVectorLayer;
109 void createAuxiliaryField();
117#include "ui_widget_simpleline.h"
160 void updateAssistantSymbol();
161 void penWidthChanged();
162 void colorChanged(
const QColor &color );
163 void penStyleChanged();
164 void offsetChanged();
165 void patternOffsetChanged();
166 void mCustomCheckBox_stateChanged(
int state );
167 void mChangePatternButton_clicked();
168 void mPenWidthUnitWidget_changed();
169 void mOffsetUnitWidget_changed();
170 void mDashPatternUnitWidget_changed();
171 void mDrawInsideCheckBox_stateChanged(
int state );
172 void patternOffsetUnitChanged();
175 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();
237 std::shared_ptr<QgsMarkerSymbol> mAssistantPreviewSymbol;
242#include "ui_widget_simplefill.h"
274 void setColor(
const QColor &color );
275 void setStrokeColor(
const QColor &color );
281 void setBrushStyle();
282 void strokeWidthChanged();
283 void strokeStyleChanged();
284 void offsetChanged();
285 void mStrokeWidthUnitWidget_changed();
286 void mOffsetUnitWidget_changed();
292#include "ui_widget_filledmarker.h"
329 void updateAssistantSymbol();
334 void mSizeUnitWidget_changed();
335 void mOffsetUnitWidget_changed();
336 void mHorizontalAnchorComboBox_currentIndexChanged(
int index );
337 void mVerticalAnchorComboBox_currentIndexChanged(
int index );
340 std::shared_ptr<QgsMarkerSymbol> mAssistantPreviewSymbol;
345#include "ui_widget_gradientfill.h"
377 void setColor(
const QColor &color );
378 void setColor2(
const QColor &color );
383 void applyColorRamp();
384 void setGradientType(
int index );
385 void setCoordinateMode(
int index );
386 void setGradientSpread(
int index );
392 void offsetChanged();
393 void referencePointChanged();
394 void mOffsetUnitWidget_changed();
395 void colorModeChanged();
396 void mSpinAngle_valueChanged(
double value );
401#include "ui_widget_shapeburstfill.h"
433 void setColor(
const QColor &color );
434 void setColor2(
const QColor &color );
440 void colorModeChanged();
441 void mSpinBlurRadius_valueChanged(
int value );
442 void mSpinMaxDistance_valueChanged(
double value );
443 void mDistanceUnitWidget_changed();
444 void mRadioUseWholeShape_toggled(
bool value );
445 void applyColorRamp();
446 void offsetChanged();
447 void mOffsetUnitWidget_changed();
448 void mIgnoreRingsCheckBox_stateChanged(
int state );
453#include "ui_widget_templatedline.h"
488 bool event( QEvent *e )
override;
502 void setInterval(
double val );
508 void setOffsetAlongLine(
double val );
512 void setHashLength(
double val );
513 void setHashAngle(
double val );
518 void mIntervalUnitWidget_changed();
519 void mOffsetUnitWidget_changed();
520 void mOffsetAlongLineUnitWidget_changed();
521 void hashLengthUnitWidgetChanged();
522 void averageAngleUnitChanged();
523 void blankSegmentsUnitChanged();
524 void setAverageAngle(
double val );
525 void toggleMapToolEditBlankSegments(
bool toggled );
526 void toggleMapToolAddExtraItem(
bool toggled );
527 void toggleMapToolModifyExtraItem(
bool toggled );
528 void updatePerFeatureCustomizationWidget();
532 TemplatedSymbolType mSymbolType = TemplatedSymbolType::Hash;
589#include "ui_widget_svgmarker.h"
625 void setSvgPath(
const QString &name );
627 void setSvgParameters(
const QMap<QString, QgsProperty> ¶meters );
650 void svgSourceChanged(
const QString &text );
651 void mChangeColorButton_colorChanged(
const QColor &color );
652 void mChangeStrokeColorButton_colorChanged(
const QColor &color );
653 void mStrokeWidthSpinBox_valueChanged(
double d );
654 void mSizeUnitWidget_changed();
655 void mStrokeWidthUnitWidget_changed();
656 void mOffsetUnitWidget_changed();
657 void mHorizontalAnchorComboBox_currentIndexChanged(
int index );
658 void mVerticalAnchorComboBox_currentIndexChanged(
int index );
661 void lockAspectRatioChanged(
bool locked );
664 void updateAssistantSymbol();
667 std::shared_ptr<QgsMarkerSymbol> mAssistantPreviewSymbol;
672#include "ui_widget_rastermarker.h"
709 void imageSourceChanged(
const QString &text );
710 void mSizeUnitWidget_changed();
711 void mOffsetUnitWidget_changed();
712 void mHorizontalAnchorComboBox_currentIndexChanged(
int index );
713 void mVerticalAnchorComboBox_currentIndexChanged(
int index );
716 void setLockAspectRatio(
bool locked );
719 void setOpacity(
double value );
720 void updatePreviewImage();
726#include "ui_widget_animatedmarker.h"
763 void imageSourceChanged(
const QString &text );
764 void mSizeUnitWidget_changed();
765 void mOffsetUnitWidget_changed();
766 void mHorizontalAnchorComboBox_currentIndexChanged(
int index );
767 void mVerticalAnchorComboBox_currentIndexChanged(
int index );
770 void setLockAspectRatio(
bool locked );
773 void setOpacity(
double value );
774 void updatePreviewImage();
777 QMovie *mPreviewMovie =
nullptr;
783#include "ui_widget_rasterfill.h"
818 void imageSourceChanged(
const QString &text );
819 void setCoordinateMode(
int index );
820 void opacityChanged(
double value );
821 void offsetChanged();
822 void mOffsetUnitWidget_changed();
823 void mRotationSpinBox_valueChanged(
double d );
826 void updatePreviewImage();
832#include "ui_widget_rasterline.h"
868 void imageSourceChanged(
const QString &text );
869 void updatePreviewImage();
875#include "ui_widget_gradientline.h"
914#include "ui_widget_filledline.h"
954#include "ui_widget_svgfill.h"
998 void mTextureWidthSpinBox_valueChanged(
double d );
999 void svgSourceChanged(
const QString &text );
1000 void setFile(
const QString &name );
1001 void setSvgParameters(
const QMap<QString, QgsProperty> ¶meters );
1002 void mRotationSpinBox_valueChanged(
double d );
1003 void mChangeColorButton_colorChanged(
const QColor &color );
1004 void mChangeStrokeColorButton_colorChanged(
const QColor &color );
1005 void mStrokeWidthSpinBox_valueChanged(
double d );
1006 void mTextureWidthUnitWidget_changed();
1007 void mSvgStrokeWidthUnitWidget_changed();
1012#include "ui_widget_linepatternfill.h"
1046 void mAngleSpinBox_valueChanged(
double d );
1047 void mDistanceSpinBox_valueChanged(
double d );
1048 void mOffsetSpinBox_valueChanged(
double d );
1049 void mDistanceUnitWidget_changed();
1050 void mOffsetUnitWidget_changed();
1055#include "ui_widget_pointpatternfill.h"
1089 void mHorizontalDistanceSpinBox_valueChanged(
double d );
1090 void mVerticalDistanceSpinBox_valueChanged(
double d );
1091 void mHorizontalDisplacementSpinBox_valueChanged(
double d );
1092 void mVerticalDisplacementSpinBox_valueChanged(
double d );
1093 void mHorizontalOffsetSpinBox_valueChanged(
double d );
1094 void mVerticalOffsetSpinBox_valueChanged(
double d );
1095 void mHorizontalDistanceUnitWidget_changed();
1096 void mVerticalDistanceUnitWidget_changed();
1097 void mHorizontalDisplacementUnitWidget_changed();
1098 void mVerticalDisplacementUnitWidget_changed();
1099 void mHorizontalOffsetUnitWidget_changed();
1100 void mVerticalOffsetUnitWidget_changed();
1106#include "ui_widget_randommarkerfill.h"
1143 void countMethodChanged(
int );
1144 void countChanged(
int d );
1145 void densityAreaChanged(
double d );
1146 void densityAreaUnitChanged();
1147 void seedChanged(
int d );
1152#include "ui_widget_fontmarker.h"
1186 void setFontFamily(
const QFont &font );
1187 void setColor(
const QColor &color );
1192 void setColorStroke(
const QColor &color );
1193 void setSize(
double size );
1194 void setAngle(
double angle );
1200 void setCharacter( QChar chr );
1207 void setCharacterFromText(
const QString &text );
1219 void setFontStyle(
const QString &style );
1222 void mSizeUnitWidget_changed();
1223 void mOffsetUnitWidget_changed();
1224 void mStrokeWidthUnitWidget_changed();
1225 void mStrokeWidthSpinBox_valueChanged(
double d );
1227 void populateFontStyleComboBox();
1228 void mFontStyleComboBox_currentIndexChanged(
int index );
1230 void mHorizontalAnchorComboBox_currentIndexChanged(
int index );
1231 void mVerticalAnchorComboBox_currentIndexChanged(
int index );
1232 void penJoinStyleChanged();
1233 void updateAssistantSymbol();
1236 std::shared_ptr<QgsMarkerSymbol> mAssistantPreviewSymbol;
1239 QFontDatabase mFontDB;
1245#include "ui_widget_centroidfill.h"
1280 void mDrawInsideCheckBox_stateChanged(
int state );
1281 void mDrawAllPartsCheckBox_stateChanged(
int state );
1282 void mClipPointsCheckBox_stateChanged(
int state );
1283 void mClipOnCurrentPartOnlyCheckBox_stateChanged(
int state );
1289#include "ui_qgslinearreferencingsymbollayerwidgetbase.h"
1322 void changeNumberFormat();
1326 bool mBlockChangesSignal =
false;
1330#include "ui_qgsgeometrygeneratorwidgetbase.h"
1331#include "qgis_gui.h"
1363 int mBlockSignals = 0;
1366 void updateExpression(
const QString &
string );
1367 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.