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();
158 void updateAssistantSymbol();
159 void penWidthChanged();
160 void colorChanged(
const QColor &color );
161 void penStyleChanged();
162 void offsetChanged();
163 void mCustomCheckBox_stateChanged(
int state );
164 void mChangePatternButton_clicked();
165 void mPenWidthUnitWidget_changed();
166 void mOffsetUnitWidget_changed();
167 void mDashPatternUnitWidget_changed();
168 void mDrawInsideCheckBox_stateChanged(
int state );
172 std::shared_ptr< QgsLineSymbol > mAssistantPreviewSymbol;
178 #include "ui_widget_simplemarker.h" 211 void setColorStroke(
const QColor &color );
212 void setColorFill(
const QColor &color );
221 void mSizeUnitWidget_changed();
222 void mOffsetUnitWidget_changed();
223 void mStrokeWidthUnitWidget_changed();
224 void mStrokeStyleComboBox_currentIndexChanged(
int index );
225 void mStrokeWidthSpinBox_valueChanged(
double d );
226 void mHorizontalAnchorComboBox_currentIndexChanged(
int index );
227 void mVerticalAnchorComboBox_currentIndexChanged(
int index );
229 void updateAssistantSymbol();
230 void penJoinStyleChanged();
234 std::shared_ptr< QgsMarkerSymbol > mAssistantPreviewSymbol;
239 #include "ui_widget_simplefill.h" 271 void setColor(
const QColor &color );
272 void setStrokeColor(
const QColor &color );
278 void setBrushStyle();
279 void strokeWidthChanged();
280 void strokeStyleChanged();
281 void offsetChanged();
282 void mStrokeWidthUnitWidget_changed();
283 void mOffsetUnitWidget_changed();
290 #include "ui_widget_filledmarker.h" 328 void updateAssistantSymbol();
333 void mSizeUnitWidget_changed();
334 void mOffsetUnitWidget_changed();
335 void mHorizontalAnchorComboBox_currentIndexChanged(
int index );
336 void mVerticalAnchorComboBox_currentIndexChanged(
int index );
340 std::shared_ptr< QgsMarkerSymbol > mAssistantPreviewSymbol;
345 #include "ui_widget_gradientfill.h" 377 void setColor(
const QColor &color );
378 void setColor2(
const QColor &color );
383 void applyColorRamp();
384 void setGradientType(
int index );
385 void setCoordinateMode(
int index );
386 void setGradientSpread(
int index );
392 void offsetChanged();
393 void referencePointChanged();
394 void mOffsetUnitWidget_changed();
395 void colorModeChanged();
396 void mSpinAngle_valueChanged(
double value );
402 #include "ui_widget_shapeburstfill.h" 434 void setColor(
const QColor &color );
435 void setColor2(
const QColor &color );
441 void colorModeChanged();
442 void mSpinBlurRadius_valueChanged(
int value );
443 void mSpinMaxDistance_valueChanged(
double value );
444 void mDistanceUnitWidget_changed();
445 void mRadioUseWholeShape_toggled(
bool value );
446 void applyColorRamp();
447 void offsetChanged();
448 void mOffsetUnitWidget_changed();
449 void mIgnoreRingsCheckBox_stateChanged(
int state );
454 #include "ui_widget_markerline.h" 487 void setInterval(
double val );
488 void setOffsetAlongLine(
double val );
498 void mIntervalUnitWidget_changed();
499 void mOffsetUnitWidget_changed();
500 void mOffsetAlongLineUnitWidget_changed();
507 #include "ui_widget_svgmarker.h" 549 void setName(
const QModelIndex &idx );
550 void populateIcons(
const QModelIndex &idx );
551 void svgSourceChanged(
const QString &text );
552 void mChangeColorButton_colorChanged(
const QColor &color );
553 void mChangeStrokeColorButton_colorChanged(
const QColor &color );
554 void mStrokeWidthSpinBox_valueChanged(
double d );
555 void mSizeUnitWidget_changed();
556 void mStrokeWidthUnitWidget_changed();
557 void mOffsetUnitWidget_changed();
558 void mHorizontalAnchorComboBox_currentIndexChanged(
int index );
559 void mVerticalAnchorComboBox_currentIndexChanged(
int index );
562 void lockAspectRatioChanged(
bool locked );
565 void updateAssistantSymbol();
569 std::shared_ptr< QgsMarkerSymbol > mAssistantPreviewSymbol;
576 #include "ui_widget_rastermarker.h" 615 void imageSourceChanged(
const QString &text );
616 void mSizeUnitWidget_changed();
617 void mOffsetUnitWidget_changed();
618 void mHorizontalAnchorComboBox_currentIndexChanged(
int index );
619 void mVerticalAnchorComboBox_currentIndexChanged(
int index );
622 void setLockAspectRatio(
bool locked );
625 void setOpacity(
double value );
626 void updatePreviewImage();
632 #include "ui_widget_rasterfill.h" 667 void imageSourceChanged(
const QString &text );
668 void setCoordinateMode(
int index );
669 void opacityChanged(
double value );
670 void offsetChanged();
671 void mOffsetUnitWidget_changed();
672 void mRotationSpinBox_valueChanged(
double d );
673 void mWidthUnitWidget_changed();
674 void mWidthSpinBox_valueChanged(
double d );
677 void updatePreviewImage();
682 #include "ui_widget_svgfill.h" 724 void updateParamGui(
bool resetValues =
true );
727 void mTextureWidthSpinBox_valueChanged(
double d );
728 void svgSourceChanged(
const QString &text );
729 void setFile(
const QModelIndex &item );
730 void populateIcons(
const QModelIndex &item );
731 void mRotationSpinBox_valueChanged(
double d );
732 void mChangeColorButton_colorChanged(
const QColor &color );
733 void mChangeStrokeColorButton_colorChanged(
const QColor &color );
734 void mStrokeWidthSpinBox_valueChanged(
double d );
735 void mTextureWidthUnitWidget_changed();
736 void mSvgStrokeWidthUnitWidget_changed();
741 #include "ui_widget_linepatternfill.h" 775 void mAngleSpinBox_valueChanged(
double d );
776 void mDistanceSpinBox_valueChanged(
double d );
777 void mOffsetSpinBox_valueChanged(
double d );
778 void mDistanceUnitWidget_changed();
779 void mOffsetUnitWidget_changed();
784 #include "ui_widget_pointpatternfill.h" 818 void mHorizontalDistanceSpinBox_valueChanged(
double d );
819 void mVerticalDistanceSpinBox_valueChanged(
double d );
820 void mHorizontalDisplacementSpinBox_valueChanged(
double d );
821 void mVerticalDisplacementSpinBox_valueChanged(
double d );
822 void mHorizontalDistanceUnitWidget_changed();
823 void mVerticalDistanceUnitWidget_changed();
824 void mHorizontalDisplacementUnitWidget_changed();
825 void mVerticalDisplacementUnitWidget_changed();
830 #include "ui_widget_fontmarker.h" 863 void setFontFamily(
const QFont &font );
864 void setColor(
const QColor &color );
869 void setColorStroke(
const QColor &color );
870 void setSize(
double size );
871 void setAngle(
double angle );
872 void setCharacter( QChar chr );
880 void mSizeUnitWidget_changed();
881 void mOffsetUnitWidget_changed();
882 void mStrokeWidthUnitWidget_changed();
883 void mStrokeWidthSpinBox_valueChanged(
double d );
884 void mHorizontalAnchorComboBox_currentIndexChanged(
int index );
885 void mVerticalAnchorComboBox_currentIndexChanged(
int index );
886 void penJoinStyleChanged();
887 void updateAssistantSymbol();
891 std::shared_ptr< QgsMarkerSymbol > mAssistantPreviewSymbol;
898 #include "ui_widget_centroidfill.h" 933 void mDrawInsideCheckBox_stateChanged(
int state );
934 void mDrawAllPartsCheckBox_stateChanged(
int state );
939 #include "ui_qgsgeometrygeneratorwidgetbase.h" 940 #include "qgis_gui.h" 974 void updateExpression(
const QString &
string );
975 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.
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...
Abstract interface for generating an expression context.
A class for filling symbols with a repeated SVG file.
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.