![]() |
SWMMVis
6.0.0-alpha.4
Qt6/C++ GIS-based graphical user interface for the SWMMVis engine (6.0.0-alpha.4)
|
Colour-swatch table cell with a double-click colour picker. More...
#include <QStyledItemDelegate>Go to the source code of this file.
Classes | |
| class | openswmmvis::ui::ColorCellDelegate |
Namespaces | |
| namespace | openswmmvis |
| namespace | openswmmvis::ui |
Colour-swatch table cell with a double-click colour picker.
Paints the cell's Qt::BackgroundRole colour as a rounded swatch
(checkerboard behind translucent colours) and opens QColorDialog
on double-click, writing the pick back to Qt::BackgroundRole.
Shared by the ClassificationEditor class table and the raster
Paletted-renderer class table; originally lived inside
classificationeditor.cpp (from KindRendererPanel).