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;
152 QString text, QFont font, QPen pen,
154 double xoffset,
double yoffset,
156 int width,
int height,
int alignment );
158 bool readLabelField( QDomElement &el,
int attr, QString prefix );
161 void labelPoint( std::vector<labelpoint>&,
QgsFeature &feature );
164 const unsigned char* labelPoint(
labelpoint& point,
const unsigned char* wkb,
size_t wkblen );
167 QColor mSelectionColor;
176 std::vector<QString> mLabelField;
179 std::vector<int> mLabelFieldIdx;
186 bool mScaleBasedVisibility;