QGIS API Documentation
3.2.0-Bonn (bc43194)
src
gui
symbology
qgs25drendererwidget.h
Go to the documentation of this file.
1
/***************************************************************************
2
qgs25drendererwidget.h - Qgs25DRendererWidget
3
4
---------------------
5
begin : 14.1.2016
6
copyright : (C) 2016 by Matthias Kuhn
7
email :
[email protected]
8
***************************************************************************
9
* *
10
* This program is free software; you can redistribute it and/or modify *
11
* it under the terms of the GNU General Public License as published by *
12
* the Free Software Foundation; either version 2 of the License, or *
13
* (at your option) any later version. *
14
* *
15
***************************************************************************/
16
#ifndef QGS25DRENDERERWIDGET_H
17
#define QGS25DRENDERERWIDGET_H
18
19
#include "ui_qgs25drendererwidgetbase.h"
20
#include "
qgis.h
"
21
#include "
qgsrendererwidget.h
"
22
#include "qgis_gui.h"
23
24
class
Qgs25DRenderer
;
25
30
class
GUI_EXPORT
Qgs25DRendererWidget
:
public
QgsRendererWidget
,
protected
Ui::Qgs25DRendererWidgetBase
31
{
32
Q_OBJECT
33
34
public
:
35
42
static
QgsRendererWidget
*create(
QgsVectorLayer
*layer,
QgsStyle
*style,
QgsFeatureRenderer
*renderer
SIP_TRANSFER
)
SIP_FACTORY
;
43
50
Qgs25DRendererWidget
(
QgsVectorLayer
*layer,
QgsStyle
*style,
QgsFeatureRenderer
*renderer SIP_TRANSFER );
51
52
QgsFeatureRenderer
*
renderer
()
override
;
53
54
private
slots:
55
void
updateRenderer();
56
57
private
:
58
void
apply()
override
SIP_FORCE
;
59
60
Qgs25DRenderer
*mRenderer =
nullptr
;
61
};
62
63
#endif // QGS25DRENDERERWIDGET_H
QgsRendererWidget::renderer
virtual QgsFeatureRenderer * renderer()=0
Returns pointer to the renderer (no transfer of ownership)
QgsRendererWidget
Base class for renderer settings widgets.
Definition:
qgsrendererwidget.h:44
QgsStyle
Definition:
qgsstyle.h:76
SIP_FORCE
#define SIP_FORCE
Definition:
qgis_sip.h:124
SIP_TRANSFER
#define SIP_TRANSFER
Definition:
qgis_sip.h:36
SIP_FACTORY
#define SIP_FACTORY
Definition:
qgis_sip.h:69
Qgs25DRenderer
Definition:
qgs25drenderer.h:28
QgsFeatureRenderer
Definition:
qgsrenderer.h:90
qgis.h
qgsrendererwidget.h
QgsVectorLayer
Represents a vector layer which manages a vector based data sets.
Definition:
qgsvectorlayer.h:353
Qgs25DRendererWidget
Definition:
qgs25drendererwidget.h:30
Generated on Sat Jun 23 2018 20:58:15 for QGIS API Documentation by
1.8.13