/************************************************************************ * This file has been generated automatically from * * * * src/gui/raster/qgsrastertransparencywidget.h * * * * Do not edit manually ! Edit header and run scripts/sipify.py 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.py again * ************************************************************************/