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

One-shot map tool that reports the SWMM node under a click. More...

#include "map/tools/maptool.h"
#include <QString>
Include dependency graph for maptoolpicknode.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  OpenSWMMVisMapToolPickNode
 

Detailed Description

One-shot map tool that reports the SWMM node under a click.

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
    Pushed onto the canvas by NodePickSession while a dialog or a
    property editor waits for the user to point at a node (the inlet
    junction's capture node today). Hovering rings the node under the
    cursor; a left click (armed on press, committed on release) emits
    nodePicked(); Escape emits cancelled(). The tool never mutates the
    model and holds no state beyond the hover — the session that owns
    it decides what a pick means and when the previous tool comes back.