Skip to content
Permalink
Browse files

[sipify] Another batch of sip

  • Loading branch information
m-kuhn committed May 15, 2017
1 parent 922b162 commit 2abb1465c4f3907c2aeead36cf4b58b3177fab1e
Showing with 3,487 additions and 1,576 deletions.
  1. +0 −40 python/auto_sip.blacklist
  2. +28 −1 python/core/qgsdartmeasurement.sip
  3. +45 −5 python/core/qgsdataitemprovider.sip
  4. +44 −15 python/core/qgsdataitemproviderregistry.sip
  5. +39 −4 python/core/qgsdbfilterproxymodel.sip
  6. +209 −125 python/core/qgseditformconfig.sip
  7. +42 −17 python/core/qgseditorwidgetsetup.sip
  8. +90 −38 python/core/qgserror.sip
  9. +39 −32 python/core/qgsexpressioncontextgenerator.sip
  10. +74 −42 python/core/qgsexpressionfieldbuffer.sip
  11. +146 −91 python/core/qgsfontutils.sip
  12. +51 −17 python/core/qgsgeometrysimplifier.sip
  13. +32 −8 python/core/qgsgeometryvalidator.sip
  14. +29 −21 python/core/qgslabelsearchtree.sip
  15. +52 −18 python/core/qgslegendrenderer.sip
  16. +187 −85 python/core/qgslegendsettings.sip
  17. +78 −29 python/core/qgslogger.sip
  18. +58 −41 python/core/qgsmaphittest.sip
  19. +70 −26 python/core/qgsmaplayerdependency.sip
  20. +92 −42 python/core/qgsmaplayerlegend.sip
  21. +61 −7 python/core/qgsmaplayerrenderer.sip
  22. +153 −37 python/core/qgsmaplayerstylemanager.sip
  23. +79 −4 python/core/qgsmaprenderercache.sip
  24. +52 −34 python/core/qgsmaprenderercustompainterjob.sip
  25. +145 −45 python/core/qgsmaprendererjob.sip
  26. +29 −11 python/core/qgsmaprendererparalleljob.sip
  27. +30 −11 python/core/qgsmaprenderersequentialjob.sip
  28. +302 −151 python/core/qgsmapsettings.sip
  29. +152 −112 python/core/qgsmaptopixel.sip
  30. +77 −20 python/core/qgsmaptopixelgeometrysimplifier.sip
  31. +69 −24 python/core/qgsmapunitscale.sip
  32. +125 −14 python/core/qgsmargins.sip
  33. +66 −35 python/core/qgsmessageoutput.sip
  34. +65 −18 python/core/qgsmimedatautils.sip
  35. +127 −63 python/core/qgsmultirenderchecker.sip
  36. +77 −35 python/core/qgsnetworkaccessmanager.sip
  37. +47 −22 python/core/qgsnetworkcontentfetcher.sip
  38. +53 −16 python/core/qgsobjectcustomproperties.sip
  39. +157 −36 python/core/qgsogcutils.sip
  40. +54 −95 python/core/qgsoptionalexpression.sip
  41. +51 −15 python/core/qgsowsconnection.sip
  42. +54 −45 python/core/qgstransactiongroup.sip
  43. +1 −1 src/core/qgsdartmeasurement.h
  44. +2 −2 src/core/qgseditformconfig.h
  45. +2 −2 src/core/qgsexpressionfieldbuffer.h
  46. +2 −1 src/core/qgslabelsearchtree.h
  47. +3 −0 src/core/qgslegendrenderer.h
  48. +15 −4 src/core/qgsmaplayerdependency.h
  49. +4 −4 src/core/qgsmaplayerlegend.h
  50. +1 −1 src/core/qgsmaprenderercustompainterjob.h
  51. +2 −0 src/core/qgsmaprendererjob.h
  52. +1 −1 src/core/qgsmaprendererparalleljob.h
  53. +1 −1 src/core/qgsmaprenderersequentialjob.h
  54. +3 −0 src/core/qgsmaptopixel.h
  55. +3 −0 src/core/qgsmargins.h
  56. +1 −1 src/core/qgsmessageoutput.h
  57. +16 −11 src/core/qgsogcutils.h
@@ -1,49 +1,9 @@
core/conversions.sip
core/qgsexception.sip
core/qgis.sip
core/qgsdataitemprovider.sip
core/qgsdataitemproviderregistry.sip
core/qgsdbfilterproxymodel.sip
core/qgseditformconfig.sip
core/qgseditorwidgetsetup.sip
core/qgserror.sip
core/qgsexpressioncontext.sip
core/qgsexpressioncontextgenerator.sip
core/qgsfeaturerequest.sip
core/qgsgeometrysimplifier.sip
core/qgsgeometryvalidator.sip
core/qgsmaptopixelgeometrysimplifier.sip
core/qgstransactiongroup.sip
core/qgsdartmeasurement.sip
core/qgsexpressionfieldbuffer.sip
core/qgsfontutils.sip
core/qgslabelsearchtree.sip
core/qgslegendrenderer.sip
core/qgslegendsettings.sip
core/qgslogger.sip
core/qgsmaphittest.sip
core/qgsmaplayerdependency.sip
core/qgsmaplayerlegend.sip
core/qgsmaplayerrenderer.sip
core/qgsmaplayerstylemanager.sip
core/qgsmaprenderercache.sip
core/qgsmaprenderercustompainterjob.sip
core/qgsmaprendererjob.sip
core/qgsmaprendererparalleljob.sip
core/qgsmaprenderersequentialjob.sip
core/qgsmapsettings.sip
core/qgsmaptopixel.sip
core/qgsmapunitscale.sip
core/qgsmargins.sip
core/qgsmessageoutput.sip
core/qgsmimedatautils.sip
core/qgsmultirenderchecker.sip
core/qgsnetworkaccessmanager.sip
core/qgsnetworkcontentfetcher.sip
core/qgsobjectcustomproperties.sip
core/qgsogcutils.sip
core/qgsoptionalexpression.sip
core/qgsowsconnection.sip
core/qgspaintenginehack.sip
core/qgspainting.sip
core/qgspallabeling.sip
@@ -1,7 +1,19 @@
/************************************************************************
* This file has been generated automatically from *
* *
* src/core/qgsdartmeasurement.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/




class QgsDartMeasurement
{

%TypeHeaderCode
#include <qgsdartmeasurement.h>
#include "qgsdartmeasurement.h"
%End
public:
enum Type
@@ -16,8 +28,23 @@ class QgsDartMeasurement
QgsDartMeasurement( const QString &name, Type type, const QString &value );

const QString toString() const;
%Docstring
:rtype: str
%End

void send() const;

static const QString typeToString( QgsDartMeasurement::Type type );
%Docstring
:rtype: str
%End

};

/************************************************************************
* This file has been generated automatically from *
* *
* src/core/qgsdartmeasurement.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/
@@ -1,20 +1,60 @@
/************************************************************************
* This file has been generated automatically from *
* *
* src/core/qgsdataitemprovider.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/





class QgsDataItemProvider
{
%Docstring
This is the interface for those who want to add custom data items to the browser tree.

The method createDataItem() is ever called only if capabilities() return non-zero value.
There are two occasions when createDataItem() is called:
1. to create root items (passed path is empty, parent item is null).
2. to create items in directory structure. For this capabilities have to return at least
of the following: QgsDataProider.Dir or QgsDataProvider.File. Passed path is the file
or directory being inspected, parent item is a valid QgsDirectoryItem

.. versionadded:: 2.10
%End

%TypeHeaderCode
#include <qgsdataitemprovider.h>
#include "qgsdataitemprovider.h"
%End
public:
virtual ~QgsDataItemProvider();

//! Human-readable name of the provider name
virtual QString name() = 0;
%Docstring
Human-readable name of the provider name
:rtype: str
%End

//! Return combination of flags from QgsDataProvider::DataCapabilities
virtual int capabilities() = 0;
%Docstring
Return combination of flags from QgsDataProvider.DataCapabilities
:rtype: int
%End

//! Create a new instance of QgsDataItem (or null) for given path and parent item.
//! Caller takes responsibility of deleting created items.
virtual QgsDataItem *createDataItem( const QString &path, QgsDataItem *parentItem ) = 0 /Factory/;
%Docstring
Caller takes responsibility of deleting created items.
:rtype: QgsDataItem
%End

};

/************************************************************************
* This file has been generated automatically from *
* *
* src/core/qgsdataitemprovider.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/
@@ -1,30 +1,59 @@
/************************************************************************
* This file has been generated automatically from *
* *
* src/core/qgsdataitemproviderregistry.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/





/**
* This singleton class keeps a list of data item providers that may add items to the browser tree.
* When created, it automatically adds providers from provider plugins (e.g. PostGIS, WMS, ...)
*
* @note added in 2.10
*/
class QgsDataItemProviderRegistry
{
%Docstring
This class keeps a list of data item providers that may add items to the browser tree.
When created, it automatically adds providers from provider plugins (e.g. PostGIS, WMS, ...)

QgsDataItemProviderRegistry is not usually directly created, but rather accessed through
QgsApplication.dataItemProviderRegistry().

.. versionadded:: 2.10
%End

%TypeHeaderCode
#include <qgsdataitemproviderregistry.h>
#include "qgsdataitemproviderregistry.h"
%End
public:

QgsDataItemProviderRegistry();

~QgsDataItemProviderRegistry();

//! Get list of available providers
QList<QgsDataItemProvider*> providers() const;

//! Add a provider implementation. Takes ownership of the object.
QList<QgsDataItemProvider *> providers() const;
%Docstring
Get list of available providers
:rtype: list of QgsDataItemProvider
%End

void addProvider( QgsDataItemProvider *provider /Transfer/ );
%Docstring
Add a provider implementation. Takes ownership of the object.
%End

//! Remove provider implementation from the list (provider object is deleted)
void removeProvider( QgsDataItemProvider *provider );

private:

QgsDataItemProviderRegistry( const QgsDataItemProviderRegistry &rh );
%Docstring
Remove provider implementation from the list (provider object is deleted)
%End

};

/************************************************************************
* This file has been generated automatically from *
* *
* src/core/qgsdataitemproviderregistry.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/
@@ -1,16 +1,51 @@
/************************************************************************
* This file has been generated automatically from *
* *
* src/core/qgsdbfilterproxymodel.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/





class QgsDatabaseFilterProxyModel: QSortFilterProxyModel
{
%Docstring
A class that implements a custom filter and can be used
as a proxy for QgsDbTableModel
.. versionadded:: 3.0
%End

%TypeHeaderCode
#include <qgsdbfilterproxymodel.h>
#include "qgsdbfilterproxymodel.h"
%End
public:

QgsDatabaseFilterProxyModel( QObject *parent /TransferThis/ = 0 );
~QgsDatabaseFilterProxyModel();
/** Calls QSortFilterProxyModel::setFilterWildcard and triggers update*/
%Docstring
Constructor for QgsDatabaseFilterProxyModel.
%End

void _setFilterWildcard( const QString &pattern );
/** Calls QSortFilterProxyModel::setFilterRegExp and triggers update*/
%Docstring
Calls QSortFilterProxyModel.setFilterWildcard and triggers update
%End

void _setFilterRegExp( const QString &pattern );
%Docstring
Calls QSortFilterProxyModel.setFilterRegExp and triggers update
%End

protected:
virtual bool filterAcceptsRow( int row, const QModelIndex &source_parent ) const;
};

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

0 comments on commit 2abb146

Please sign in to comment.