mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-27 00:33:48 -05:00
- 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"
20 lines
575 B
Plaintext
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 );
|
|
};
|