QGIS/python/gui/auto_generated/raster/qgsrastertransparencywidget.sip.in
Juergen E. Fischer c6008b7ee1 fix MSVC build: reverts fee62e4, dff05dd and e3a77b9484c effectivly
reverting 3fb0f66 (followup #45348)

Using --no-public-is-protected (default on Windows) also works on Linux
and fixes #45331 too
2021-10-21 23:03:48 +02:00

72 lines
2.1 KiB
Plaintext

/************************************************************************
* This file has been generated automatically from *
* *
* src/gui/raster/qgsrastertransparencywidget.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/
class QgsRasterTransparencyWidget : QgsMapLayerConfigWidget
{
%Docstring(signature="appended")
Widget to control a layers transparency and related options
%End
%TypeHeaderCode
#include "qgsrastertransparencywidget.h"
%End
public:
QgsRasterTransparencyWidget( QgsRasterLayer *layer, QgsMapCanvas *canvas, QWidget *parent = 0 );
%Docstring
Widget to control a layers transparency and related options
%End
void setContext( const QgsSymbolWidgetContext &context );
%Docstring
Sets the ``context`` in which the dialog is shown, e.g., the associated map canvas and expression contexts.
.. versionadded:: 3.22
%End
virtual QgsExpressionContext createExpressionContext() const;
QgsMapToolEmitPoint *pixelSelectorTool() const;
%Docstring
Returns the (possibly None) map pixel selector tool.
.. versionadded:: 3.22
%End
public slots:
void syncToLayer();
%Docstring
Sync the widget state to the layer set for the widget.
%End
virtual void apply();
%Docstring
Apply any changes on the widget to the set layer.
%End
protected:
};
/************************************************************************
* This file has been generated automatically from *
* *
* src/gui/raster/qgsrastertransparencywidget.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/