16#ifndef QGSSYMBOLSELECTORDIALOG_H
17#define QGSSYMBOLSELECTORDIALOG_H
22#include "ui_qgssymbolselectordialogbase.h"
29#include <QStandardItemModel>
30#include <QDialogButtonBox>
53class DataDefinedRestorer :
public QObject
67 QPointF mMarkerOffset;
118 QMenu *advancedMenu();
147 void loadSymbol(
QgsSymbol *symbol, SymbolLayerItem *parent =
nullptr )
SIP_SKIP;
154 void moveLayerDown();
179 void duplicateLayer();
190 void updateLayerPreview();
195 void updatePreview();
198 void symbolChanged();
212 void symbolModified();
220 void projectDataChanged();
225 void layersAboutToBeRemoved( const QList<
QgsMapLayer *> &layers );
241 void updateLockButton();
243 void updateLockButtonIcon();
245 SymbolLayerItem *currentLayerItem();
257 void moveLayerByOffset(
int offset );
263 void setWidget( QWidget *widget );
268 QMenu *mAdvancedMenu =
nullptr;
269 QAction *mLockColorAction =
nullptr;
270 QAction *mLockSelectionColorAction =
nullptr;
273 QStandardItemModel *mSymbolLayersModel =
nullptr;
274 QWidget *mPresentWidget =
nullptr;
276 std::unique_ptr<DataDefinedRestorer> mDataDefineRestorer;
280 bool mBlockModified = false;
305 QMenu *advancedMenu();
331 void loadSymbol(
QgsSymbol *symbol, SymbolLayerItem *parent =
nullptr )
SIP_SKIP;
337 QDialogButtonBox *buttonBox()
const;
341 void moveLayerDown();
352 void duplicateLayer();
356 void updateLayerPreview();
357 void updatePreview();
360 void symbolChanged();
389 void updateLockButton();
391 SymbolLayerItem *currentLayerItem();
395 void moveLayerByOffset(
int offset );
397 void setWidget( QWidget *widget );
400 QDialogButtonBox *mButtonBox =
nullptr;
Expression contexts are used to encapsulate the parameters around which a QgsExpression should be eva...
The feature class encapsulates a single feature including its unique ID, geometry and a list of field...
Abstract base class for line symbol layers.
A line symbol type, for rendering LineString and MultiLineString geometries.
Map canvas is a class for displaying all GIS data types on a canvas.
Base class for all map layer types.
Abstract base class for marker symbol layers.
A marker symbol type, for rendering Point and MultiPoint geometries.
A store for object properties.
A database of saved style entities, including symbols, color ramps, text formats and others.
Abstract base class for symbol layers.
A dialog that can be used to select and build a symbol.
void symbolModified()
Emitted when the symbol defined in the dialog is modified.
Contains settings which reflect the context in which a symbol (or renderer) widget is shown,...
Abstract base class for all rendered symbols.
Represents a vector layer which manages a vector based dataset.