QGIS/python/PyQt6/gui/auto_generated/raster/qgsrastertransparencywidget.sip.in
Julien Cabieces bb3c36a69b Initialize sip bindings for PyQt6
use exactly the ones from PyQt5 so we can study the difference when
generating for PyQt6
2023-12-08 03:38:42 +10: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 *
************************************************************************/