17#ifndef QGSSYMBOLLAYERWIDGET_H
18#define QGSSYMBOLLAYERWIDGET_H
26#include <QStandardItemModel>
111 void updateDataDefinedProperty();
114 void createAuxiliaryField();
122#include "ui_widget_simpleline.h"
160 void updatePatternIcon();
162 void resizeEvent( QResizeEvent *event )
override;
166 void updateAssistantSymbol();
167 void penWidthChanged();
168 void colorChanged(
const QColor &color );
169 void penStyleChanged();
170 void offsetChanged();
171 void patternOffsetChanged();
172 void mCustomCheckBox_stateChanged(
int state );
173 void mChangePatternButton_clicked();
174 void mPenWidthUnitWidget_changed();
175 void mOffsetUnitWidget_changed();
176 void mDashPatternUnitWidget_changed();
177 void mDrawInsideCheckBox_stateChanged(
int state );
178 void patternOffsetUnitChanged();
182 std::shared_ptr< QgsLineSymbol > mAssistantPreviewSymbol;
188#include "ui_widget_simplemarker.h"
222 void setColorStroke(
const QColor &color );
223 void setColorFill(
const QColor &color );
232 void mSizeUnitWidget_changed();
233 void mOffsetUnitWidget_changed();
234 void mStrokeWidthUnitWidget_changed();
235 void mStrokeStyleComboBox_currentIndexChanged(
int index );
236 void mStrokeWidthSpinBox_valueChanged(
double d );
237 void mHorizontalAnchorComboBox_currentIndexChanged(
int index );
238 void mVerticalAnchorComboBox_currentIndexChanged(
int index );
240 void updateAssistantSymbol();
241 void penJoinStyleChanged();
242 void penCapStyleChanged();
246 std::shared_ptr< QgsMarkerSymbol > mAssistantPreviewSymbol;
251#include "ui_widget_simplefill.h"
283 void setColor(
const QColor &color );
284 void setStrokeColor(
const QColor &color );
290 void setBrushStyle();
291 void strokeWidthChanged();
292 void strokeStyleChanged();
293 void offsetChanged();
294 void mStrokeWidthUnitWidget_changed();
295 void mOffsetUnitWidget_changed();
302#include "ui_widget_filledmarker.h"
341 void updateAssistantSymbol();
346 void mSizeUnitWidget_changed();
347 void mOffsetUnitWidget_changed();
348 void mHorizontalAnchorComboBox_currentIndexChanged(
int index );
349 void mVerticalAnchorComboBox_currentIndexChanged(
int index );
353 std::shared_ptr< QgsMarkerSymbol > mAssistantPreviewSymbol;
358#include "ui_widget_gradientfill.h"
390 void setColor(
const QColor &color );
391 void setColor2(
const QColor &color );
396 void applyColorRamp();
397 void setGradientType(
int index );
398 void setCoordinateMode(
int index );
399 void setGradientSpread(
int index );
405 void offsetChanged();
406 void referencePointChanged();
407 void mOffsetUnitWidget_changed();
408 void colorModeChanged();
409 void mSpinAngle_valueChanged(
double value );
415#include "ui_widget_shapeburstfill.h"
447 void setColor(
const QColor &color );
448 void setColor2(
const QColor &color );
454 void colorModeChanged();
455 void mSpinBlurRadius_valueChanged(
int value );
456 void mSpinMaxDistance_valueChanged(
double value );
457 void mDistanceUnitWidget_changed();
458 void mRadioUseWholeShape_toggled(
bool value );
459 void applyColorRamp();
460 void offsetChanged();
461 void mOffsetUnitWidget_changed();
462 void mIgnoreRingsCheckBox_stateChanged(
int state );
467#include "ui_widget_markerline.h"
501 void setInterval(
double val );
502 void setOffsetAlongLine(
double val );
512 void mIntervalUnitWidget_changed();
513 void mOffsetUnitWidget_changed();
514 void mOffsetAlongLineUnitWidget_changed();
515 void averageAngleUnitChanged();
516 void setAverageAngle(
double val );
521#include "ui_widget_hashline.h"
557 void setInterval(
double val );
558 void setOffsetAlongLine(
double val );
559 void setHashLength(
double val );
560 void setHashAngle(
double val );
565 void mIntervalUnitWidget_changed();
566 void mOffsetUnitWidget_changed();
567 void mOffsetAlongLineUnitWidget_changed();
568 void hashLengthUnitWidgetChanged();
569 void averageAngleUnitChanged();
570 void setAverageAngle(
double val );
579#include "ui_widget_svgmarker.h"
615 void setSvgPath(
const QString &name );
617 void setSvgParameters(
const QMap<QString, QgsProperty> ¶meters );
640 void svgSourceChanged(
const QString &text );
641 void mChangeColorButton_colorChanged(
const QColor &color );
642 void mChangeStrokeColorButton_colorChanged(
const QColor &color );
643 void mStrokeWidthSpinBox_valueChanged(
double d );
644 void mSizeUnitWidget_changed();
645 void mStrokeWidthUnitWidget_changed();
646 void mOffsetUnitWidget_changed();
647 void mHorizontalAnchorComboBox_currentIndexChanged(
int index );
648 void mVerticalAnchorComboBox_currentIndexChanged(
int index );
651 void lockAspectRatioChanged(
bool locked );
654 void updateAssistantSymbol();
658 std::shared_ptr< QgsMarkerSymbol > mAssistantPreviewSymbol;
664#include "ui_widget_rastermarker.h"
703 void imageSourceChanged(
const QString &text );
704 void mSizeUnitWidget_changed();
705 void mOffsetUnitWidget_changed();
706 void mHorizontalAnchorComboBox_currentIndexChanged(
int index );
707 void mVerticalAnchorComboBox_currentIndexChanged(
int index );
710 void setLockAspectRatio(
bool locked );
713 void setOpacity(
double value );
714 void updatePreviewImage();
721#include "ui_widget_animatedmarker.h"
760 void imageSourceChanged(
const QString &text );
761 void mSizeUnitWidget_changed();
762 void mOffsetUnitWidget_changed();
763 void mHorizontalAnchorComboBox_currentIndexChanged(
int index );
764 void mVerticalAnchorComboBox_currentIndexChanged(
int index );
767 void setLockAspectRatio(
bool locked );
770 void setOpacity(
double value );
771 void updatePreviewImage();
775 QMovie *mPreviewMovie =
nullptr;
782#include "ui_widget_rasterfill.h"
817 void imageSourceChanged(
const QString &text );
818 void setCoordinateMode(
int index );
819 void opacityChanged(
double value );
820 void offsetChanged();
821 void mOffsetUnitWidget_changed();
822 void mRotationSpinBox_valueChanged(
double d );
823 void mWidthUnitWidget_changed();
824 void mWidthSpinBox_valueChanged(
double d );
827 void updatePreviewImage();
833#include "ui_widget_rasterline.h"
871 void imageSourceChanged(
const QString &text );
872 void updatePreviewImage();
879#include "ui_widget_gradientline.h"
920#include "ui_widget_svgfill.h"
961 void updateParamGui(
bool resetValues =
true );
964 void mTextureWidthSpinBox_valueChanged(
double d );
965 void svgSourceChanged(
const QString &text );
966 void setFile(
const QString &name );
967 void setSvgParameters(
const QMap<QString, QgsProperty> ¶meters );
968 void mRotationSpinBox_valueChanged(
double d );
969 void mChangeColorButton_colorChanged(
const QColor &color );
970 void mChangeStrokeColorButton_colorChanged(
const QColor &color );
971 void mStrokeWidthSpinBox_valueChanged(
double d );
972 void mTextureWidthUnitWidget_changed();
973 void mSvgStrokeWidthUnitWidget_changed();
978#include "ui_widget_linepatternfill.h"
1012 void mAngleSpinBox_valueChanged(
double d );
1013 void mDistanceSpinBox_valueChanged(
double d );
1014 void mOffsetSpinBox_valueChanged(
double d );
1015 void mDistanceUnitWidget_changed();
1016 void mOffsetUnitWidget_changed();
1021#include "ui_widget_pointpatternfill.h"
1055 void mHorizontalDistanceSpinBox_valueChanged(
double d );
1056 void mVerticalDistanceSpinBox_valueChanged(
double d );
1057 void mHorizontalDisplacementSpinBox_valueChanged(
double d );
1058 void mVerticalDisplacementSpinBox_valueChanged(
double d );
1059 void mHorizontalOffsetSpinBox_valueChanged(
double d );
1060 void mVerticalOffsetSpinBox_valueChanged(
double d );
1061 void mHorizontalDistanceUnitWidget_changed();
1062 void mVerticalDistanceUnitWidget_changed();
1063 void mHorizontalDisplacementUnitWidget_changed();
1064 void mVerticalDisplacementUnitWidget_changed();
1065 void mHorizontalOffsetUnitWidget_changed();
1066 void mVerticalOffsetUnitWidget_changed();
1072#include "ui_widget_randommarkerfill.h"
1111 void countMethodChanged(
int );
1112 void countChanged(
int d );
1113 void densityAreaChanged(
double d );
1114 void densityAreaUnitChanged();
1115 void seedChanged(
int d );
1120#include "ui_widget_fontmarker.h"
1154 void setFontFamily(
const QFont &font );
1155 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();
1206 std::shared_ptr< QgsMarkerSymbol > mAssistantPreviewSymbol;
1209 QFontDatabase mFontDB;
1216#include "ui_widget_centroidfill.h"
1251 void mDrawInsideCheckBox_stateChanged(
int state );
1252 void mDrawAllPartsCheckBox_stateChanged(
int state );
1253 void mClipPointsCheckBox_stateChanged(
int state );
1254 void mClipOnCurrentPartOnlyCheckBox_stateChanged(
int state );
1258#include "ui_qgsgeometrygeneratorwidgetbase.h"
1259#include "qgis_gui.h"
1291 int mBlockSignals = 0;
1294 void updateExpression(
const QString &
string );
1295 void updateSymbolType();
Animated marker symbol layer class.
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...
Filled marker symbol layer, consisting of a shape which is rendered using a QgsFillSymbol.
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 type which draws a gradient pattern perpendicularly along a line.
Map canvas is a class for displaying all GIS data types on a canvas.
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.
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.
double ANALYSIS_EXPORT angle(QgsPoint *p1, QgsPoint *p2, QgsPoint *p3, QgsPoint *p4)
Calculates the angle between two segments (in 2 dimension, z-values are ignored)