104 void readXML(
const QDomNode& node );
107 void writeXML( QDomNode & label_node, QDomDocument & document )
const;
113 void setFields(
const QgsFields & fields );
125 void setLabelField(
int attr,
int fieldIndex );
128 QString labelField(
int attr )
const;
135 QString fieldValue(
int attr,
QgsFeature& feature );
138 void setMinScale(
float theMinScale );
139 float minScale()
const;
142 void setMaxScale(
float theMaxScale );
143 float maxScale()
const;
146 void setScaleBasedVisibility(
bool theVisibilityFlag );
147 bool scaleBasedVisibility()
const;
154 QString text, QFont font, QPen pen,
156 double xoffset,
double yoffset,
158 int width,
int height,
int alignment );
160 bool readLabelField( QDomElement &el,
int attr, QString prefix );
163 void labelPoint( std::vector<labelpoint>&,
QgsFeature &feature );
166 const unsigned char* labelPoint(
labelpoint& point,
const unsigned char* wkb,
size_t wkblen );
169 QColor mSelectionColor;
178 std::vector<QString> mLabelField;
181 std::vector<int> mLabelFieldIdx;
188 bool mScaleBasedVisibility;