QGIS API Documentation  2.8.2-Wien
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
qgssinglesymbolrendererv2widget.h
Go to the documentation of this file.
1 /***************************************************************************
2  qgssinglesymbolrendererv2widget.h
3  ---------------------
4  begin : November 2009
5  copyright : (C) 2009 by Martin Dobias
6  email : wonder dot sk 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 QGSSINGLESYMBOLRENDERERV2WIDGET_H
16 #define QGSSINGLESYMBOLRENDERERV2WIDGET_H
17 
18 #include "qgsrendererv2widget.h"
19 
22 
23 class QMenu;
24 
26 {
27  Q_OBJECT
28 
29  public:
30  static QgsRendererV2Widget* create( QgsVectorLayer* layer, QgsStyleV2* style, QgsFeatureRendererV2* renderer );
31 
34 
35  virtual QgsFeatureRendererV2* renderer() override;
36 
37  public slots:
38  void changeSingleSymbol();
39 
40  void rotationFieldChanged( QString fldName );
41  void sizeScaleFieldChanged( QString fldName );
42  void scaleMethodChanged( QgsSymbolV2::ScaleMethod scaleMethod );
43 
44  void showSymbolLevels();
45 
46  protected:
47 
51 
53 };
54 
55 
56 #endif // QGSSINGLESYMBOLRENDERERV2WIDGET_H