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
categoricalpalette.cpp File Reference
#include "render/categoricalpalette.h"
#include <array>
Include dependency graph for categoricalpalette.cpp:

Namespaces

namespace  CategoricalPalette
 

Functions

QColor CategoricalPalette::at (int index)
 Returns the i-th color from the default categorical palette.
 
int CategoricalPalette::size ()
 Number of colors in one full cycle before the palette wraps.
 
QList< QColor > CategoricalPalette::palette ()
 Returns the full palette as an ordered list.
 
QList< QColor > CategoricalPalette::byName (const QString &name)
 Returns the named palette as an ordered list. Falls back to the default (Tab10) when name doesn't match any built-in.
 
QStringList CategoricalPalette::builtinNames ()
 Names of all built-in palettes, in catalogue order. Used by the Categorized tab's m_catScheme combo to populate its dropdown.
 

Detailed Description

Variable Documentation

◆ displayName

QString displayName

◆ get

const QList< QColor > &(* get) () ( )

◆ key

QString key