QGIS/python/gui/auto_generated/raster/qgsrasterlayerproperties.sip.in

86 lines
2.5 KiB
Plaintext

/************************************************************************
* This file has been generated automatically from *
* *
* src/gui/raster/qgsrasterlayerproperties.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/
class QgsRasterLayerProperties : QgsLayerPropertiesDialog
{
%Docstring(signature="appended")
Property sheet for a raster map layer
.. versionadded:: 3.12
%End
%TypeHeaderCode
#include "qgsrasterlayerproperties.h"
%End
public:
QgsRasterLayerProperties( QgsMapLayer *lyr, QgsMapCanvas *canvas, QWidget *parent = 0, Qt::WindowFlags = QgsGuiUtils::ModalDialogFlags );
%Docstring
Constructor
:param lyr: Map layer for which properties will be displayed
:param canvas: the :py:class:`QgsMapCanvas` instance
:param parent: the parent of this widget
:param fl: windows flag
%End
virtual void addPropertiesPageFactory( const QgsMapLayerConfigWidgetFactory *factory ) ${SIP_FINAL};
virtual QgsExpressionContext createExpressionContext() const;
virtual bool eventFilter( QObject *obj, QEvent *ev );
void saveDefaultStyle() /Deprecated/;
%Docstring
Saves the default style when appropriate button is pressed
.. deprecated::
use :py:func:`~QgsRasterLayerProperties.saveStyleAsDefault` instead
%End
void loadStyle() /Deprecated/;
%Docstring
Loads a saved style when appropriate button is pressed
.. deprecated::
use :py:func:`~QgsRasterLayerProperties.loadStyleFromFile` instead.
%End
void saveStyleAs();
%Docstring
Saves a style when appriate button is pressed
.. versionadded:: 3.30
%End
protected slots:
virtual void optionsStackedWidget_CurrentChanged( int index ) ${SIP_FINAL};
virtual void apply() ${SIP_FINAL};
virtual void rollback() ${SIP_FINAL};
};
/************************************************************************
* This file has been generated automatically from *
* *
* src/gui/raster/qgsrasterlayerproperties.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/