QGIS API Documentation
3.10.0-A Coruña (6c816b4204)
src
gui
raster
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
18
#include "
qgsrasterrendererwidget.h
"
19
#include "
qgsrasterdataprovider.h
"
20
#include "
qgsrasterlayer.h
"
21
#include "
qgsmapcanvas.h
"
22
23
void
QgsRasterRendererWidget::setMapCanvas
(
QgsMapCanvas
*canvas )
24
{
25
mCanvas
= canvas;
26
}
27
28
QgsMapCanvas
*
QgsRasterRendererWidget::mapCanvas
()
29
{
30
return
mCanvas
;
31
}
32
qgsrasterlayer.h
qgsmapcanvas.h
QgsMapCanvas
Map canvas is a class for displaying all GIS data types on a canvas.
Definition:
qgsmapcanvas.h:75
QgsRasterRendererWidget::setMapCanvas
virtual void setMapCanvas(QgsMapCanvas *canvas)
Sets the map canvas associated with the widget.
Definition:
qgsrasterrendererwidget.cpp:23
qgsrasterrendererwidget.h
QgsRasterRendererWidget::mapCanvas
QgsMapCanvas * mapCanvas()
Returns the map canvas associated with the widget.
Definition:
qgsrasterrendererwidget.cpp:28
QgsRasterRendererWidget::mCanvas
QgsMapCanvas * mCanvas
Associated map canvas.
Definition:
qgsrasterrendererwidget.h:98
qgsrasterdataprovider.h
Generated on Sun Oct 27 2019 00:43:28 for QGIS API Documentation by
1.8.13