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();
770 #include "ui_widget_svgfill.h"
811 void updateParamGui(
bool resetValues =
true );
814 void mTextureWidthSpinBox_valueChanged(
double d );
815 void svgSourceChanged(
const QString &text );
816 void setFile(
const QString &name );
817 void setSvgParameters(
const QMap<QString, QgsProperty> ¶meters );
818 void mRotationSpinBox_valueChanged(
double d );
819 void mChangeColorButton_colorChanged(
const QColor &color );
820 void mChangeStrokeColorButton_colorChanged(
const QColor &color );
821 void mStrokeWidthSpinBox_valueChanged(
double d );
822 void mTextureWidthUnitWidget_changed();
823 void mSvgStrokeWidthUnitWidget_changed();
828 #include "ui_widget_linepatternfill.h"
862 void mAngleSpinBox_valueChanged(
double d );
863 void mDistanceSpinBox_valueChanged(
double d );
864 void mOffsetSpinBox_valueChanged(
double d );
865 void mDistanceUnitWidget_changed();
866 void mOffsetUnitWidget_changed();
871 #include "ui_widget_pointpatternfill.h"
905 void mHorizontalDistanceSpinBox_valueChanged(
double d );
906 void mVerticalDistanceSpinBox_valueChanged(
double d );
907 void mHorizontalDisplacementSpinBox_valueChanged(
double d );
908 void mVerticalDisplacementSpinBox_valueChanged(
double d );
909 void mHorizontalOffsetSpinBox_valueChanged(
double d );
910 void mVerticalOffsetSpinBox_valueChanged(
double d );
911 void mHorizontalDistanceUnitWidget_changed();
912 void mVerticalDistanceUnitWidget_changed();
913 void mHorizontalDisplacementUnitWidget_changed();
914 void mVerticalDisplacementUnitWidget_changed();
915 void mHorizontalOffsetUnitWidget_changed();
916 void mVerticalOffsetUnitWidget_changed();
922 #include "ui_widget_randommarkerfill.h"
961 void countMethodChanged(
int );
962 void countChanged(
int d );
963 void densityAreaChanged(
double d );
964 void densityAreaUnitChanged();
965 void seedChanged(
int d );
970 #include "ui_widget_fontmarker.h"
1004 void setFontFamily(
const QFont &font );
1005 void setColor(
const QColor &color );
1011 void setColorStroke(
const QColor &color );
1012 void setSize(
double size );
1013 void setAngle(
double angle );
1019 void setCharacter( QChar chr );
1026 void setCharacterFromText(
const QString &text );
1038 void setFontStyle(
const QString &style );
1041 void mSizeUnitWidget_changed();
1042 void mOffsetUnitWidget_changed();
1043 void mStrokeWidthUnitWidget_changed();
1044 void mStrokeWidthSpinBox_valueChanged(
double d );
1046 void populateFontStyleComboBox();
1047 void mFontStyleComboBox_currentIndexChanged(
int index );
1049 void mHorizontalAnchorComboBox_currentIndexChanged(
int index );
1050 void mVerticalAnchorComboBox_currentIndexChanged(
int index );
1051 void penJoinStyleChanged();
1052 void updateAssistantSymbol();
1056 std::shared_ptr< QgsMarkerSymbol > mAssistantPreviewSymbol;
1059 QFontDatabase mFontDB;
1066 #include "ui_widget_centroidfill.h"
1101 void mDrawInsideCheckBox_stateChanged(
int state );
1102 void mDrawAllPartsCheckBox_stateChanged(
int state );
1103 void mClipPointsCheckBox_stateChanged(
int state );
1104 void mClipOnCurrentPartOnlyCheckBox_stateChanged(
int state );
1108 #include "ui_qgsgeometrygeneratorwidgetbase.h"
1109 #include "qgis_gui.h"
1143 void updateExpression(
const QString &
string );
1144 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.
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 places markers at random locations within polygons.
A class for filling symbols with a repeated raster image.
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)