Skip to content

Commit

Permalink
* fix QgsFeatureIds typedef (fixes missing signal
Browse files Browse the repository at this point in the history
  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 5f86422
Show file tree
Hide file tree
Showing 35 changed files with 503 additions and 64 deletions.
4 changes: 2 additions & 2 deletions python/core/dxf/qgsdxfexport.sip
Expand Up @@ -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)
Expand Down
1 change: 1 addition & 0 deletions python/core/qgsdataitem.sip
Expand Up @@ -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();
Expand Down
1 change: 1 addition & 0 deletions python/core/qgsdatasourceuri.sip
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion python/core/qgsfeature.sip
Expand Up @@ -498,4 +498,4 @@ class QgsFeature

}; // class QgsFeature

typedef QSet<QgsFeatureId> QgsFeatureIds;
typedef QSet<qint64> QgsFeatureIds;
1 change: 1 addition & 0 deletions python/core/qgsgml.sip
Expand Up @@ -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/;

Expand Down

0 comments on commit 5f86422

Please sign in to comment.