Skip to content
Permalink
Browse files

run sipify

  • Loading branch information
3nids committed Jan 9, 2018
1 parent 9deef83 commit 5babec5e0737e74b26af014de26014f3c2e64194
Showing with 0 additions and 1,790 deletions.
  1. +0 −21 python/analysis/interpolation/qgsinterpolator.sip
  2. +0 −15 python/analysis/raster/qgsalignraster.sip
  3. +0 −24 python/analysis/raster/qgskde.sip
  4. +0 −3 python/core/auth/qgsauthconfig.sip
  5. +0 −6 python/core/auth/qgsauthmanager.sip
  6. +0 −16 python/core/effects/qgsimageoperation.sip
  7. +0 −6 python/core/expression/qgsexpressionnode.sip
  8. +0 −4 python/core/fieldformatter/qgsvaluemapfieldformatter.sip
  9. +0 −36 python/core/geocms/geonode/qgsgeonoderequest.sip
  10. +0 −9 python/core/geometry/qgsgeometry.sip
  11. +0 −25 python/core/geometry/qgspoint.sip
  12. +0 −28 python/core/geometry/qgsrectangle.sip
  13. +0 −6 python/core/geometry/qgsreferencedgeometry.sip
  14. +0 −9 python/core/layertree/qgslayertreemodellegendnode.sip
  15. +0 −6 python/core/layout/qgsabstractreportsection.sip
  16. +0 −104 python/core/layout/qgslayoutexporter.sip
  17. +0 −24 python/core/layout/qgslayoutmeasurement.sip
  18. +0 −12 python/core/layout/qgslayoutpoint.sip
  19. +0 −12 python/core/layout/qgslayoutsize.sip
  20. +0 −6 python/core/layout/qgslayouttable.sip
  21. +0 −3 python/core/layout/qgslayoutundocommand.sip
  22. +0 −9 python/core/layout/qgspagesizeregistry.sip
  23. +0 −3 python/core/locator/qgslocator.sip
  24. +0 −12 python/core/locator/qgslocatorcontext.sip
  25. +0 −18 python/core/locator/qgslocatorfilter.sip
  26. +0 −94 python/core/metadata/qgslayermetadata.sip
  27. +0 −12 python/core/metadata/qgslayermetadatavalidator.sip
  28. +0 −9 python/core/processing/models/qgsprocessingmodelalgorithm.sip
  29. +0 −9 python/core/processing/qgsprocessingcontext.sip
  30. +0 −29 python/core/processing/qgsprocessingparameters.sip
  31. +0 −55 python/core/qgis.sip
  32. +0 −15 python/core/qgsaggregatecalculator.sip
  33. +0 −3 python/core/qgsarchive.sip
  34. +0 −3 python/core/qgsattributetableconfig.sip
  35. +0 −3 python/core/qgsauxiliarystorage.sip
  36. +0 −47 python/core/qgscadutils.sip
  37. +0 −12 python/core/qgsclipper.sip
  38. +0 −6 python/core/qgscolorramp.sip
  39. +0 −8 python/core/qgscoordinatereferencesystem.sip
  40. +0 −3 python/core/qgscoordinatetransform.sip
  41. +0 −3 python/core/qgscredentials.sip
  42. +0 −7 python/core/qgsdataprovider.sip
  43. +0 −40 python/core/qgsdatumtransform.sip
  44. +0 −5 python/core/qgsdefaultvalue.sip
  45. +0 −50 python/core/qgsdiagramrenderer.sip
  46. +0 −27 python/core/qgsellipsoidutils.sip
  47. +0 −45 python/core/qgsexpressioncontext.sip
  48. +0 −3 python/core/qgsfeature.sip
  49. +0 −6 python/core/qgsfeatureiterator.sip
  50. +0 −3 python/core/qgsfeaturerequest.sip
  51. +0 −3 python/core/qgsfield.sip
  52. +0 −7 python/core/qgsfields.sip
  53. +0 −21 python/core/qgsinterval.sip
  54. +0 −12 python/core/qgsmapthemecollection.sip
  55. +0 −20 python/core/qgsmapunitscale.sip
  56. +0 −23 python/core/qgsmargins.sip
  57. +0 −3 python/core/qgsmessageoutput.sip
  58. +0 −14 python/core/qgsmimedatautils.sip
  59. +0 −3 python/core/qgsoptional.sip
  60. +0 −312 python/core/qgspallabeling.sip
  61. +0 −33 python/core/qgspointxy.sip
  62. +0 −9 python/core/qgsprojectversion.sip
  63. +0 −6 python/core/qgsproperty.sip
  64. +0 −6 python/core/qgssnappingconfig.sip
  65. +0 −12 python/core/qgssnappingutils.sip
  66. +0 −3 python/core/qgsspatialindex.sip
  67. +0 −3 python/core/qgssqlstatement.sip
  68. +0 −8 python/core/qgstaskmanager.sip
  69. +0 −5 python/core/qgstextrenderer.sip
  70. +0 −12 python/core/qgsunittypes.sip
  71. +0 −41 python/core/qgsvector.sip
  72. +0 −3 python/core/qgsvectordataprovider.sip
  73. +0 −77 python/core/qgsvectorfilewriter.sip
  74. +0 −7 python/core/qgsvectorlayer.sip
  75. +0 −3 python/core/qgsvectorlayerexporter.sip
  76. +0 −9 python/core/raster/qgspalettedrasterrenderer.sip
  77. +0 −38 python/core/raster/qgsrasterbandstats.sip
  78. +0 −6 python/core/raster/qgsrasterfilewriter.sip
  79. +0 −37 python/core/raster/qgsrasterhistogram.sip
  80. +0 −24 python/core/raster/qgsrasterlayer.sip
  81. +0 −12 python/core/raster/qgsrasterminmaxorigin.sip
  82. +0 −15 python/core/raster/qgsrasterpyramid.sip
  83. +0 −23 python/core/raster/qgsrasterviewport.sip
  84. +0 −11 python/core/scalebar/qgsscalebarrenderer.sip
  85. +0 −9 python/core/symbology/qgspointdistancerenderer.sip
  86. +0 −3 python/gui/auth/qgsauthcertificatemanager.sip
  87. +0 −5 python/gui/editorwidgets/core/qgseditorwidgetregistry.sip
  88. +0 −9 python/gui/layout/qgslayoutitemguiregistry.sip
  89. +0 −6 python/gui/qgsexpressionbuilderwidget.sip
  90. +0 −8 python/gui/qgstreewidgetitem.sip
  91. +0 −3 python/server/qgsserverrequest.sip
  92. +0 −3 python/server/qgsserverresponse.sip
  93. +0 −3 python/server/qgsservice.sip
  94. +0 −3 python/server/qgsservicemodule.sip
  95. +0 −3 python/server/qgsserviceregistry.sip
@@ -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
@@ -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 );
@@ -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;

@@ -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 );
@@ -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
@@ -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:

@@ -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 );
@@ -76,14 +76,8 @@ Constructor for NamedNode
%End

QString name;
%Docstring
Node name
%End

QgsExpressionNode *node;
%Docstring
Node
%End
};

class NodeList
@@ -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
@@ -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
@@ -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 );
@@ -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

@@ -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;

@@ -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
@@ -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;
@@ -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

};

@@ -76,9 +76,6 @@ Constructor for QgsReferencedRectangle.
%End

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

};

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

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

};

0 comments on commit 5babec5

Please sign in to comment.
You can’t perform that action at this time.