Skip to content
Permalink
Browse files

* fix QgsFeatureIds typedef (fixes missing signal

  QgsVectorLayer.featuresDeleted and others; fixes #13740)
* add missing notes for PyNames
* include some missing new methods in bindings

(backported from commit b5794b2)
  • Loading branch information
jef-n committed Dec 2, 2015
1 parent e14cc4d commit 5f86422942f73dc6e52c42945c4760fe0674d8c5
Showing with 503 additions and 64 deletions.
  1. +2 −2 python/core/dxf/qgsdxfexport.sip
  2. +1 −0 python/core/qgsdataitem.sip
  3. +1 −0 python/core/qgsdatasourceuri.sip
  4. +1 −1 python/core/qgsfeature.sip
  5. +1 −0 python/core/qgsgml.sip
  6. +217 −20 python/core/qgsvectorlayer.sip
  7. +1 −0 python/core/raster/qgssinglebandpseudocolorrenderer.sip
  8. +3 −0 python/core/symbology-ng/qgscategorizedsymbolrendererv2.sip
  9. +3 −1 python/core/symbology-ng/qgsgraduatedsymbolrendererv2.sip
  10. +2 −0 python/core/symbology-ng/qgsheatmaprenderer.sip
  11. +18 −6 python/core/symbology-ng/qgsinvertedpolygonrenderer.sip
  12. +18 −6 python/core/symbology-ng/qgspointdisplacementrenderer.sip
  13. +2 −1 python/core/symbology-ng/qgsrendererv2.sip
  14. +136 −2 python/core/symbology-ng/qgsrulebasedrendererv2.sip
  15. +3 −0 python/core/symbology-ng/qgssinglesymbolrendererv2.sip
  16. +1 −0 python/core/symbology-ng/qgssymbollayerv2.sip
  17. +3 −1 python/core/symbology-ng/qgssymbollayerv2utils.sip
  18. +1 −1 python/gui/attributetable/qgsifeatureselectionmanager.sip
  19. +18 −3 python/gui/qgscollapsiblegroupbox.sip
  20. +1 −0 src/core/dxf/qgsdxfexport.h
  21. +1 −0 src/core/qgsdataitem.h
  22. +1 −0 src/core/qgsdatasourceuri.h
  23. +1 −0 src/core/qgsgml.h
  24. +12 −4 src/core/qgsvectorlayer.h
  25. +1 −0 src/core/raster/qgssinglebandpseudocolorrenderer.h
  26. +3 −0 src/core/symbology-ng/qgscategorizedsymbolrendererv2.h
  27. +3 −1 src/core/symbology-ng/qgsgraduatedsymbolrendererv2.h
  28. +2 −0 src/core/symbology-ng/qgsheatmaprenderer.h
  29. +18 −6 src/core/symbology-ng/qgsinvertedpolygonrenderer.h
  30. +18 −6 src/core/symbology-ng/qgspointdisplacementrenderer.h
  31. +2 −2 src/core/symbology-ng/qgsrendererv2.h
  32. +2 −1 src/core/symbology-ng/qgsrulebasedrendererv2.h
  33. +3 −0 src/core/symbology-ng/qgssinglesymbolrendererv2.h
  34. +1 −0 src/core/symbology-ng/qgssymbollayerv2.h
  35. +2 −0 src/core/symbology-ng/qgssymbollayerv2utils.h
@@ -60,13 +60,13 @@ class QgsDxfExport
void writeInt( int i );
void writeDouble( double d );
void writeString( const QString &s );
//! @note available in python bindings as writeGroupPoint
void writeGroup( int code, const QgsPoint &p, double z = 0.0, bool skipz = false ) /PyName=writeGroupPoint/;
void writeGroup( const QColor& color, int exactMatch = 62, int rgbCode = 420, int transparencyCode = 440 );

//! Write handle
int writeHandle( int code = 5, int handle = 0 );

//! Draw dxf polyline
//! Draw dxf primitives (LWPOLYLINE)
void writePolyline( const QgsPolyline &line, const QString &layer, const QString &lineStyleName, const QColor& color, double width = -1 );

//! Draw dxf polygon (HATCH)
@@ -354,6 +354,7 @@ class QgsZipItem : QgsDataCollectionItem
static QString vsiPrefix( const QString& uri );

static QgsDataItem* itemFromPath( QgsDataItem* parent, QString path, QString name ) /Factory/;
//! @note available in python as itemFromFilePath
static QgsDataItem* itemFromPath( QgsDataItem* parent, const QString& filePath, const QString& name, const QString& path ) /Factory,PyName=itemFromFilePath/;

static const QIcon &iconZip();
@@ -38,6 +38,7 @@ class QgsDataSourceURI
//! Set generic param (generic mode)
// \note if key exists, another is inserted
void setParam( const QString &key, const QString &value );
//! @note available in python as setParamList
void setParam( const QString &key, const QStringList &value ) /PyName=setParamList/;

//! Remove generic param (generic mode)
@@ -498,4 +498,4 @@ class QgsFeature

}; // class QgsFeature

typedef QSet<QgsFeatureId> QgsFeatureIds;
typedef QSet<qint64> QgsFeatureIds;
@@ -21,6 +21,7 @@ class QgsGml: QObject
* @param password password for authentication
* @param authcfg authentication configuration id
* @return 0 in case of success
* @note available in python as getFeaturesUri
*/
int getFeatures( const QString& uri, QGis::WkbType* wkbType, QgsRectangle* extent = 0, const QString& userName = QString(), const QString& password = QString(), const QString& authcfg = QString() ) /PyName=getFeaturesUri/;

0 comments on commit 5f86422

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