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

#include <graphicsitems.h>

Inheritance diagram for CatchmentGraphicsItem:
Collaboration diagram for CatchmentGraphicsItem:

Public Member Functions

 CatchmentGraphicsItem (const QString &name, const QPolygonF &polygon, QGraphicsItem *parent=nullptr)
 
int type () const override
 
QString elementName () const
 
void setAttributes (const QVariantMap &attrs)
 
QVariantMap attributes () const
 
void setResultValue (double value, const QColor &color)
 
void clearResultValue ()
 
void setHighlighted (bool on)
 
void setOwnerLayer (OpenSWMMVisLayer *layer)
 
OpenSWMMVisLayerownerLayer () const
 

Constructor & Destructor Documentation

◆ CatchmentGraphicsItem()

CatchmentGraphicsItem::CatchmentGraphicsItem ( const QString &  name,
const QPolygonF &  polygon,
QGraphicsItem *  parent = nullptr 
)
explicit

Member Function Documentation

◆ attributes()

QVariantMap CatchmentGraphicsItem::attributes ( ) const
inline

◆ clearResultValue()

void CatchmentGraphicsItem::clearResultValue ( )

◆ elementName()

QString CatchmentGraphicsItem::elementName ( ) const
inline

◆ ownerLayer()

OpenSWMMVisLayer * CatchmentGraphicsItem::ownerLayer ( ) const
inline

◆ setAttributes()

void CatchmentGraphicsItem::setAttributes ( const QVariantMap &  attrs)
inline

◆ setHighlighted()

void CatchmentGraphicsItem::setHighlighted ( bool  on)

◆ setOwnerLayer()

void CatchmentGraphicsItem::setOwnerLayer ( OpenSWMMVisLayer layer)
inline

◆ setResultValue()

void CatchmentGraphicsItem::setResultValue ( double  value,
const QColor &  color 
)

◆ type()

int CatchmentGraphicsItem::type ( ) const
inlineoverride

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