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
Show file tree
Hide file tree
Showing 35 changed files with 503 additions and 64 deletions.
@@ -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.