#include <swmmlayeritem.h>
◆ SWMMLayerItem()
| SWMMLayerItem::SWMMLayerItem |
( |
SWMMModelLayer * |
layer, |
|
|
QGraphicsItem * |
parent = nullptr |
|
) |
| |
|
explicit |
◆ ~SWMMLayerItem()
| SWMMLayerItem::~SWMMLayerItem |
( |
| ) |
|
|
overridedefault |
◆ boundingRect()
| QRectF SWMMLayerItem::boundingRect |
( |
| ) |
const |
|
inlineoverride |
◆ ownerLayer()
Layer that owns this batched renderer. Used by the layer's depopulateScene() to pick out its own batched item when tearing down. Multiple layers each have one, so identity is required.
◆ paint()
| void SWMMLayerItem::paint |
( |
QPainter * |
painter, |
|
|
const QStyleOptionGraphicsItem * |
option, |
|
|
QWidget * |
widget |
|
) |
| |
|
override |
◆ refreshBoundingRect()
| void SWMMLayerItem::refreshBoundingRect |
( |
| ) |
|
Recompute the cached bounding rect from the layer's SoA. Call after a geometry-mutating edit (move / add / remove).
◆ type()
| int SWMMLayerItem::type |
( |
| ) |
const |
|
inlineoverride |
The documentation for this class was generated from the following files: