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

QGIS-style color-swatch button. More...

#include <QColor>
#include <QPushButton>
Include dependency graph for colorbutton.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  openswmmvis::ui::ColorButton
 

Namespaces

namespace  openswmmvis
 
namespace  openswmmvis::ui
 

Detailed Description

QGIS-style color-swatch button.

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
    Click → QColorDialog; the button shows the current colour as a
    filled swatch with a thin outline. Honours alpha. Compact size
    so it fits comfortably in form rows alongside other editors.