Skip to content
Permalink
Browse files
sipify batch
python/core/qgspaintenginehack.sip
python/core/qgspainting.sip
python/core/qgspallabeling.sip
python/core/qgspathresolver.sip
python/core/qgspluginlayer.sip
python/core/qgspluginlayerregistry.sip
python/core/qgspointlocator.sip
python/core/qgsproject.sip
python/core/qgsprojectbadlayerhandler.sip
python/core/qgsprojectproperty.sip
python/core/qgsprojectversion.sip
python/core/qgssnappingconfig.sip
  • Loading branch information
3nids committed May 18, 2017
1 parent 9f49e40 commit 68b990b3bb6350118b614f9dbe3e46e0cfc7ac7e
@@ -1,18 +1,6 @@
core/conversions.sip
core/qgsexception.sip
core/qgis.sip
core/qgspaintenginehack.sip
core/qgspainting.sip
core/qgspallabeling.sip
core/qgspathresolver.sip
core/qgspluginlayer.sip
core/qgspluginlayerregistry.sip
core/qgspointlocator.sip
core/qgsproject.sip
core/qgsprojectbadlayerhandler.sip
core/qgsprojectproperty.sip
core/qgssnappingconfig.sip
core/qgsprojectversion.sip
core/qgspropertycollection.sip
core/qgspythonrunner.sip
core/qgsrange.sip
@@ -227,23 +227,23 @@ class QgsFeatureRequest
:rtype: list of QgsFeatureRequest.OrderByClause
%End

void save( QDomElement &elem ) const;
void save( QDomElement &elem ) const;
%Docstring
Serialize to XML
%End

void load( const QDomElement &elem );
void load( const QDomElement &elem );
%Docstring
Deserialize from XML
%End

QSet<QString> usedAttributes() const;
QSet<QString> usedAttributes() const;
%Docstring
Returns a set of used attributes
:rtype: set of str
%End

QString dump() const;
QString dump() const;
%Docstring
Dumps the content to an SQL equivalent syntax
:rtype: str
@@ -1,10 +1,30 @@
/************************************************************************
* This file has been generated automatically from *
* *
* src/core/qgspaintenginehack.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/



class QgsPaintEngineHack : QPaintEngine
{
%TypeHeaderCode
#include <qgspaintenginehack.h>
%Docstring
Hack to workaround Qt #5114 by disabling PatternTransform
%End

%TypeHeaderCode
#include "qgspaintenginehack.h"
%End
public:
void fixFlags();
static void fixEngineFlags( QPaintEngine *engine );
};
/************************************************************************
* This file has been generated automatically from *
* *
* src/core/qgspaintenginehack.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/
@@ -1,14 +1,26 @@
/************************************************************************
* This file has been generated automatically from *
* *
* src/core/qgspainting.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/



class QgsPainting
{
%TypeHeaderCode
#include <qgspainting.h>
%Docstring
Misc painting enums and functions.

.. versionadded:: 3.0
%End

%TypeHeaderCode
#include "qgspainting.h"
%End
public:

/** Blending modes enum defining the available composition modes that can
* be used when rendering a layer
*/
enum BlendMode
{
BlendNormal,
@@ -37,9 +49,23 @@ class QgsPainting
BlendXor,
};

//! Returns a QPainter::CompositionMode corresponding to a BlendMode
static QPainter::CompositionMode getCompositionMode( QgsPainting::BlendMode blendMode );
//! Returns a BlendMode corresponding to a QPainter::CompositionMode
%Docstring
Returns a QPainter.CompositionMode corresponding to a BlendMode
:rtype: QPainter.CompositionMode
%End
static QgsPainting::BlendMode getBlendModeEnum( QPainter::CompositionMode blendMode );
%Docstring
Returns a BlendMode corresponding to a QPainter.CompositionMode
:rtype: QgsPainting.BlendMode
%End

};

/************************************************************************
* This file has been generated automatically from *
* *
* src/core/qgspainting.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/

0 comments on commit 68b990b

Please sign in to comment.