SILICON
Loading...
Searching...
No Matches
ColorTokens Class Reference

#include <theme.hpp>

Public Member Functions

const QColor & operator[] (ColorToken token) const

Static Public Member Functions

static ColorTokens fromJson (const QJsonObject &object)

Private Attributes

std::array< QColor, static_cast< std::size_t >(ColorToken::Count)> values

Detailed Description

Definition at line 62 of file theme.hpp.

Member Function Documentation

◆ fromJson()

ColorTokens fromJson ( const QJsonObject & object)
static

Definition at line 79 of file theme.cpp.

◆ operator[]()

const QColor & operator[] ( ColorToken token) const

Definition at line 96 of file theme.cpp.

Member Data Documentation

◆ values

std::array<QColor, static_cast<std::size_t>(ColorToken::Count)> values
private

Definition at line 68 of file theme.hpp.


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