mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-27 00:33:48 -05:00
30 lines
748 B
Plaintext
30 lines
748 B
Plaintext
class QgsFormAnnotation : QgsAnnotation
|
|
{
|
|
%TypeHeaderCode
|
|
#include <qgsformannotation.h>
|
|
%End
|
|
public:
|
|
|
|
QgsFormAnnotation( QObject *parent /TransferThis/ = 0 );
|
|
|
|
virtual QgsFormAnnotation *clone() const /Factory/;
|
|
|
|
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;
|
|
|
|
};
|