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
openswmmvisgraphicsview.h File Reference

Transparent QGraphicsView overlay that sits on top of the MapCanvas raster buffer, hosting interactive vector items in scene coordinates. More...

#include <QGraphicsView>
Include dependency graph for openswmmvisgraphicsview.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  OpenSWMMVisGraphicsView
 Transparent QGraphicsView overlay for interactive vector content in the MapCanvas. More...
 

Detailed Description

Transparent QGraphicsView overlay that sits on top of the MapCanvas raster buffer, hosting interactive vector items in scene coordinates.

Author
Caleb Buahin caleb.nosp@m..bua.nosp@m.hin@g.nosp@m.mail.nosp@m..com
Date
2026
License\n GPL-3.0-or-later

OpenSWMMVisGraphicsView is a thin subclass of QGraphicsView used by the MapCanvas two-layer compositing strategy. It is made transparent (Qt::WA_TranslucentBackground) so the raster buffer painted in the parent widget remains visible underneath. Mouse and keyboard events are forwarded to the active map tool rather than processed directly by the view.