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" 547 void setName(
const QModelIndex &idx );
548 void populateIcons(
const QModelIndex &idx );
549 void mFileToolButton_clicked();
550 void mFileLineEdit_textEdited(
const QString &text );
551 void mFileLineEdit_editingFinished();
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_rasterfill.h" 611 void mBrowseToolButton_clicked();
612 void mImageLineEdit_editingFinished();
613 void setCoordinateMode(
int index );
614 void opacityChanged(
double value );
615 void offsetChanged();
616 void mOffsetUnitWidget_changed();
617 void mRotationSpinBox_valueChanged(
double d );
618 void mWidthUnitWidget_changed();
619 void mWidthSpinBox_valueChanged(
double d );
622 void updatePreviewImage();
627 #include "ui_widget_svgfill.h" 668 void updateParamGui(
bool resetValues =
true );
671 void mBrowseToolButton_clicked();
672 void mTextureWidthSpinBox_valueChanged(
double d );
673 void mSVGLineEdit_textEdited(
const QString &text );
674 void mSVGLineEdit_editingFinished();
675 void setFile(
const QModelIndex &item );
676 void populateIcons(
const QModelIndex &item );
677 void mRotationSpinBox_valueChanged(
double d );
678 void mChangeColorButton_colorChanged(
const QColor &color );
679 void mChangeStrokeColorButton_colorChanged(
const QColor &color );
680 void mStrokeWidthSpinBox_valueChanged(
double d );
681 void mTextureWidthUnitWidget_changed();
682 void mSvgStrokeWidthUnitWidget_changed();
687 #include "ui_widget_linepatternfill.h" 721 void mAngleSpinBox_valueChanged(
double d );
722 void mDistanceSpinBox_valueChanged(
double d );
723 void mOffsetSpinBox_valueChanged(
double d );
724 void mDistanceUnitWidget_changed();
725 void mOffsetUnitWidget_changed();
730 #include "ui_widget_pointpatternfill.h" 764 void mHorizontalDistanceSpinBox_valueChanged(
double d );
765 void mVerticalDistanceSpinBox_valueChanged(
double d );
766 void mHorizontalDisplacementSpinBox_valueChanged(
double d );
767 void mVerticalDisplacementSpinBox_valueChanged(
double d );
768 void mHorizontalDistanceUnitWidget_changed();
769 void mVerticalDistanceUnitWidget_changed();
770 void mHorizontalDisplacementUnitWidget_changed();
771 void mVerticalDisplacementUnitWidget_changed();
776 #include "ui_widget_fontmarker.h" 809 void setFontFamily(
const QFont &font );
810 void setColor(
const QColor &color );
815 void setColorStroke(
const QColor &color );
816 void setSize(
double size );
817 void setAngle(
double angle );
818 void setCharacter( QChar chr );
826 void mSizeUnitWidget_changed();
827 void mOffsetUnitWidget_changed();
828 void mStrokeWidthUnitWidget_changed();
829 void mStrokeWidthSpinBox_valueChanged(
double d );
830 void mHorizontalAnchorComboBox_currentIndexChanged(
int index );
831 void mVerticalAnchorComboBox_currentIndexChanged(
int index );
832 void penJoinStyleChanged();
833 void updateAssistantSymbol();
837 std::shared_ptr< QgsMarkerSymbol > mAssistantPreviewSymbol;
844 #include "ui_widget_centroidfill.h" 879 void mDrawInsideCheckBox_stateChanged(
int state );
880 void mDrawAllPartsCheckBox_stateChanged(
int state );
885 #include "ui_qgsgeometrygeneratorwidgetbase.h" 886 #include "qgis_gui.h" 920 void updateExpression(
const QString &
string );
921 void updateSymbolType();
Simple marker symbol layer, consisting of a rendered shape with solid fill color and an stroke...
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)
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 svg fill patterns.
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.