18 #ifndef QGSHTMLANNOTATIONITEM_H
19 #define QGSHTMLANNOTATIONITEM_H
27 class QGraphicsProxyWidget;
37 void paint( QPainter * painter );
40 void paint( QPainter * painter,
const QStyleOptionGraphicsItem * option, QWidget * widget = 0 );
47 void setHTMLPage(
const QString& htmlFile );
50 void writeXML( QDomDocument& doc )
const;
51 void readXML(
const QDomDocument& doc,
const QDomElement& itemElem );
57 void setFeatureForMapPosition();
59 void updateVisibility();
64 QGraphicsProxyWidget* mWidgetContainer;
69 bool mHasAssociatedFeature;
79 #endif // QGSHTMLANNOTATIONITEM_H