Skip to content
Permalink
Browse files

rebased on master and addressed review comments

  • Loading branch information
Samweli authored and nyalldawson committed Feb 16, 2021
1 parent a388376 commit fd9ddcedd803d1ddb3771835e51d0f054eea20bf
@@ -39,6 +39,8 @@ Constructor
void addPropertiesPageFactory( QgsMapLayerConfigWidgetFactory *factory );
%Docstring
Adds a properties page factory to the raster layer properties dialog.

.. versionadded:: 3.18
%End

protected slots:
@@ -949,8 +949,7 @@ void QgsRasterLayerProperties::sync()

mTemporalWidget->syncToLayer();

const auto constMLayerPropertiesPages = mLayerPropertiesPages;
for ( QgsMapLayerConfigWidget *page : constMLayerPropertiesPages )
for ( QgsMapLayerConfigWidget *page : qgis::as_const( mLayerPropertiesPages ) )
{
page->syncToLayer( mRasterLayer );
}
@@ -79,7 +79,10 @@ class GUI_EXPORT QgsRasterLayerProperties : public QgsOptionsDialogBase, private
*/
QgsRasterLayerProperties( QgsMapLayer *lyr, QgsMapCanvas *canvas, QWidget *parent = nullptr, Qt::WindowFlags = QgsGuiUtils::ModalDialogFlags );

//! Adds a properties page factory to the raster layer properties dialog.
/**
* Adds a properties page factory to the raster layer properties dialog.
* \since QGIS 3.18
*/
void addPropertiesPageFactory( QgsMapLayerConfigWidgetFactory *factory );

protected slots:

0 comments on commit fd9ddce

Please sign in to comment.