|
open_iA 2025.6
|
Simple implementation of a color theme, storing the colors in a vector. More...
Public Member Functions | |
| iAVectorColorTheme (QString const &name) | |
| void | addColor (QColor const &) |
| add a color to the theme (typically only necessary for theme creators) | |
| 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 | |
Simple implementation of a color theme, storing the colors in a vector.
| iAVectorColorTheme::iAVectorColorTheme | ( | QString const & | name | ) |
| void iAVectorColorTheme::addColor | ( | QColor const & | color | ) |
add a color to the theme (typically only necessary for theme creators)
|
overridevirtual |
returns the color with the given index in this theme
Implements iAColorTheme.
|
overridevirtual |
returns the number of colors in this theme
Implements iAColorTheme.