mirror of
				https://github.com/qgis/QGIS.git
				synced 2025-11-04 00:04:25 -05:00 
			
		
		
		
	
		
			
				
	
	
		
			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 );
 | 
						|
};
 |