@@ -43,42 +43,21 @@ class CORE_EXPORT QgsEllipseSymbolLayerV2: public QgsMarkerSymbolLayerV2
43
43
void setSymbolName ( const QString& name ) { mSymbolName = name; }
44
44
QString symbolName () const { return mSymbolName ; }
45
45
46
- void setSymbolNameField ( const QString& field ) { mSymbolNameField = field; }
47
- const QString& symbolNameField () const { return mSymbolNameField ; }
48
-
49
46
void setSymbolWidth ( double w ) { mSymbolWidth = w; }
50
47
double symbolWidth () const { return mSymbolWidth ; }
51
48
52
- void setWidthField ( const QString& field ) { mWidthField = field; }
53
- const QString& widthField () const { return mWidthField ; }
54
-
55
49
void setSymbolHeight ( double h ) { mSymbolHeight = h; }
56
50
double symbolHeight () const { return mSymbolHeight ; }
57
51
58
- void setHeightField ( const QString& field ) { mHeightField = field; }
59
- const QString& heightField () const { return mHeightField ; }
60
-
61
- void setRotationField ( const QString& field ) { mRotationField = field; }
62
- const QString& rotationField () const { return mRotationField ; }
63
-
64
52
void setOutlineWidth ( double w ) { mOutlineWidth = w; }
65
53
double outlineWidth () const { return mOutlineWidth ; }
66
54
67
- void setOutlineWidthField ( const QString& field ) { mOutlineWidthField = field; }
68
- const QString& outlineWidthField () const { return mOutlineWidthField ; }
69
-
70
55
void setFillColor ( const QColor& c ) { mFillColor = c;}
71
56
QColor fillColor () const { return mFillColor ; }
72
57
73
- void setFillColorField ( const QString& field ) { mFillColorField = field; }
74
- const QString& fillColorField () const { return mFillColorField ; }
75
-
76
58
void setOutlineColor ( const QColor& c ) { mOutlineColor = c; }
77
59
QColor outlineColor () const { return mOutlineColor ; }
78
60
79
- void setOutlineColorField ( const QString& field ) { mOutlineColorField = field; }
80
- const QString& outlineColorField () const { return mOutlineColorField ; }
81
-
82
61
QSet<QString> usedAttributes () const ;
83
62
84
63
void setSymbolWidthUnit ( QgsSymbolV2::OutputUnit unit ) { mSymbolWidthUnit = unit; }
@@ -111,14 +90,6 @@ class CORE_EXPORT QgsEllipseSymbolLayerV2: public QgsMarkerSymbolLayerV2
111
90
QgsSymbolV2::OutputUnit mOutlineWidthUnit ;
112
91
113
92
// data defined property fields
114
- QString mWidthField ;
115
- QString mHeightField ;
116
- QString mRotationField ;
117
- QString mOutlineWidthField ;
118
- QString mFillColorField ;
119
- QString mOutlineColorField ;
120
- QString mSymbolNameField ;
121
-
122
93
QgsExpression* mWidthExpression ;
123
94
QgsExpression* mHeightExpression ;
124
95
QgsExpression* mRotationExpression ;
@@ -127,16 +98,6 @@ class CORE_EXPORT QgsEllipseSymbolLayerV2: public QgsMarkerSymbolLayerV2
127
98
QgsExpression* mOutlineColorExpression ;
128
99
QgsExpression* mSymbolNameExpression ;
129
100
130
- // field indices for data defined properties
131
- // resolved in startRender method
132
- int mWidthIndex ;
133
- int mHeightIndex ;
134
- int mRotationIndex ;
135
- int mOutlineWidthIndex ;
136
- int mFillColorIndex ;
137
- int mOutlineColorIndex ;
138
- int mSymbolNameIndex ;
139
-
140
101
QPainterPath mPainterPath ;
141
102
142
103
QPen mPen ;
0 commit comments