sec_interp.gui.renderers.color_manager module
Color management for geological units.
- class sec_interp.gui.renderers.color_manager.ColorManager
Bases:
objectManages consistent color assignment for geological units.
- GEOLOGY_COLORS: ClassVar[list[qgis.PyQt.QtGui.QColor]] = [qgis.PyQt.QtGui.QColor, qgis.PyQt.QtGui.QColor, qgis.PyQt.QtGui.QColor, qgis.PyQt.QtGui.QColor, qgis.PyQt.QtGui.QColor, qgis.PyQt.QtGui.QColor, qgis.PyQt.QtGui.QColor, qgis.PyQt.QtGui.QColor, qgis.PyQt.QtGui.QColor, qgis.PyQt.QtGui.QColor, qgis.PyQt.QtGui.QColor, qgis.PyQt.QtGui.QColor, qgis.PyQt.QtGui.QColor, qgis.PyQt.QtGui.QColor, qgis.PyQt.QtGui.QColor, qgis.PyQt.QtGui.QColor]
- __init__() None
Initialize the color manager.
- get_color(name: str) qgis.PyQt.QtGui.QColor
Get a consistent color for a geological unit.