OpenMS
ColorBrewer Class Reference

#include <OpenMS/VISUAL/MISC/GUIHelpers.h>

Classes

struct  Distinct
 

Static Public Member Functions

template<class COLOR_CLASS >
static QColor getColor (uint32_t index)
 get a certain color. If index is larger than the maximum color, modulo operator will applied (cycling through colors) More...
 

Detailed Description

color palette for certain purposes Currently, only a set of distinct colors is supported

Member Function Documentation

◆ getColor()

static QColor getColor ( uint32_t  index)
inlinestatic

get a certain color. If index is larger than the maximum color, modulo operator will applied (cycling through colors)