SWMMVis  6.0.0-alpha.4
Qt6/C++ GIS-based graphical user interface for the SWMMVis engine (6.0.0-alpha.4)
Loading...
Searching...
No Matches
AnnotationGraphicsItem Class Reference
Inheritance diagram for AnnotationGraphicsItem:
Collaboration diagram for AnnotationGraphicsItem:

Public Member Functions

 AnnotationGraphicsItem (AnnotationTextItem *data)
 
AnnotationTextItemdata () const
 
void notifyGeometryChange ()
 
QRectF boundingRect () const override
 
void paint (QPainter *p, const QStyleOptionGraphicsItem *, QWidget *) override
 

Constructor & Destructor Documentation

◆ AnnotationGraphicsItem()

AnnotationGraphicsItem::AnnotationGraphicsItem ( AnnotationTextItem data)
inlineexplicit

Member Function Documentation

◆ boundingRect()

QRectF AnnotationGraphicsItem::boundingRect ( ) const
inlineoverride

◆ data()

AnnotationTextItem * AnnotationGraphicsItem::data ( ) const
inline

Direct pointer to the data model (non-owning).

◆ notifyGeometryChange()

void AnnotationGraphicsItem::notifyGeometryChange ( )
inline

Public wrapper around the protected QGraphicsItem::prepareGeometryChange so the owning layer can notify the scene's spatial index when the data item's geometry-affecting fields change.

◆ paint()

void AnnotationGraphicsItem::paint ( QPainter *  p,
const QStyleOptionGraphicsItem *  ,
QWidget *   
)
inlineoverride

The documentation for this class was generated from the following file: