17 #ifndef QGSSYMBOLLAYERWIDGET_H 18 #define QGSSYMBOLLAYERWIDGET_H 25 #include <QStandardItemModel> 105 void symbolChanged();
108 void updateDataDefinedProperty();
111 void createAuxiliaryField();
119 #include "ui_widget_simpleline.h" 154 void updatePatternIcon();
156 void resizeEvent( QResizeEvent *event )
override;
160 void updateAssistantSymbol();
161 void penWidthChanged();
162 void colorChanged(
const QColor &color );
163 void penStyleChanged();
164 void offsetChanged();
165 void mCustomCheckBox_stateChanged(
int state );
166 void mChangePatternButton_clicked();
167 void mPenWidthUnitWidget_changed();
168 void mOffsetUnitWidget_changed();
169 void mDashPatternUnitWidget_changed();
170 void mDrawInsideCheckBox_stateChanged(
int state );
174 std::shared_ptr< QgsLineSymbol > mAssistantPreviewSymbol;
180 #include "ui_widget_simplemarker.h" 213 void setColorStroke(
const QColor &color );
214 void setColorFill(
const QColor &color );
223 void mSizeUnitWidget_changed();
224 void mOffsetUnitWidget_changed();
225 void mStrokeWidthUnitWidget_changed();
226 void mStrokeStyleComboBox_currentIndexChanged(
int index );
227 void mStrokeWidthSpinBox_valueChanged(
double d );
228 void mHorizontalAnchorComboBox_currentIndexChanged(
int index );
229 void mVerticalAnchorComboBox_currentIndexChanged(
int index );
231 void updateAssistantSymbol();
232 void penJoinStyleChanged();
236 std::shared_ptr< QgsMarkerSymbol > mAssistantPreviewSymbol;
241 #include "ui_widget_simplefill.h" 273 void setColor(
const QColor &color );
274 void setStrokeColor(
const QColor &color );
280 void setBrushStyle();
281 void strokeWidthChanged();
282 void strokeStyleChanged();
283 void offsetChanged();
284 void mStrokeWidthUnitWidget_changed();
285 void mOffsetUnitWidget_changed();
292 #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 );
342 std::shared_ptr< QgsMarkerSymbol > mAssistantPreviewSymbol;
347 #include "ui_widget_gradientfill.h" 379 void setColor(
const QColor &color );
380 void setColor2(
const QColor &color );
385 void applyColorRamp();
386 void setGradientType(
int index );
387 void setCoordinateMode(
int index );
388 void setGradientSpread(
int index );
394 void offsetChanged();
395 void referencePointChanged();
396 void mOffsetUnitWidget_changed();
397 void colorModeChanged();
398 void mSpinAngle_valueChanged(
double value );
404 #include "ui_widget_shapeburstfill.h" 436 void setColor(
const QColor &color );
437 void setColor2(
const QColor &color );
443 void colorModeChanged();
444 void mSpinBlurRadius_valueChanged(
int value );
445 void mSpinMaxDistance_valueChanged(
double value );
446 void mDistanceUnitWidget_changed();
447 void mRadioUseWholeShape_toggled(
bool value );
448 void applyColorRamp();
449 void offsetChanged();
450 void mOffsetUnitWidget_changed();
451 void mIgnoreRingsCheckBox_stateChanged(
int state );
456 #include "ui_widget_markerline.h" 489 void setInterval(
double val );
490 void setOffsetAlongLine(
double val );
500 void mIntervalUnitWidget_changed();
501 void mOffsetUnitWidget_changed();
502 void mOffsetAlongLineUnitWidget_changed();
503 void averageAngleUnitChanged();
504 void setAverageAngle(
double val );
509 #include "ui_widget_hashline.h" 544 void setInterval(
double val );
545 void setOffsetAlongLine(
double val );
546 void setHashLength(
double val );
547 void setHashAngle(
double val );
552 void mIntervalUnitWidget_changed();
553 void mOffsetUnitWidget_changed();
554 void mOffsetAlongLineUnitWidget_changed();
555 void hashLengthUnitWidgetChanged();
556 void averageAngleUnitChanged();
557 void setAverageAngle(
double val );
566 #include "ui_widget_svgmarker.h" 608 void setName(
const QModelIndex &idx );
609 void populateIcons(
const QModelIndex &idx );
610 void svgSourceChanged(
const QString &text );
611 void mChangeColorButton_colorChanged(
const QColor &color );
612 void mChangeStrokeColorButton_colorChanged(
const QColor &color );
613 void mStrokeWidthSpinBox_valueChanged(
double d );
614 void mSizeUnitWidget_changed();
615 void mStrokeWidthUnitWidget_changed();
616 void mOffsetUnitWidget_changed();
617 void mHorizontalAnchorComboBox_currentIndexChanged(
int index );
618 void mVerticalAnchorComboBox_currentIndexChanged(
int index );
621 void lockAspectRatioChanged(
bool locked );
624 void updateAssistantSymbol();
628 std::shared_ptr< QgsMarkerSymbol > mAssistantPreviewSymbol;
635 #include "ui_widget_rastermarker.h" 674 void imageSourceChanged(
const QString &text );
675 void mSizeUnitWidget_changed();
676 void mOffsetUnitWidget_changed();
677 void mHorizontalAnchorComboBox_currentIndexChanged(
int index );
678 void mVerticalAnchorComboBox_currentIndexChanged(
int index );
681 void setLockAspectRatio(
bool locked );
684 void setOpacity(
double value );
685 void updatePreviewImage();
691 #include "ui_widget_rasterfill.h" 726 void imageSourceChanged(
const QString &text );
727 void setCoordinateMode(
int index );
728 void opacityChanged(
double value );
729 void offsetChanged();
730 void mOffsetUnitWidget_changed();
731 void mRotationSpinBox_valueChanged(
double d );
732 void mWidthUnitWidget_changed();
733 void mWidthSpinBox_valueChanged(
double d );
736 void updatePreviewImage();
741 #include "ui_widget_svgfill.h" 783 void updateParamGui(
bool resetValues =
true );
786 void mTextureWidthSpinBox_valueChanged(
double d );
787 void svgSourceChanged(
const QString &text );
788 void setFile(
const QModelIndex &item );
789 void populateIcons(
const QModelIndex &item );
790 void mRotationSpinBox_valueChanged(
double d );
791 void mChangeColorButton_colorChanged(
const QColor &color );
792 void mChangeStrokeColorButton_colorChanged(
const QColor &color );
793 void mStrokeWidthSpinBox_valueChanged(
double d );
794 void mTextureWidthUnitWidget_changed();
795 void mSvgStrokeWidthUnitWidget_changed();
803 #include "ui_widget_linepatternfill.h" 837 void mAngleSpinBox_valueChanged(
double d );
838 void mDistanceSpinBox_valueChanged(
double d );
839 void mOffsetSpinBox_valueChanged(
double d );
840 void mDistanceUnitWidget_changed();
841 void mOffsetUnitWidget_changed();
846 #include "ui_widget_pointpatternfill.h" 880 void mHorizontalDistanceSpinBox_valueChanged(
double d );
881 void mVerticalDistanceSpinBox_valueChanged(
double d );
882 void mHorizontalDisplacementSpinBox_valueChanged(
double d );
883 void mVerticalDisplacementSpinBox_valueChanged(
double d );
884 void mHorizontalOffsetSpinBox_valueChanged(
double d );
885 void mVerticalOffsetSpinBox_valueChanged(
double d );
886 void mHorizontalDistanceUnitWidget_changed();
887 void mVerticalDistanceUnitWidget_changed();
888 void mHorizontalDisplacementUnitWidget_changed();
889 void mVerticalDisplacementUnitWidget_changed();
890 void mHorizontalOffsetUnitWidget_changed();
891 void mVerticalOffsetUnitWidget_changed();
897 #include "ui_widget_randommarkerfill.h" 936 void countMethodChanged(
int );
937 void countChanged(
int d );
938 void densityAreaChanged(
double d );
939 void densityAreaUnitChanged();
940 void seedChanged(
int d );
945 #include "ui_widget_fontmarker.h" 978 void setFontFamily(
const QFont &font );
979 void setColor(
const QColor &color );
984 void setColorStroke(
const QColor &color );
985 void setSize(
double size );
986 void setAngle(
double angle );
992 void setCharacter( QChar chr );
999 void setCharacterFromText(
const QString &text );
1007 void mSizeUnitWidget_changed();
1008 void mOffsetUnitWidget_changed();
1009 void mStrokeWidthUnitWidget_changed();
1010 void mStrokeWidthSpinBox_valueChanged(
double d );
1011 void mHorizontalAnchorComboBox_currentIndexChanged(
int index );
1012 void mVerticalAnchorComboBox_currentIndexChanged(
int index );
1013 void penJoinStyleChanged();
1014 void updateAssistantSymbol();
1018 std::shared_ptr< QgsMarkerSymbol > mAssistantPreviewSymbol;
1025 #include "ui_widget_centroidfill.h" 1060 void mDrawInsideCheckBox_stateChanged(
int state );
1061 void mDrawAllPartsCheckBox_stateChanged(
int state );
1066 #include "ui_qgsgeometrygeneratorwidgetbase.h" 1067 #include "qgis_gui.h" 1101 void updateExpression(
const QString &
string );
1102 void updateSymbolType();
Simple marker symbol layer, consisting of a rendered shape with solid fill color and an stroke...
A symbol fill consisting of repeated parallel lines.
A simple line symbol layer, which renders lines using a line in a variety of styles (e...
A fill symbol layer which places markers at random locations within polygons.
Map canvas is a class for displaying all GIS data types on a canvas.
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)
Raster marker symbol layer class.
A class for filling symbols with a repeated raster image.
virtual QgsExpressionContext createExpressionContext() const =0
This method needs to be reimplemented in all classes which implement this interface and return an exp...
Contains settings which reflect the context in which a symbol (or renderer) widget is shown...
Expression contexts are used to encapsulate the parameters around which a QgsExpression should be eva...
Line symbol layer type which draws repeating line sections along a line feature.
Abstract interface for generating an expression context.
A class for filling symbols with a repeated SVG file.
Line symbol layer type which draws repeating marker symbols along a line feature. ...
Filled marker symbol layer, consisting of a shape which is rendered using a QgsFillSymbol.
Represents a vector layer which manages a vector based data sets.
Property
Data definable properties.