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

Go to the source code of this file.

Classes

class  openswmmvis::ui::ThemeManager
 

Namespaces

namespace  openswmmvis
 
namespace  openswmmvis::ui
 

Detailed Description

UI redesign P2 — applies the design tokens (themetokens.h) as the application-wide QPalette plus a minimal QSS overlay, and tracks the OS appearance when the mode is System (QStyleHints::colorScheme).

Persistence is deliberately NOT owned here: SWMMVisApplication seeds the initial mode from PreferencesManager, and the Preferences Appearance page writes the pref and calls setMode() — keeping this class free of settings coupling so tests can drive it directly.