Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Add missing python bindings
- Loading branch information
1 parent
7594774
commit 41fe335
Showing
5 changed files
with
31 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
class QgsFormAnnotation : QgsAnnotation | ||
{ | ||
%TypeHeaderCode | ||
#include <qgsformannotation.h> | ||
%End | ||
public: | ||
|
||
QgsFormAnnotation( QObject* parent /TransferThis/ = nullptr ); | ||
|
||
QSizeF minimumFrameSize() const; | ||
QSizeF preferredFrameSize() const; | ||
|
||
void setDesignerForm( const QString& uiFile ); | ||
QString designerForm() const; | ||
|
||
virtual void writeXml( QDomElement& elem, QDomDocument & doc ) const; | ||
virtual void readXml( const QDomElement& itemElem, const QDomDocument& doc ); | ||
|
||
void setAssociatedFeature( const QgsFeature& feature ); | ||
|
||
static QgsFormAnnotation* create() /Factory/; | ||
|
||
protected: | ||
|
||
void renderAnnotation( QgsRenderContext& context, QSizeF size ) const; | ||
|
||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters