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
selectionrenderingprefs.h File Reference
#include <QBrush>
#include <QObject>
#include <QPen>
Include dependency graph for selectionrenderingprefs.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  SelectionRenderingPrefs
 

Detailed Description

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

Q_PROPERTY-wrapped view onto PreferencesManager's per-class selection pens and brushes (link / subcatchment / node / gage). Drives the Preferences dialog's Selection page via QPropertyModel — getters call PreferencesManager::selectionPen / selectionBrush, setters call setSelectionPen / setSelectionBrush, so any edit routes back through the singleton and fires its preferenceChanged signal exactly like a hand-coded picker would.

Note: links are stroked only, so no linkBrush property is exposed. The link pen's width is interpreted ADDITIVELY over the base link pen — see PreferencesManager::selectionPen() documentation.