Skip to content

Commit

Permalink
Add sip bindings
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn committed Dec 8, 2015
1 parent 88d6e0d commit 86abb26
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
17 changes: 17 additions & 0 deletions python/core/qgseditformconfig.sip
Expand Up @@ -277,4 +277,21 @@ class QgsEditFormConfig : QObject
FeatureFormSuppress suppress() const;
/** Set type of feature form pop-up suppression after feature creation (overrides app setting) */
void setSuppress( FeatureFormSuppress s );

/**
* Read XML information
* Deserialize on project load
*/
void readXml( const QDomNode& node );

/**
* Write XML information
* Serialize on project save
*/
void writeXml( QDomNode& node ) const;

/**
* Deserialize drag and drop designer elements.
*/
QgsAttributeEditorElement* attributeEditorElementFromDomElement( QDomElement &elem, QObject* parent );
};
11 changes: 11 additions & 0 deletions src/core/qgseditformconfig.h
Expand Up @@ -552,10 +552,21 @@ class CORE_EXPORT QgsEditFormConfig : public QObject

// Serialization

/**
* Read XML information
* Deserialize on project load
*/
void readXml( const QDomNode& node );

/**
* Write XML information
* Serialize on project save
*/
void writeXml( QDomNode& node ) const;

/**
* Deserialize drag and drop designer elements.
*/
QgsAttributeEditorElement* attributeEditorElementFromDomElement( QDomElement &elem, QObject* parent );

private slots:
Expand Down

0 comments on commit 86abb26

Please sign in to comment.