open_iA 2024.7
Loading...
Searching...
No Matches
Public Member Functions | List of all members
iASingleColorTheme Class Reference

Simplest possible color scheme: only one single color for all items. More...

#include <iAColorTheme.h>

Inheritance diagram for iASingleColorTheme:
[legend]
Collaboration diagram for iASingleColorTheme:
[legend]

Public Member Functions

 iASingleColorTheme (QString const &name, QColor const &color)
 
QColor const & color (size_t idx) const override
 returns the color with the given index in this theme
 
size_t size () const override
 returns the number of colors in this theme
 
- Public Member Functions inherited from iAColorTheme
 iAColorTheme (QString const &name)
 
virtual ~iAColorTheme ()
 
QString const & name () const
 get the name of the color theme
 

Detailed Description

Simplest possible color scheme: only one single color for all items.

Constructor & Destructor Documentation

◆ iASingleColorTheme()

iASingleColorTheme::iASingleColorTheme ( QString const & name,
QColor const & color )

Member Function Documentation

◆ color()

QColor const & iASingleColorTheme::color ( size_t idx) const
overridevirtual

returns the color with the given index in this theme

Implements iAColorTheme.

◆ size()

size_t iASingleColorTheme::size ( ) const
overridevirtual

returns the number of colors in this theme

Implements iAColorTheme.


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