QGIS API Documentation 3.41.0-Master (af5edcb665c)
Loading...
Searching...
No Matches
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
23
24class QMenu;
25
33{
34 Q_OBJECT
35
36 public:
38 static QgsRendererWidget *create( QgsVectorLayer *layer, QgsStyle *style, QgsFeatureRenderer *renderer ) SIP_FACTORY;
39
43
45 QgsFeatureRenderer *renderer() override;
46
47 protected:
49 std::unique_ptr<QgsNullSymbolRenderer> mRenderer;
50};
51
52
53#endif // QGSNULLSYMBOLRENDERERWIDGET_H
Abstract base class for all 2D vector feature renderers.
Blank widget for customizing QgsNullSymbolRenderer.
~QgsNullSymbolRendererWidget() override
std::unique_ptr< QgsNullSymbolRenderer > mRenderer
Renderer being configured by the widget.
Null symbol renderer, which draws no symbols for features by default, but allows for labeling and dia...
Base class for renderer settings widgets.
virtual QgsFeatureRenderer * renderer()=0
Returns pointer to the renderer (no transfer of ownership)
Represents a vector layer which manages a vector based data sets.
#define SIP_FACTORY
Definition qgis_sip.h:76