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
preferencesmanager.h File Reference
#include "render/colorramp.h"
#include "plot/numberformat.h"
#include <QBrush>
#include <QColor>
#include <QMap>
#include <QObject>
#include <QPen>
#include <QSettings>
#include <QString>
Include dependency graph for preferencesmanager.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  PreferencesManager
 
struct  PreferencesManager::SimulationDefaults
 
struct  PreferencesManager::TwoDDefaults
 
struct  PreferencesManager::ObjectDefaults
 

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

Slice V — Settings & Preferences infrastructure.

Typed, signal-driven accessor for user preferences. Two-level scope:

  • App scope: persisted to QSettings, per-user / per-installation.
  • Project scope: overrides attached to the active project (planned for Phase 12's .oswp serializer; in-memory only today).

Live binding: every setter emits preferenceChanged(group, key) so the Select tool, the batched renderer's LOD, the project window's default tool, etc. refresh without restart.