QGIS API Documentation
2.18.21-Las Palmas (9fba24a)
src
gui
qgsmaplayerconfigwidget.h
Go to the documentation of this file.
1
/***************************************************************************
2
qgsmaplayerconfigwidget.h
3
-------------------------
4
begin : June 2016
5
copyright : (C) 2016 by Nathan Woodrow
6
email : woodrow dot nathan at gmail dot com
7
***************************************************************************
8
* *
9
* This program is free software; you can redistribute it and/or modify *
10
* it under the terms of the GNU General Public License as published by *
11
* the Free Software Foundation; either version 2 of the License, or *
12
* (at your option) any later version. *
13
* *
14
***************************************************************************/
15
#ifndef QGSMAPLAYERCONFIGWIDGET_H
16
#define QGSMAPLAYERCONFIGWIDGET_H
17
18
#include <QWidget>
19
#include <QIcon>
20
21
#include "
qgsmaplayer.h
"
22
#include "
qgspanelwidget.h
"
23
24
class
QgsMapCanvas
;
25
31
class
GUI_EXPORT
QgsMapLayerConfigWidget
:
public
QgsPanelWidget
32
{
33
Q_OBJECT
34
public
:
35
44
QgsMapLayerConfigWidget
(
QgsMapLayer
* layer,
QgsMapCanvas
*canvas,
QWidget
*parent = 0 );
45
46
public
slots:
51
virtual
void
apply() = 0;
52
53
protected
:
54
QgsMapLayer
*
mLayer
;
55
QgsMapCanvas
*
mMapCanvas
;
56
};
57
58
#endif // QGSMAPLAYERCONFIGWIDGET_H
QgsMapLayerConfigWidget
A panel widget that can be shown in the map style dock.
Definition:
qgsmaplayerconfigwidget.h:31
QWidget
QgsMapLayer
Base class for all map layer types.
Definition:
qgsmaplayer.h:49
QgsMapLayerConfigWidget::mLayer
QgsMapLayer * mLayer
Definition:
qgsmaplayerconfigwidget.h:54
QgsPanelWidget
Base class for any widget that can be shown as a inline panel.
Definition:
qgspanelwidget.h:25
QgsMapCanvas
Map canvas is a class for displaying all GIS data types on a canvas.
Definition:
qgsmapcanvas.h:109
qgsmaplayer.h
qgspanelwidget.h
QgsMapLayerConfigWidget::mMapCanvas
QgsMapCanvas * mMapCanvas
Definition:
qgsmaplayerconfigwidget.h:55
Generated on Sun Jun 24 2018 11:42:48 for QGIS API Documentation by
1.8.13