Skip to content

Commit 86abb26

Browse files
committed
Add sip bindings
1 parent 88d6e0d commit 86abb26

File tree

2 files changed

+28
-0
lines changed

2 files changed

+28
-0
lines changed

python/core/qgseditformconfig.sip

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -277,4 +277,21 @@ class QgsEditFormConfig : QObject
277277
FeatureFormSuppress suppress() const;
278278
/** Set type of feature form pop-up suppression after feature creation (overrides app setting) */
279279
void setSuppress( FeatureFormSuppress s );
280+
281+
/**
282+
* Read XML information
283+
* Deserialize on project load
284+
*/
285+
void readXml( const QDomNode& node );
286+
287+
/**
288+
* Write XML information
289+
* Serialize on project save
290+
*/
291+
void writeXml( QDomNode& node ) const;
292+
293+
/**
294+
* Deserialize drag and drop designer elements.
295+
*/
296+
QgsAttributeEditorElement* attributeEditorElementFromDomElement( QDomElement &elem, QObject* parent );
280297
};

src/core/qgseditformconfig.h

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -552,10 +552,21 @@ class CORE_EXPORT QgsEditFormConfig : public QObject
552552

553553
// Serialization
554554

555+
/**
556+
* Read XML information
557+
* Deserialize on project load
558+
*/
555559
void readXml( const QDomNode& node );
556560

561+
/**
562+
* Write XML information
563+
* Serialize on project save
564+
*/
557565
void writeXml( QDomNode& node ) const;
558566

567+
/**
568+
* Deserialize drag and drop designer elements.
569+
*/
559570
QgsAttributeEditorElement* attributeEditorElementFromDomElement( QDomElement &elem, QObject* parent );
560571

561572
private slots:

0 commit comments

Comments
 (0)