QGIS API Documentation 3.41.0-Master (fda2aa46e9a)
Loading...
Searching...
No Matches
qgsrasterrendererwidget.cpp
Go to the documentation of this file.
1/***************************************************************************
2 qgsrasterrendererwidget.cpp
3 ---------------------------
4 begin : June 2012
5 copyright : (C) 2012 by Marco Hugentobler
6 email : marco at sourcepole dot ch
7 ***************************************************************************/
8
9/***************************************************************************
10 * *
11 * This program is free software; you can redistribute it and/or modify *
12 * it under the terms of the GNU General Public License as published by *
13 * the Free Software Foundation; either version 2 of the License, or *
14 * (at your option) any later version. *
15 * *
16 ***************************************************************************/
17
19#include "moc_qgsrasterrendererwidget.cpp"
21#include "qgsrasterlayer.h"
22#include "qgsmapcanvas.h"
23
25{
26 mCanvas = canvas;
27}
28
33
Map canvas is a class for displaying all GIS data types on a canvas.
virtual void setMapCanvas(QgsMapCanvas *canvas)
Sets the map canvas associated with the widget.
QgsMapCanvas * mapCanvas()
Returns the map canvas associated with the widget.
QgsMapCanvas * mCanvas
Associated map canvas.