16 #ifndef QGSSYMBOLV2SELECTORDIALOG_H 17 #define QGSSYMBOLV2SELECTORDIALOG_H 21 #include "ui_qgssymbolv2selectordialogbase.h" 26 #include <QStandardItemModel> 27 #include <QScopedPointer> 28 #include <QDialogButtonBox> 38 class SymbolLayerItem;
48 class DataDefinedRestorer:
public QObject 137 void releaseSymbol();
277 QMenu* advancedMenu();
311 void keyPressEvent(
QKeyEvent * e )
override;
315 void loadSymbol(
QgsSymbolV2* symbol, SymbolLayerItem* parent );
319 void updateLockButton();
322 SymbolLayerItem* currentLayerItem();
325 void moveLayerByOffset(
int offset );
327 void setWidget(
QWidget* widget );
330 void symbolModified();
333 void moveLayerDown();
341 Q_DECL_DEPRECATED
void saveSymbol();
345 void duplicateLayer();
349 void updateLayerPreview();
350 void updatePreview();
353 void symbolChanged();
void setExpressionContext(QgsExpressionContext *context)
Sets the optional expression context used for the widget.
A container class for data source field mapping or expression.
void symbolChanged()
Slot to update tree when a new symbol from style.
Map canvas is a class for displaying all GIS data types on a canvas.
void setWidget(QWidget *widget)
QMenu * advancedMenu()
return menu for "advanced" button - create it if doesn't exist and show the advanced button ...
Expression contexts are used to encapsulate the parameters around which a QgsExpression should be eva...
SymbolLayerItem * currentLayerItem()
QgsSymbolLayerV2 * currentLayer()
void duplicateLayer()
Duplicates the current symbol layer and places the duplicated layer above the current symbol layer...
void moveLayerByOffset(int offset)
void setMapCanvas(QgsMapCanvas *canvas)
Sets the map canvas associated with the dialog.
void changeLayer(QgsSymbolLayerV2 *layer)
alters tree and sets proper widget when Layer Type is changed
Abstract base class for marker symbol layers.
Represents a vector layer which manages a vector based data sets.
void updateLayerPreview()
QgsSymbolV2 * symbol()
Return the symbol that is currently active in the widget.
Q_DECL_DEPRECATED void saveSymbol()