open_iA 2024.9
Loading...
Searching...
No Matches
iAColorTheme Class Referenceabstract

Interface for (qualitative) color themes. Holds a number of colors (which can be distinguished easily) More...

#include <iAColorTheme.h>

Inheritance diagram for iAColorTheme:
[legend]

Public Member Functions

 iAColorTheme (QString const &name)
 
virtual ~iAColorTheme ()
 
virtual QColor const & color (size_t idx) const =0
 returns the color with the given index in this theme
 
QString const & name () const
 get the name of the color theme
 
virtual size_t size () const =0
 returns the number of colors in this theme
 

Detailed Description

Interface for (qualitative) color themes. Holds a number of colors (which can be distinguished easily)

Constructor & Destructor Documentation

◆ iAColorTheme()

iAColorTheme::iAColorTheme ( QString const & name)

◆ ~iAColorTheme()

iAColorTheme::~iAColorTheme ( )
virtual

Member Function Documentation

◆ color()

virtual QColor const & iAColorTheme::color ( size_t idx) const
pure virtual

returns the color with the given index in this theme

Implemented in iASingleColorTheme, and iAVectorColorTheme.

◆ name()

QString const & iAColorTheme::name ( ) const

get the name of the color theme

◆ size()

virtual size_t iAColorTheme::size ( ) const
pure virtual

returns the number of colors in this theme

Implemented in iASingleColorTheme, and iAVectorColorTheme.


The documentation for this class was generated from the following files: