QGIS API Documentation  2.18.21-Las Palmas (9fba24a)
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 "qgsrendererv2widget.h"
21 #include "qgs25drenderer.h"
22 
26 class GUI_EXPORT Qgs25DRendererWidget : public QgsRendererV2Widget, Ui::Qgs25DRendererWidgetBase
27 {
28  Q_OBJECT
29 
30  public:
36  static QgsRendererV2Widget* create( QgsVectorLayer* layer, QgsStyleV2* style, QgsFeatureRendererV2* renderer );
37 
44 
45  QgsFeatureRendererV2* renderer() override;
46 
47  private slots:
48  void updateRenderer();
49 
50  private:
51  void apply() override;
52 
53  Qgs25DRenderer* mRenderer;
54 };
55 
56 #endif // QGS25DRENDERERWIDGET_H
void create(WId window, bool initializeWindow, bool destroyOldWindow)
Base class for renderer settings widgets.
Represents a vector layer which manages a vector based data sets.
virtual QgsFeatureRendererV2 * renderer()=0
return pointer to the renderer (no transfer of ownership)