QGIS API Documentation
2.8.2-Wien
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
src
gui
symbology-ng
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
20
class
QgsSingleSymbolRendererV2
;
21
class
QgsSymbolV2SelectorDialog
;
22
23
class
QMenu;
24
25
class
GUI_EXPORT
QgsSingleSymbolRendererV2Widget
:
public
QgsRendererV2Widget
26
{
27
Q_OBJECT
28
29
public
:
30
static
QgsRendererV2Widget
* create(
QgsVectorLayer
* layer,
QgsStyleV2
* style,
QgsFeatureRendererV2
* renderer );
31
32
QgsSingleSymbolRendererV2Widget
(
QgsVectorLayer
* layer,
QgsStyleV2
* style,
QgsFeatureRendererV2
* renderer );
33
~
QgsSingleSymbolRendererV2Widget
();
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
48
QgsSingleSymbolRendererV2
*
mRenderer
;
49
QgsSymbolV2SelectorDialog
*
mSelector
;
50
QgsSymbolV2
*
mSingleSymbol
;
51
52
QgsRendererV2DataDefinedMenus
*
mDataDefinedMenus
;
53
};
54
55
56
#endif // QGSSINGLESYMBOLRENDERERV2WIDGET_H
Generated on Sun May 10 2015 16:33:26 for QGIS API Documentation by
1.8.1.2