mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-09 00:08:52 -04:00
reverting 3fb0f66 (followup #45348) Using --no-public-is-protected (default on Windows) also works on Linux and fixes #45331 too
72 lines
2.1 KiB
Plaintext
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 *
|
|
************************************************************************/
|