QGIS API Documentation
3.6.0-Noosa (5873452)
src
gui
symbology
qgsnullsymbolrendererwidget.h
Go to the documentation of this file.
1
/***************************************************************************
2
qgsnullsymbolrendererwidget.h
3
---------------------
4
begin : November 2014
5
copyright : (C) 2014 by Nyall Dawson
6
email : nyall dot dawson 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 QGSNULLSYMBOLRENDERERWIDGET_H
16
#define QGSNULLSYMBOLRENDERERWIDGET_H
17
18
#include "
qgsrendererwidget.h
"
19
#include "
qgis_sip.h
"
20
#include "qgis_gui.h"
21
22
class
QgsNullSymbolRenderer
;
23
24
class
QMenu;
25
33
class
GUI_EXPORT
QgsNullSymbolRendererWidget
:
public
QgsRendererWidget
34
{
35
Q_OBJECT
36
37
public
:
38
40
static
QgsRendererWidget
*create(
QgsVectorLayer
*layer,
QgsStyle
*style,
QgsFeatureRenderer
*renderer )
SIP_FACTORY
;
41
43
QgsNullSymbolRendererWidget
(
QgsVectorLayer
*layer,
QgsStyle
*style,
QgsFeatureRenderer
*renderer );
44
~
QgsNullSymbolRendererWidget
()
override
;
45
47
QgsFeatureRenderer
*
renderer
()
override
;
48
49
protected
:
50
52
QgsNullSymbolRenderer
*mRenderer =
nullptr
;
53
54
};
55
56
57
#endif // QGSNULLSYMBOLRENDERERWIDGET_H
QgsRendererWidget::renderer
virtual QgsFeatureRenderer * renderer()=0
Returns pointer to the renderer (no transfer of ownership)
QgsNullSymbolRendererWidget
Blank widget for customizing QgsNullSymbolRenderer.
Definition:
qgsnullsymbolrendererwidget.h:33
QgsRendererWidget
Base class for renderer settings widgets.
Definition:
qgsrendererwidget.h:44
QgsStyle
Definition:
qgsstyle.h:76
QgsNullSymbolRenderer
Null symbol renderer.
Definition:
qgsnullsymbolrenderer.h:31
qgis_sip.h
SIP_FACTORY
#define SIP_FACTORY
Definition:
qgis_sip.h:69
QgsFeatureRenderer
Definition:
qgsrenderer.h:90
qgsrendererwidget.h
QgsVectorLayer
Represents a vector layer which manages a vector based data sets.
Definition:
qgsvectorlayer.h:362
Generated on Sat Feb 23 2019 03:59:22 for QGIS API Documentation by
1.8.13