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

Slice AT.2 — factory that builds a QMenu of PlotAttribute choices valid for a given ObjectRef::Kind. Reused by: More...

#include "plot/irunlayer.h"
#include "plot/plotattribute.h"
#include <QPoint>
#include <QString>
#include <QStringList>
#include <QVector>
Include dependency graph for attributepickermenu.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  openswmmvis::ui::AttributePickerMenu
 

Namespaces

namespace  openswmmvis
 
namespace  openswmmvis::ui
 

Detailed Description

Slice AT.2 — factory that builds a QMenu of PlotAttribute choices valid for a given ObjectRef::Kind. Reused by:

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
  • OpenSWMMVisMapToolSelect::showContextMenu (map right-click)
  • OpenSWMMVisMapToolPlotPick (dialog "Add from Map" tool)
  • ComparisonPlotDialog's "Add System Series" toolbar button

Each menu entry carries its PlotAttribute value as the action's data() (stored as int in a QVariant) so the caller can route the chosen action to the right signal.