This commit is contained in:
Nyall Dawson 2017-09-25 11:29:33 +10:00
parent f952e6a647
commit 60b8ec5488
4 changed files with 5 additions and 5 deletions

View File

@ -171,7 +171,7 @@ class QgsAtlasComposition : QObject
:rtype: str
%End
void setFileFormat( QString format );
void setFileFormat( const QString &format );
%Docstring
Sets the atlas file format used for image exports.
\param format set the file format extension

View File

@ -86,11 +86,11 @@ Returns transformer for scaling of symbol sizes. Returns null if no transformer
:rtype: QgsSizeScaleTransformer
%End
void setClasses( const QList<QgsDataDefinedSizeLegend::SizeClass> &classes );
void setClasses( const QList< QgsDataDefinedSizeLegend::SizeClass > &classes );
%Docstring
Sets list of classes: each class is a pair of symbol size (in units used by the symbol) and label
%End
QList<QgsDataDefinedSizeLegend::SizeClass> classes() const;
QList< QgsDataDefinedSizeLegend::SizeClass > classes() const;
%Docstring
Returns list of classes: each class is a pair of symbol size (in units used by the symbol) and label
:rtype: list of QgsDataDefinedSizeLegend.SizeClass

View File

@ -189,7 +189,7 @@ Sets coordinate transformation.
void setRenderingStopped( bool stopped );
void setDistanceArea( const QgsDistanceArea distanceArea );
void setDistanceArea( const QgsDistanceArea &distanceArea );
%Docstring
A general purpose distance and area calculator, capable of performing ellipsoid based calculations.
Will be used to convert meter distances to active MapUnit values for QgsUnitTypes.RenderMetersInMapUnits

View File

@ -75,7 +75,7 @@ class QgsRendererRange
void swap( QgsRendererRange &other );
};
typedef QList<QgsRendererRange> QgsRangeList;
typedef QVector<QgsRendererRange> QgsRangeList;
class QgsRendererRangeLabelFormat