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