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
CoordDisplayItem Class Reference

#include <graphicsitems.h>

Inheritance diagram for CoordDisplayItem:
Collaboration diagram for CoordDisplayItem:

Public Member Functions

 CoordDisplayItem (QGraphicsItem *parent=nullptr)
 
int type () const override
 
QRectF boundingRect () const override
 
void paint (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget) override
 
void setCoordinates (double x, double y)
 

Constructor & Destructor Documentation

◆ CoordDisplayItem()

CoordDisplayItem::CoordDisplayItem ( QGraphicsItem *  parent = nullptr)
explicit

Member Function Documentation

◆ boundingRect()

QRectF CoordDisplayItem::boundingRect ( ) const
override

◆ paint()

void CoordDisplayItem::paint ( QPainter *  painter,
const QStyleOptionGraphicsItem *  option,
QWidget *  widget 
)
override

◆ setCoordinates()

void CoordDisplayItem::setCoordinates ( double  x,
double  y 
)

◆ type()

int CoordDisplayItem::type ( ) const
inlineoverride

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