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();
720 #include "ui_widget_rasterfill.h"
755 void imageSourceChanged(
const QString &text );
756 void setCoordinateMode(
int index );
757 void opacityChanged(
double value );
758 void offsetChanged();
759 void mOffsetUnitWidget_changed();
760 void mRotationSpinBox_valueChanged(
double d );
761 void mWidthUnitWidget_changed();
762 void mWidthSpinBox_valueChanged(
double d );
765 void updatePreviewImage();
771 #include "ui_widget_rasterline.h"
809 void imageSourceChanged(
const QString &text );
810 void updatePreviewImage();
817 #include "ui_widget_gradientline.h"
858 #include "ui_widget_svgfill.h"
899 void updateParamGui(
bool resetValues =
true );
902 void mTextureWidthSpinBox_valueChanged(
double d );
903 void svgSourceChanged(
const QString &text );
904 void setFile(
const QString &name );
905 void setSvgParameters(
const QMap<QString, QgsProperty> ¶meters );
906 void mRotationSpinBox_valueChanged(
double d );
907 void mChangeColorButton_colorChanged(
const QColor &color );
908 void mChangeStrokeColorButton_colorChanged(
const QColor &color );
909 void mStrokeWidthSpinBox_valueChanged(
double d );
910 void mTextureWidthUnitWidget_changed();
911 void mSvgStrokeWidthUnitWidget_changed();
916 #include "ui_widget_linepatternfill.h"
950 void mAngleSpinBox_valueChanged(
double d );
951 void mDistanceSpinBox_valueChanged(
double d );
952 void mOffsetSpinBox_valueChanged(
double d );
953 void mDistanceUnitWidget_changed();
954 void mOffsetUnitWidget_changed();
959 #include "ui_widget_pointpatternfill.h"
993 void mHorizontalDistanceSpinBox_valueChanged(
double d );
994 void mVerticalDistanceSpinBox_valueChanged(
double d );
995 void mHorizontalDisplacementSpinBox_valueChanged(
double d );
996 void mVerticalDisplacementSpinBox_valueChanged(
double d );
997 void mHorizontalOffsetSpinBox_valueChanged(
double d );
998 void mVerticalOffsetSpinBox_valueChanged(
double d );
999 void mHorizontalDistanceUnitWidget_changed();
1000 void mVerticalDistanceUnitWidget_changed();
1001 void mHorizontalDisplacementUnitWidget_changed();
1002 void mVerticalDisplacementUnitWidget_changed();
1003 void mHorizontalOffsetUnitWidget_changed();
1004 void mVerticalOffsetUnitWidget_changed();
1010 #include "ui_widget_randommarkerfill.h"
1049 void countMethodChanged(
int );
1050 void countChanged(
int d );
1051 void densityAreaChanged(
double d );
1052 void densityAreaUnitChanged();
1053 void seedChanged(
int d );
1058 #include "ui_widget_fontmarker.h"
1092 void setFontFamily(
const QFont &font );
1093 void setColor(
const QColor &color );
1099 void setColorStroke(
const QColor &color );
1100 void setSize(
double size );
1101 void setAngle(
double angle );
1107 void setCharacter( QChar chr );
1114 void setCharacterFromText(
const QString &text );
1126 void setFontStyle(
const QString &style );
1129 void mSizeUnitWidget_changed();
1130 void mOffsetUnitWidget_changed();
1131 void mStrokeWidthUnitWidget_changed();
1132 void mStrokeWidthSpinBox_valueChanged(
double d );
1134 void populateFontStyleComboBox();
1135 void mFontStyleComboBox_currentIndexChanged(
int index );
1137 void mHorizontalAnchorComboBox_currentIndexChanged(
int index );
1138 void mVerticalAnchorComboBox_currentIndexChanged(
int index );
1139 void penJoinStyleChanged();
1140 void updateAssistantSymbol();
1144 std::shared_ptr< QgsMarkerSymbol > mAssistantPreviewSymbol;
1147 QFontDatabase mFontDB;
1154 #include "ui_widget_centroidfill.h"
1189 void mDrawInsideCheckBox_stateChanged(
int state );
1190 void mDrawAllPartsCheckBox_stateChanged(
int state );
1191 void mClipPointsCheckBox_stateChanged(
int state );
1192 void mClipOnCurrentPartOnlyCheckBox_stateChanged(
int state );
1196 #include "ui_qgsgeometrygeneratorwidgetbase.h"
1197 #include "qgis_gui.h"
1229 int mBlockSignals = 0;
1232 void updateExpression(
const QString &
string );
1233 void updateSymbolType();
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)