Quantum GIS API Documentation  master-693a1fe
QgsSvgAnnotationItem Class Reference

#include <qgssvgannotationitem.h>

+ Inheritance diagram for QgsSvgAnnotationItem:
+ Collaboration diagram for QgsSvgAnnotationItem:

List of all members.

Public Member Functions

 QgsSvgAnnotationItem (QgsMapCanvas *canvas)
 ~QgsSvgAnnotationItem ()
QString filePath () const
void paint (QPainter *painter)
 function to be implemented by derived classes
void readXML (const QDomDocument &doc, const QDomElement &itemElem)
void setFilePath (const QString &file)
void writeXML (QDomDocument &doc) const

Private Attributes

QString mFilePath
QSvgRenderer mSvgRenderer

Detailed Description

Definition at line 24 of file qgssvgannotationitem.h.


Constructor & Destructor Documentation


Member Function Documentation

QString QgsSvgAnnotationItem::filePath ( ) const [inline]

Definition at line 37 of file qgssvgannotationitem.h.

Referenced by readXML().

void QgsSvgAnnotationItem::readXML ( const QDomDocument &  doc,
const QDomElement &  itemElem 
) [virtual]
void QgsSvgAnnotationItem::setFilePath ( const QString &  file)

Definition at line 100 of file qgssvgannotationitem.cpp.

References file, mFilePath, and mSvgRenderer.

Referenced by readXML().

void QgsSvgAnnotationItem::writeXML ( QDomDocument &  doc) const [virtual]

Member Data Documentation

Definition at line 41 of file qgssvgannotationitem.h.

Referenced by setFilePath(), and writeXML().

QSvgRenderer QgsSvgAnnotationItem::mSvgRenderer [private]

Definition at line 40 of file qgssvgannotationitem.h.

Referenced by paint(), and setFilePath().


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines