Skip to content

Commit

Permalink
run sipify
Browse files Browse the repository at this point in the history
  • Loading branch information
3nids committed Jan 9, 2018
1 parent 9deef83 commit 5babec5
Show file tree
Hide file tree
Showing 95 changed files with 0 additions and 1,790 deletions.
21 changes: 0 additions & 21 deletions python/analysis/interpolation/qgsinterpolator.sip
Original file line number Diff line number Diff line change
Expand Up @@ -25,17 +25,8 @@ Constructor for QgsInterpolatorVertexData
%End

double x;
%Docstring
X-coordinate
%End
double y;
%Docstring
Y-coordinate
%End
double z;
%Docstring
Z-coordinate
%End
};

class QgsInterpolator
Expand Down Expand Up @@ -76,21 +67,9 @@ can be an attribute or the z-coordinates in case of 3D types.
struct LayerData
{
QgsFeatureSource *source;
%Docstring
Feature source
%End
QgsInterpolator::ValueSource valueSource;
%Docstring
Source for feature values to interpolate
%End
int interpolationAttribute;
%Docstring
Index of feature attribute to use for interpolation
%End
QgsInterpolator::SourceType sourceType;
%Docstring
Source type
%End
};

QgsInterpolator( const QList<QgsInterpolator::LayerData> &layerData );
Expand Down
15 changes: 0 additions & 15 deletions python/analysis/raster/qgsalignraster.sip
Original file line number Diff line number Diff line change
Expand Up @@ -111,27 +111,12 @@ Get raster value at the given coordinates (from the first band)
Item( const QString &input, const QString &output );

QString inputFilename;
%Docstring
filename of the source raster
%End
QString outputFilename;
%Docstring
filename of the newly created aligned raster (will be overwritten if exists already)
%End
QgsAlignRaster::ResampleAlg resampleMethod;
%Docstring
resampling method to be used
%End
bool rescaleValues;
%Docstring
rescaling of values according to the change of pixel size
%End


double srcCellSizeInDestCRS;
%Docstring
used for rescaling of values (if necessary)
%End
};
typedef QList<QgsAlignRaster::Item> List;

Expand Down
24 changes: 0 additions & 24 deletions python/analysis/raster/qgskde.sip
Original file line number Diff line number Diff line change
Expand Up @@ -51,44 +51,20 @@ Performs Kernel Density Estimation ("heatmap") calculations on a vector layer.
struct Parameters
{
QgsFeatureSource *source;
%Docstring
Point feature source
%End

double radius;
%Docstring
Fixed radius, in map units
%End

QString radiusField;
%Docstring
Field for radius, or empty if using a fixed radius
%End

QString weightField;
%Docstring
Field name for weighting field, or empty if not using weights
%End

double pixelSize;
%Docstring
Size of pixel in output file
%End

QgsKernelDensityEstimation::KernelShape shape;
%Docstring
Kernel shape
%End

double decayRatio;
%Docstring
Decay ratio (Triangular kernels only)
%End

QgsKernelDensityEstimation::OutputValues outputValues;
%Docstring
Type of output value
%End
};

QgsKernelDensityEstimation( const Parameters &parameters, const QString &outputFile, const QString &outputFormat );
Expand Down
3 changes: 0 additions & 3 deletions python/core/auth/qgsauthconfig.sip
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,6 @@ Construct a configuration for an authentication method
bool operator==( const QgsAuthMethodConfig &other ) const;

bool operator!=( const QgsAuthMethodConfig &other ) const;
%Docstring
Operator used to compare configs' inequality
%End

const QString id() const;
%Docstring
Expand Down
6 changes: 0 additions & 6 deletions python/core/auth/qgsauthmanager.sip
Original file line number Diff line number Diff line change
Expand Up @@ -720,14 +720,8 @@ Rebuild trusted certificate authorities cache


static const QString AUTH_PASSWORD_HELPER_DISPLAY_NAME;
%Docstring
The display name of the password helper (platform dependent)
%End

static const QString AUTH_MAN_TAG;
%Docstring
The display name of the Authentication Manager
%End

signals:

Expand Down
16 changes: 0 additions & 16 deletions python/core/effects/qgsimageoperation.sip
Original file line number Diff line number Diff line change
Expand Up @@ -100,28 +100,12 @@ original image, but replaces all image pixel colors with the specified color.
{

bool shadeExterior;
%Docstring
Set to true to perform the distance transform on transparent pixels
in the source image, set to false to perform the distance transform
on opaque pixels
%End

bool useMaxDistance;
%Docstring
Set to true to automatically calculate the maximum distance in the
transform to use as the spread value
%End

double spread;
%Docstring
Maximum distance (in pixels) for the distance transform shading to
spread
%End

QgsColorRamp *ramp;
%Docstring
Color ramp to use for shading the distance transform
%End
};

static void distanceTransform( QImage &image, const QgsImageOperation::DistanceTransformProperties &properties );
Expand Down
6 changes: 0 additions & 6 deletions python/core/expression/qgsexpressionnode.sip
Original file line number Diff line number Diff line change
Expand Up @@ -76,14 +76,8 @@ Constructor for NamedNode
%End

QString name;
%Docstring
Node name
%End

QgsExpressionNode *node;
%Docstring
Node
%End
};

class NodeList
Expand Down
4 changes: 0 additions & 4 deletions python/core/fieldformatter/qgsvaluemapfieldformatter.sip
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,6 @@ configuration:
public:

static const QString NULL_VALUE;
%Docstring
Will be saved in the configuration when a value is NULL.
It's the magic UUID {2839923C-8B7D-419E-B84B-CA2FE9B80EC7}
%End

QgsValueMapFieldFormatter();
%Docstring
Expand Down
36 changes: 0 additions & 36 deletions python/core/geocms/geonode/qgsgeonoderequest.sip
Original file line number Diff line number Diff line change
Expand Up @@ -14,29 +14,14 @@ struct QgsGeoNodeStyle
%End

QString id;
%Docstring
Unique style ID
%End

QString name;
%Docstring
Style name
%End

QString title;
%Docstring
Style title
%End

QDomDocument body;
%Docstring
DOM documenting containing style
%End

QString styleUrl;
%Docstring
Associated URL
%End
};

class QgsGeoNodeRequest : QObject
Expand All @@ -58,33 +43,12 @@ server instance, for instance requesting all available layers or layer styles.
struct ServiceLayerDetail
{
QUuid uuid;
%Docstring
Unique identifier (generate on the client side, not at the GeoNode server)
%End
QString name;
%Docstring
Layer name
%End
QString typeName;
%Docstring
Layer type name
%End
QString title;
%Docstring
Layer title
%End
QString wmsURL;
%Docstring
WMS URL for layer
%End
QString wfsURL;
%Docstring
WFS URL for layer
%End
QString xyzURL;
%Docstring
XYZ tileserver URL for layer
%End
};

QgsGeoNodeRequest( const QString &baseUrl, bool forceRefresh, QObject *parent = 0 );
Expand Down
9 changes: 0 additions & 9 deletions python/core/geometry/qgsgeometry.sip
Original file line number Diff line number Diff line change
Expand Up @@ -1665,17 +1665,8 @@ Downgrades a point list from QgsPoint to :py:class:`QgsPointXY`
%End

operator QVariant() const;
%Docstring
Allows direct construction of QVariants from geometry.
%End

operator bool() const;
%Docstring
Returns true if the geometry is non empty (ie, isNull() returns false),
or false if it is an empty, uninitialized geometry (ie, isNull() returns true).

.. versionadded:: 3.0
%End

}; // class QgsGeometry

Expand Down
25 changes: 0 additions & 25 deletions python/core/geometry/qgspoint.sip
Original file line number Diff line number Diff line change
Expand Up @@ -316,39 +316,14 @@ Example:
%End

QgsVector operator-( const QgsPoint &p ) const;
%Docstring
Calculates the vector obtained by subtracting a point from this point.

.. versionadded:: 3.0
%End

QgsPoint &operator+=( QgsVector v );
%Docstring
Adds a vector to this point in place.

.. versionadded:: 3.0
%End

QgsPoint &operator-=( QgsVector v );
%Docstring
Subtracts a vector from this point in place.

.. versionadded:: 3.0
%End

QgsPoint operator+( QgsVector v ) const;
%Docstring
Adds a vector to this point.

.. versionadded:: 3.0
%End

QgsPoint operator-( QgsVector v ) const;
%Docstring
Subtracts a vector from this point.

.. versionadded:: 3.0
%End

virtual bool isEmpty() const;

Expand Down
28 changes: 0 additions & 28 deletions python/core/geometry/qgsrectangle.sip
Original file line number Diff line number Diff line change
Expand Up @@ -235,32 +235,12 @@ Expand the rectangle so that covers both the original rectangle and the given po
%End

QgsRectangle operator-( const QgsVector v ) const;
%Docstring
Returns a rectangle offset from this one in the direction of the reversed vector.

.. versionadded:: 3.0
%End

QgsRectangle operator+( const QgsVector v ) const;
%Docstring
Returns a rectangle offset from this one in the direction of the vector.

.. versionadded:: 3.0
%End

QgsRectangle &operator-=( const QgsVector v );
%Docstring
Moves this rectangle in the direction of the reversed vector.

.. versionadded:: 3.0
%End

QgsRectangle &operator+=( const QgsVector v );
%Docstring
Moves this rectangle in the direction of the vector.

.. versionadded:: 3.0
%End

bool isEmpty() const;
%Docstring
Expand Down Expand Up @@ -306,11 +286,6 @@ Returns the rectangle as a polygon.
bool operator==( const QgsRectangle &r1 ) const;

bool operator!=( const QgsRectangle &r1 ) const;
%Docstring
Comparison operator

:return: False if rectangles are equal
%End


bool isFinite() const;
Expand All @@ -333,9 +308,6 @@ Converts the rectangle to a 3D box, with the specified
%End

operator QVariant() const;
%Docstring
Allows direct construction of QVariants from rectangles.
%End

};

Expand Down
6 changes: 0 additions & 6 deletions python/core/geometry/qgsreferencedgeometry.sip
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,6 @@ Constructor for QgsReferencedRectangle.
%End

operator QVariant() const;
%Docstring
Allows direct construction of QVariants from rectangle.
%End

};

Expand Down Expand Up @@ -108,9 +105,6 @@ Constructor for QgsReferencedPointXY.
%End

operator QVariant() const;
%Docstring
Allows direct construction of QVariants from point.
%End

};

Expand Down
Loading

0 comments on commit 5babec5

Please sign in to comment.