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

74 lines
2.2 KiB
Plaintext
Raw Normal View History

2017-05-31 11:55:58 +02:00
/************************************************************************
* This file has been generated automatically from *
* *
* src/gui/raster/qgsrendererrasterpropertieswidget.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/
class QgsRendererRasterPropertiesWidget : QgsMapLayerConfigWidget
{
2017-05-31 11:55:58 +02:00
%TypeHeaderCode
2017-05-31 11:55:58 +02:00
#include "qgsrendererrasterpropertieswidget.h"
%End
public:
2017-05-31 11:55:58 +02:00
QgsRendererRasterPropertiesWidget( QgsMapLayer *layer, QgsMapCanvas *canvas, QWidget *parent = 0 );
%Docstring
2017-12-15 10:36:55 -04:00
A widget to hold the renderer properties for a raster layer.
2017-12-15 21:36:08 -04:00
2017-12-15 10:36:55 -04:00
:param layer: The raster layer to style
:param canvas: The canvas object used to calculate the max and min values from the extent.
:param parent: Parent object
2017-05-31 11:55:58 +02:00
%End
2017-05-31 11:55:58 +02:00
void setMapCanvas( QgsMapCanvas *canvas );
%Docstring
2017-12-15 10:36:55 -04:00
Sets the map canvas associated with the dialog. This allows the widget to retrieve the current
map scale and other properties from the canvas.
2017-12-15 21:36:08 -04:00
2017-12-15 10:36:55 -04:00
:param canvas: map canvas
2017-05-31 11:55:58 +02:00
.. versionadded:: 2.12
%End
2017-05-31 11:55:58 +02:00
QgsRasterRendererWidget *currentRenderWidget();
%Docstring
Returns the active render widget. Can be ``None``.
2017-05-31 11:55:58 +02:00
%End
public slots:
void rendererChanged();
2017-05-31 11:55:58 +02:00
%Docstring
called when user changes renderer type
%End
virtual void apply();
2017-05-31 11:55:58 +02:00
%Docstring
Apply the changes from the dialog to the layer.
%End
void syncToLayer( QgsRasterLayer *layer );
2017-05-31 11:55:58 +02:00
%Docstring
Sync the widget to the given layer.
2017-12-15 21:36:08 -04:00
2017-12-15 10:36:55 -04:00
:param layer: The layer to use for the widget
2017-05-31 11:55:58 +02:00
%End
};
2017-05-31 11:55:58 +02:00
/************************************************************************
* This file has been generated automatically from *
* *
* src/gui/raster/qgsrendererrasterpropertieswidget.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/