QGIS API Documentation 3.41.0-Master (af5edcb665c)
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:
41 static QgsRendererWidget *create( QgsVectorLayer *layer, QgsStyle *style, QgsFeatureRenderer *renderer SIP_TRANSFER ) SIP_FACTORY;
42
51
52 QgsFeatureRenderer *renderer() override;
53
54 private slots:
55 void updateRenderer();
56
57 private:
58 void apply() override SIP_FORCE;
59
60 std::unique_ptr<Qgs25DRenderer> mRenderer;
61
62 friend class QgsAppScreenShots;
63};
64
65#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