void setContentsMargins(int left, int top, int right, int bottom)
QgsSymbolV2 * symbol() const
virtual QgsSymbolV2 * clone() const =0
static QgsSingleSymbolRendererV2 * convertFromRenderer(const QgsFeatureRendererV2 *renderer)
creates a QgsSingleSymbolRendererV2 from an existing renderer.
QString tr(const char *sourceText, const char *disambiguation, int n)
Map canvas is a class for displaying all GIS data types on a canvas.
QGis::GeometryType geometryType() const
Returns point, line or polygon.
void setScaleMethod(QgsSymbolV2::ScaleMethod scaleMethod)
static QgsSymbolV2 * defaultSymbol(QGis::GeometryType geomType)
return new default symbol for specified geometry type
void setSizeScaleField(const QString &fieldOrExpression)
void setSymbol(QgsSymbolV2 *s)
bool connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
Represents a vector layer which manages a vector based data sets.
void setScaleMethod(QgsSymbolV2::ScaleMethod scaleMethod)