QGIS/python/gui/raster/qgsrendererrasterpropertieswidget.sip

70 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
A widget to hold the renderer properties for a raster layer.
\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
%End
2017-05-31 11:55:58 +02:00
void setMapCanvas( QgsMapCanvas *canvas );
%Docstring
Sets the map canvas associated with the dialog. This allows the widget to retrieve the current
map scale and other properties from the canvas.
\param canvas map canvas
.. versionadded:: 2.12
%End
2017-05-31 11:55:58 +02:00
QgsRasterRendererWidget *currentRenderWidget();
%Docstring
Return the active render widget. Can be null.
:rtype: QgsRasterRendererWidget
%End
public slots:
void rendererChanged();
2017-05-31 11:55:58 +02:00
%Docstring
called when user changes renderer type
%End
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.
\param layer The layer to use for the widget
%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 *
************************************************************************/