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

Small live-preview widget used by every style editor. More...

#include <QColor>
#include <QPen>
#include <QWidget>
#include <Qt>
Include dependency graph for stylepreviewswatch.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  openswmmvis::ui::StylePreviewSwatch
 

Namespaces

namespace  openswmmvis
 
namespace  openswmmvis::ui
 

Detailed Description

Small live-preview widget used by every style editor.

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
    Renders a representative "point" / "line" / "polygon" sample
    using the current colour, size/width, and shape parameters
    provided via setter calls. Editors push state into the swatch
    on every property change and the swatch repaints.