QGIS API Documentation 3.41.0-Master (45a0abf3bec)
Loading...
Searching...
No Matches
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
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_sip.h"
21#include "qgsrendererwidget.h"
22#include "qgis_gui.h"
23
24class Qgs25DRenderer;
25
30class 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
52
53 QgsFeatureRenderer *renderer() override;
54
55 private slots:
56 void updateRenderer();
57
58 private:
59 void apply() override SIP_FORCE;
60
61 std::unique_ptr< Qgs25DRenderer > mRenderer;
62
63 friend class QgsAppScreenShots;
64};
65
66#endif // QGS25DRENDERERWIDGET_H
~Qgs25DRendererWidget() override
A vector renderer which represents 3D features in an isometric view.
Abstract base class for all 2D vector feature renderers.
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_FORCE
Definition qgis_sip.h:131
#define SIP_TRANSFER
Definition qgis_sip.h:36
#define SIP_FACTORY
Definition qgis_sip.h:76