QGIS/python/gui/qgstextannotationitem.sip
Juergen E. Fischer 9752c468c1 indentation update
2015-07-29 11:52:14 +02:00

20 lines
575 B
Plaintext

class QgsTextAnnotationItem: QgsAnnotationItem
{
%TypeHeaderCode
#include <qgstextannotationitem.h>
%End
public:
QgsTextAnnotationItem( QgsMapCanvas* canvas /TransferThis/ );
~QgsTextAnnotationItem();
/** Returns document (caller takes ownership)*/
QTextDocument* document() const /Factory/;
/** Sets document (does not take ownership)*/
void setDocument( const QTextDocument* doc );
void writeXML( QDomDocument& doc ) const;
void readXML( const QDomDocument& doc, const QDomElement& itemElem );
void paint( QPainter* painter );
};