16 #ifndef QGSSYMBOLSLISTWIDGET_H 17 #define QGSSYMBOLSLISTWIDGET_H 19 #include "ui_widget_symbolslist.h" 39 explicit QgsReadOnlyStyleModel(
QgsStyle *style, QObject *parent =
nullptr );
40 Qt::ItemFlags flags(
const QModelIndex &index )
const override;
41 QVariant data(
const QModelIndex &index,
int role )
const override;
93 void setSymbolFromStyle(
const QModelIndex &index );
94 void setSymbolColor(
const QColor &color );
95 void setMarkerAngle(
double angle );
96 void setMarkerSize(
double size );
97 void setLineWidth(
double width );
98 void addSymbolToStyle();
102 void populateGroups();
104 void openStyleManager();
105 void clipFeaturesToggled(
bool checked );
107 void updateDataDefinedMarkerSize();
108 void updateDataDefinedMarkerAngle();
109 void updateDataDefinedLineWidth();
115 void mSymbolUnitWidget_changed();
116 void groupsCombo_currentIndexChanged(
int index );
117 void updateAssistantSymbol();
118 void opacityChanged(
double value );
119 void createAuxiliaryField();
120 void updateModelFilters();
121 void forceRHRToggled(
bool checked );
125 std::shared_ptr< QgsSymbol > mAssistantSymbol;
127 QMenu *mAdvancedMenu =
nullptr;
128 QAction *mClipFeaturesAction =
nullptr;
129 QAction *mStandardizeRingsAction =
nullptr;
133 bool mUpdatingGroups =
false;
135 void updateSymbolColor();
136 void updateSymbolInfo();
143 #endif //QGSSYMBOLSLISTWIDGET_H
Abstract base class for all rendered symbols.
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)
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...
A QSortFilterProxyModel subclass for showing filtered symbol and color ramps entries from a QgsStyle ...
Abstract interface for generating an expression context.
Represents a vector layer which manages a vector based data sets.
Property
Data definable properties.