QGIS/python/gui/qgstextannotationitem.sip
Nyall Dawson 4cfacf14e3 Make API more consistent
- rename methods with XML to Xml, CRS to Crs, WMS to Wms, ID to Id
- rename methods with SRS to Crs
- rename methods with abbreviations like "dest" to "destination"
- rename methods with abbreviations like "src" to "source"
2016-07-21 08:40:50 +10: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 );
};