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

#include <graphicsitems.h>

Inheritance diagram for LinkGraphicsItem:
Collaboration diagram for LinkGraphicsItem:

Public Member Functions

 LinkGraphicsItem (const QString &name, const QVector< QPointF > &vertices, 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 setVertices (const QVector< QPointF > &vertices)
 
void setOwnerLayer (OpenSWMMVisLayer *layer)
 
OpenSWMMVisLayerownerLayer () const
 

Constructor & Destructor Documentation

◆ LinkGraphicsItem()

LinkGraphicsItem::LinkGraphicsItem ( const QString &  name,
const QVector< QPointF > &  vertices,
QGraphicsItem *  parent = nullptr 
)
explicit
Here is the call graph for this function:

Member Function Documentation

◆ attributes()

QVariantMap LinkGraphicsItem::attributes ( ) const
inline

◆ clearResultValue()

void LinkGraphicsItem::clearResultValue ( )

◆ elementName()

QString LinkGraphicsItem::elementName ( ) const
inline

◆ ownerLayer()

OpenSWMMVisLayer * LinkGraphicsItem::ownerLayer ( ) const
inline

◆ setAttributes()

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

◆ setHighlighted()

void LinkGraphicsItem::setHighlighted ( bool  on)

◆ setOwnerLayer()

void LinkGraphicsItem::setOwnerLayer ( OpenSWMMVisLayer layer)
inline

◆ setResultValue()

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

◆ setVertices()

void LinkGraphicsItem::setVertices ( const QVector< QPointF > &  vertices)
Here is the caller graph for this function:

◆ type()

int LinkGraphicsItem::type ( ) const
inlineoverride

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