Skip to content
Permalink
Browse files

fix tests

  • Loading branch information
alexbruy committed Jun 30, 2020
1 parent e87aa99 commit cfa5c5bf835f4023e2998fab0cf3ee05af8ec08d
@@ -2,5 +2,5 @@
# monkey patching scoped based enum
QgsRasterPipe.ResamplingStage.ResampleFilter.__doc__ = ""
QgsRasterPipe.ResamplingStage.Provider.__doc__ = ""
QgsRasterPipe.ResamplingStage.__doc__ = 'Stage at which resampling occurs.\n\n.. versionadded:: 3.16\n\n' + '* ``ResampleFilter``: ' + QgsRasterPipe.ResamplingStage.ResampleFilter.__doc__ + '\n' + '* ``Provider``: ' + QgsRasterPipe.ResamplingStage.Provider.__doc__
QgsRasterPipe.ResamplingStage.__doc__ = 'Stage at which resampling occurs.\n@since QGIS 3.16\n\n' + '* ``ResampleFilter``: ' + QgsRasterPipe.ResamplingStage.ResampleFilter.__doc__ + '\n' + '* ``Provider``: ' + QgsRasterPipe.ResamplingStage.Provider.__doc__
# --
@@ -106,7 +106,7 @@ Test if interface at index may be switched on/off

QgsGammaCorrectionFilter *gammaCorrectionFilter() const;
%Docstring
Getter for gamma correction filter pipe
Returns gamma correction filter pipe

.. versionadded:: 3.16
%End
@@ -468,8 +468,8 @@
%Include auto_generated/raster/qgscontrastenhancement.sip
%Include auto_generated/raster/qgscontrastenhancementfunction.sip
%Include auto_generated/raster/qgscubicrasterresampler.sip
%Include auto_generated/raster/qgshillshaderenderer.sip
%Include auto_generated/raster/qgsgammacorrectionfilter.sip
%Include auto_generated/raster/qgshillshaderenderer.sip
%Include auto_generated/raster/qgshuesaturationfilter.sip
%Include auto_generated/raster/qgslinearminmaxenhancement.sip
%Include auto_generated/raster/qgslinearminmaxenhancementwithclip.sip
@@ -131,7 +131,7 @@ class CORE_EXPORT QgsRasterPipe
QgsBrightnessContrastFilter *brightnessFilter() const;

/**
* Getter for gamma correction filter pipe
* Returns gamma correction filter pipe
* \since QGIS 3.16
*/
QgsGammaCorrectionFilter *gammaCorrectionFilter() const;
@@ -238,6 +238,7 @@
"QgsConditionalStyle": ["QgsConditionalStyle(const QgsConditionalStyle &other)", "QgsConditionalStyle(const QString &rule)"],
"QgsGeometryFollowBoundariesCheck": ["factoryDescription()", "QgsGeometryFollowBoundariesCheck(QgsGeometryCheckContext *context, const QVariantMap &configuration, QgsVectorLayer *checkLayer)", "factoryCompatibleGeometryTypes()", "factoryCheckType()", "factoryId()", "factoryIsCompatible(QgsVectorLayer *layer)"],
"QgsBrightnessContrastFilter": ["brightness() const", "setBrightness(int brightness)", "contrast() const", "QgsBrightnessContrastFilter(QgsRasterInterface *input=nullptr)", "setContrast(int contrast)"],
"QgsGammaCorrectionFilter": ["gamma() const", "setGamma(double gamma)", "QgsGammaCorrectionFilter(QgsRasterInterface *input=nullptr)"],
"QgsDxfPaintDevice": ["setShift(QPointF shift)", "QgsDxfPaintDevice(QgsDxfExport *dxf)", "setDrawingSize(QSizeF size)", "setLayer(const QString &layer)", "setOutputSize(const QRectF &r)"],
"QgsLongLongValidator": ["top() const", "QgsLongLongValidator(QObject *parent)", "setTop(qint64 top)", "bottom() const", "setRange(qint64 bottom, qint64 top)", "QgsLongLongValidator(qint64 bottom, qint64 top, QObject *parent)", "setBottom(qint64 bottom)"],
"QgsHueSaturationFilter": ["QgsHueSaturationFilter(QgsRasterInterface *input=nullptr)", "colorizeStrength() const", "colorizeColor() const", "saturation() const", "setSaturation(int saturation)", "setColorizeOn(bool colorizeOn)", "setColorizeStrength(int colorizeStrength)", "colorizeOn() const", "GrayscaleMode", "grayscaleMode() const", "setColorizeColor(const QColor &colorizeColor)", "setGrayscaleMode(QgsHueSaturationFilter::GrayscaleMode grayscaleMode)"],

0 comments on commit cfa5c5b

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