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();
800 #include "ui_widget_linepatternfill.h" 834 void mAngleSpinBox_valueChanged(
double d );
835 void mDistanceSpinBox_valueChanged(
double d );
836 void mOffsetSpinBox_valueChanged(
double d );
837 void mDistanceUnitWidget_changed();
838 void mOffsetUnitWidget_changed();
843 #include "ui_widget_pointpatternfill.h" 877 void mHorizontalDistanceSpinBox_valueChanged(
double d );
878 void mVerticalDistanceSpinBox_valueChanged(
double d );
879 void mHorizontalDisplacementSpinBox_valueChanged(
double d );
880 void mVerticalDisplacementSpinBox_valueChanged(
double d );
881 void mHorizontalOffsetSpinBox_valueChanged(
double d );
882 void mVerticalOffsetSpinBox_valueChanged(
double d );
883 void mHorizontalDistanceUnitWidget_changed();
884 void mVerticalDistanceUnitWidget_changed();
885 void mHorizontalDisplacementUnitWidget_changed();
886 void mVerticalDisplacementUnitWidget_changed();
887 void mHorizontalOffsetUnitWidget_changed();
888 void mVerticalOffsetUnitWidget_changed();
893 #include "ui_widget_fontmarker.h" 926 void setFontFamily(
const QFont &font );
927 void setColor(
const QColor &color );
932 void setColorStroke(
const QColor &color );
933 void setSize(
double size );
934 void setAngle(
double angle );
940 void setCharacter( QChar chr );
947 void setCharacterFromText(
const QString &text );
955 void mSizeUnitWidget_changed();
956 void mOffsetUnitWidget_changed();
957 void mStrokeWidthUnitWidget_changed();
958 void mStrokeWidthSpinBox_valueChanged(
double d );
959 void mHorizontalAnchorComboBox_currentIndexChanged(
int index );
960 void mVerticalAnchorComboBox_currentIndexChanged(
int index );
961 void penJoinStyleChanged();
962 void updateAssistantSymbol();
966 std::shared_ptr< QgsMarkerSymbol > mAssistantPreviewSymbol;
973 #include "ui_widget_centroidfill.h" 1008 void mDrawInsideCheckBox_stateChanged(
int state );
1009 void mDrawAllPartsCheckBox_stateChanged(
int state );
1014 #include "ui_qgsgeometrygeneratorwidgetbase.h" 1015 #include "qgis_gui.h" 1049 void updateExpression(
const QString &
string );
1050 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...
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.