16#ifndef CATEGORICALPALETTE_H
17#define CATEGORICALPALETTE_H
32[[nodiscard]] QColor
at(
int index);
37[[nodiscard]]
int size();
42[[nodiscard]] QList<QColor>
palette();
57[[nodiscard]] QList<QColor>
byName(
const QString &
name);
int index
Position in m_quadRegions / m_quadReports.
Definition meshgenerator.cpp:153
Definition categoricalpalette.h:25
QList< QColor > palette()
Returns the full palette as an ordered list.
Definition categoricalpalette.cpp:183
int size()
Number of colors in one full cycle before the palette wraps.
Definition categoricalpalette.cpp:178
QList< QColor > byName(const QString &name)
Returns the named palette as an ordered list. Falls back to the default (Tab10) when name doesn't mat...
Definition categoricalpalette.cpp:188
QColor at(int index)
Returns the i-th color from the default categorical palette.
Definition categoricalpalette.cpp:169
QStringList builtinNames()
Names of all built-in palettes, in catalogue order. Used by the Categorized tab's m_catScheme combo t...
Definition categoricalpalette.cpp:197
QString name
Definition sectionmodelbuilders.cpp:474