mirror of
https://github.com/qgis/QGIS.git
synced 2025-12-17 00:05:41 -05:00
Promote rendererChanged() signal from raster+vector layer to base map layer
This commit is contained in:
parent
2fc65a9e9b
commit
62e499e1be
@ -427,6 +427,9 @@ class QgsMapLayer : QObject
|
|||||||
/** Signal emitted when the blend mode is changed, through QgsMapLayer::setBlendMode() */
|
/** Signal emitted when the blend mode is changed, through QgsMapLayer::setBlendMode() */
|
||||||
void blendModeChanged( const QPainter::CompositionMode &blendMode );
|
void blendModeChanged( const QPainter::CompositionMode &blendMode );
|
||||||
|
|
||||||
|
/** Signal emitted when renderer is changed */
|
||||||
|
void rendererChanged();
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
/** Set the extent */
|
/** Set the extent */
|
||||||
virtual void setExtent( const QgsRectangle &rect );
|
virtual void setExtent( const QgsRectangle &rect );
|
||||||
|
|||||||
@ -1239,9 +1239,6 @@ class QgsVectorLayer : QgsMapLayer
|
|||||||
*/
|
*/
|
||||||
void labelingFontNotFound( QgsVectorLayer* layer, const QString& fontfamily );
|
void labelingFontNotFound( QgsVectorLayer* layer, const QString& fontfamily );
|
||||||
|
|
||||||
/** Signal emitted on symbology changes, when setRendererV2() is called */
|
|
||||||
void rendererChanged();
|
|
||||||
|
|
||||||
/** Signal emitted when setFeatureBlendMode() is called */
|
/** Signal emitted when setFeatureBlendMode() is called */
|
||||||
void featureBlendModeChanged( const QPainter::CompositionMode &blendMode );
|
void featureBlendModeChanged( const QPainter::CompositionMode &blendMode );
|
||||||
|
|
||||||
|
|||||||
@ -229,9 +229,6 @@ class QgsRasterLayer : QgsMapLayer
|
|||||||
*/
|
*/
|
||||||
void dataChanged();
|
void dataChanged();
|
||||||
|
|
||||||
/** Signal emitted when the symbology changes, through call to setRenderer() */
|
|
||||||
void rendererChanged();
|
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
/** \brief Read the symbology for the current layer from the Dom node supplied */
|
/** \brief Read the symbology for the current layer from the Dom node supplied */
|
||||||
bool readSymbology( const QDomNode& node, QString& errorMessage );
|
bool readSymbology( const QDomNode& node, QString& errorMessage );
|
||||||
|
|||||||
@ -443,6 +443,9 @@ class CORE_EXPORT QgsMapLayer : public QObject
|
|||||||
/** Signal emitted when the blend mode is changed, through QgsMapLayer::setBlendMode() */
|
/** Signal emitted when the blend mode is changed, through QgsMapLayer::setBlendMode() */
|
||||||
void blendModeChanged( const QPainter::CompositionMode &blendMode );
|
void blendModeChanged( const QPainter::CompositionMode &blendMode );
|
||||||
|
|
||||||
|
/** Signal emitted when renderer is changed */
|
||||||
|
void rendererChanged();
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
/** Set the extent */
|
/** Set the extent */
|
||||||
virtual void setExtent( const QgsRectangle &rect );
|
virtual void setExtent( const QgsRectangle &rect );
|
||||||
|
|||||||
@ -1584,9 +1584,6 @@ class CORE_EXPORT QgsVectorLayer : public QgsMapLayer
|
|||||||
*/
|
*/
|
||||||
void labelingFontNotFound( QgsVectorLayer* layer, const QString& fontfamily );
|
void labelingFontNotFound( QgsVectorLayer* layer, const QString& fontfamily );
|
||||||
|
|
||||||
/** Signal emitted on symbology changes, when setRendererV2() is called */
|
|
||||||
void rendererChanged();
|
|
||||||
|
|
||||||
/** Signal emitted when setFeatureBlendMode() is called */
|
/** Signal emitted when setFeatureBlendMode() is called */
|
||||||
void featureBlendModeChanged( const QPainter::CompositionMode &blendMode );
|
void featureBlendModeChanged( const QPainter::CompositionMode &blendMode );
|
||||||
|
|
||||||
|
|||||||
@ -389,9 +389,6 @@ class CORE_EXPORT QgsRasterLayer : public QgsMapLayer
|
|||||||
*/
|
*/
|
||||||
void dataChanged();
|
void dataChanged();
|
||||||
|
|
||||||
/** Signal emitted when the symbology changes, through call to setRenderer() */
|
|
||||||
void rendererChanged();
|
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
/** \brief Read the symbology for the current layer from the Dom node supplied */
|
/** \brief Read the symbology for the current layer from the Dom node supplied */
|
||||||
bool readSymbology( const QDomNode& node, QString& errorMessage );
|
bool readSymbology( const QDomNode& node, QString& errorMessage );
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user