17 #ifndef QGSSYMBOLLAYERWIDGET_H
18 #define QGSSYMBOLLAYERWIDGET_H
25 #include <QStandardItemModel>
108 void updateDataDefinedProperty();
111 void createAuxiliaryField();
119 #include "ui_widget_simpleline.h"
155 void updatePatternIcon();
157 void resizeEvent( QResizeEvent *event )
override;
161 void updateAssistantSymbol();
162 void penWidthChanged();
163 void colorChanged(
const QColor &color );
164 void penStyleChanged();
165 void offsetChanged();
166 void patternOffsetChanged();
167 void mCustomCheckBox_stateChanged(
int state );
168 void mChangePatternButton_clicked();
169 void mPenWidthUnitWidget_changed();
170 void mOffsetUnitWidget_changed();
171 void mDashPatternUnitWidget_changed();
172 void mDrawInsideCheckBox_stateChanged(
int state );
173 void patternOffsetUnitChanged();
177 std::shared_ptr< QgsLineSymbol > mAssistantPreviewSymbol;
183 #include "ui_widget_simplemarker.h"
216 void setColorStroke(
const QColor &color );
217 void setColorFill(
const QColor &color );
226 void mSizeUnitWidget_changed();
227 void mOffsetUnitWidget_changed();
228 void mStrokeWidthUnitWidget_changed();
229 void mStrokeStyleComboBox_currentIndexChanged(
int index );
230 void mStrokeWidthSpinBox_valueChanged(
double d );
231 void mHorizontalAnchorComboBox_currentIndexChanged(
int index );
232 void mVerticalAnchorComboBox_currentIndexChanged(
int index );
234 void updateAssistantSymbol();
235 void penJoinStyleChanged();
239 std::shared_ptr< QgsMarkerSymbol > mAssistantPreviewSymbol;
244 #include "ui_widget_simplefill.h"
276 void setColor(
const QColor &color );
277 void setStrokeColor(
const QColor &color );
283 void setBrushStyle();
284 void strokeWidthChanged();
285 void strokeStyleChanged();
286 void offsetChanged();
287 void mStrokeWidthUnitWidget_changed();
288 void mOffsetUnitWidget_changed();
295 #include "ui_widget_filledmarker.h"
333 void updateAssistantSymbol();
338 void mSizeUnitWidget_changed();
339 void mOffsetUnitWidget_changed();
340 void mHorizontalAnchorComboBox_currentIndexChanged(
int index );
341 void mVerticalAnchorComboBox_currentIndexChanged(
int index );
345 std::shared_ptr< QgsMarkerSymbol > mAssistantPreviewSymbol;
350 #include "ui_widget_gradientfill.h"
382 void setColor(
const QColor &color );
383 void setColor2(
const QColor &color );
388 void applyColorRamp();
389 void setGradientType(
int index );
390 void setCoordinateMode(
int index );
391 void setGradientSpread(
int index );
397 void offsetChanged();
398 void referencePointChanged();
399 void mOffsetUnitWidget_changed();
400 void colorModeChanged();
401 void mSpinAngle_valueChanged(
double value );
407 #include "ui_widget_shapeburstfill.h"
439 void setColor(
const QColor &color );
440 void setColor2(
const QColor &color );
446 void colorModeChanged();
447 void mSpinBlurRadius_valueChanged(
int value );
448 void mSpinMaxDistance_valueChanged(
double value );
449 void mDistanceUnitWidget_changed();
450 void mRadioUseWholeShape_toggled(
bool value );
451 void applyColorRamp();
452 void offsetChanged();
453 void mOffsetUnitWidget_changed();
454 void mIgnoreRingsCheckBox_stateChanged(
int state );
459 #include "ui_widget_markerline.h"
493 void setInterval(
double val );
494 void setOffsetAlongLine(
double val );
504 void mIntervalUnitWidget_changed();
505 void mOffsetUnitWidget_changed();
506 void mOffsetAlongLineUnitWidget_changed();
507 void averageAngleUnitChanged();
508 void setAverageAngle(
double val );
513 #include "ui_widget_hashline.h"
549 void setInterval(
double val );
550 void setOffsetAlongLine(
double val );
551 void setHashLength(
double val );
552 void setHashAngle(
double val );
557 void mIntervalUnitWidget_changed();
558 void mOffsetUnitWidget_changed();
559 void mOffsetAlongLineUnitWidget_changed();
560 void hashLengthUnitWidgetChanged();
561 void averageAngleUnitChanged();
562 void setAverageAngle(
double val );
571 #include "ui_widget_svgmarker.h"
606 void setSvgPath(
const QString &name );
608 void setSvgParameters(
const QMap<QString, QgsProperty> ¶meters );
631 void svgSourceChanged(
const QString &text );
632 void mChangeColorButton_colorChanged(
const QColor &color );
633 void mChangeStrokeColorButton_colorChanged(
const QColor &color );
634 void mStrokeWidthSpinBox_valueChanged(
double d );
635 void mSizeUnitWidget_changed();
636 void mStrokeWidthUnitWidget_changed();
637 void mOffsetUnitWidget_changed();
638 void mHorizontalAnchorComboBox_currentIndexChanged(
int index );
639 void mVerticalAnchorComboBox_currentIndexChanged(
int index );
642 void lockAspectRatioChanged(
bool locked );
645 void updateAssistantSymbol();
649 std::shared_ptr< QgsMarkerSymbol > mAssistantPreviewSymbol;
655 #include "ui_widget_rastermarker.h"
694 void imageSourceChanged(
const QString &text );
695 void mSizeUnitWidget_changed();
696 void mOffsetUnitWidget_changed();
697 void mHorizontalAnchorComboBox_currentIndexChanged(
int index );
698 void mVerticalAnchorComboBox_currentIndexChanged(
int index );
701 void setLockAspectRatio(
bool locked );
704 void setOpacity(
double value );
705 void updatePreviewImage();
711 #include "ui_widget_rasterfill.h"
746 void imageSourceChanged(
const QString &text );
747 void setCoordinateMode(
int index );
748 void opacityChanged(
double value );
749 void offsetChanged();
750 void mOffsetUnitWidget_changed();
751 void mRotationSpinBox_valueChanged(
double d );
752 void mWidthUnitWidget_changed();
753 void mWidthSpinBox_valueChanged(
double d );
756 void updatePreviewImage();
761 #include "ui_widget_svgfill.h"
802 void updateParamGui(
bool resetValues =
true );
805 void mTextureWidthSpinBox_valueChanged(
double d );
806 void svgSourceChanged(
const QString &text );
807 void setFile(
const QString &name );
808 void setSvgParameters(
const QMap<QString, QgsProperty> ¶meters );
809 void mRotationSpinBox_valueChanged(
double d );
810 void mChangeColorButton_colorChanged(
const QColor &color );
811 void mChangeStrokeColorButton_colorChanged(
const QColor &color );
812 void mStrokeWidthSpinBox_valueChanged(
double d );
813 void mTextureWidthUnitWidget_changed();
814 void mSvgStrokeWidthUnitWidget_changed();
819 #include "ui_widget_linepatternfill.h"
853 void mAngleSpinBox_valueChanged(
double d );
854 void mDistanceSpinBox_valueChanged(
double d );
855 void mOffsetSpinBox_valueChanged(
double d );
856 void mDistanceUnitWidget_changed();
857 void mOffsetUnitWidget_changed();
862 #include "ui_widget_pointpatternfill.h"
896 void mHorizontalDistanceSpinBox_valueChanged(
double d );
897 void mVerticalDistanceSpinBox_valueChanged(
double d );
898 void mHorizontalDisplacementSpinBox_valueChanged(
double d );
899 void mVerticalDisplacementSpinBox_valueChanged(
double d );
900 void mHorizontalOffsetSpinBox_valueChanged(
double d );
901 void mVerticalOffsetSpinBox_valueChanged(
double d );
902 void mHorizontalDistanceUnitWidget_changed();
903 void mVerticalDistanceUnitWidget_changed();
904 void mHorizontalDisplacementUnitWidget_changed();
905 void mVerticalDisplacementUnitWidget_changed();
906 void mHorizontalOffsetUnitWidget_changed();
907 void mVerticalOffsetUnitWidget_changed();
913 #include "ui_widget_randommarkerfill.h"
952 void countMethodChanged(
int );
953 void countChanged(
int d );
954 void densityAreaChanged(
double d );
955 void densityAreaUnitChanged();
956 void seedChanged(
int d );
961 #include "ui_widget_fontmarker.h"
994 void setFontFamily(
const QFont &font );
995 void setColor(
const QColor &color );
1001 void setColorStroke(
const QColor &color );
1002 void setSize(
double size );
1003 void setAngle(
double angle );
1009 void setCharacter( QChar chr );
1016 void setCharacterFromText(
const QString &text );
1028 void setFontStyle(
const QString &style );
1031 void mSizeUnitWidget_changed();
1032 void mOffsetUnitWidget_changed();
1033 void mStrokeWidthUnitWidget_changed();
1034 void mStrokeWidthSpinBox_valueChanged(
double d );
1036 void populateFontStyleComboBox();
1037 void mFontStyleComboBox_currentIndexChanged(
int index );
1039 void mHorizontalAnchorComboBox_currentIndexChanged(
int index );
1040 void mVerticalAnchorComboBox_currentIndexChanged(
int index );
1041 void penJoinStyleChanged();
1042 void updateAssistantSymbol();
1046 std::shared_ptr< QgsMarkerSymbol > mAssistantPreviewSymbol;
1049 QFontDatabase mFontDB;
1056 #include "ui_widget_centroidfill.h"
1091 void mDrawInsideCheckBox_stateChanged(
int state );
1092 void mDrawAllPartsCheckBox_stateChanged(
int state );
1093 void mClipPointsCheckBox_stateChanged(
int state );
1094 void mClipOnCurrentPartOnlyCheckBox_stateChanged(
int state );
1098 #include "ui_qgsgeometrygeneratorwidgetbase.h"
1099 #include "qgis_gui.h"
1133 void updateExpression(
const QString &
string );
1134 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.
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 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)