ADTF Qt5
Loading...
Searching...
No Matches
adtf::ui::v0::cThemedIconColorMapping Class Reference

#include <themed_icon.h>

Public Member Functions

void AddColorMapping (QColor colorFrom, QColor colorTo)
 
const QColor MapColor (QColor colorFrom) const
 

Static Public Member Functions

static cThemedIconColorMapping GetDefaultColorMapping ()
 

Detailed Description

Color mapping support for Icons.

Member Function Documentation

◆ AddColorMapping()

void adtf::ui::thor::cThemedIconColorMapping::AddColorMapping ( QColor colorFrom,
QColor colorTo )

Add a color mapping pair.

Parameters
colorFromThe color string for the source color
colorToThe color string for the target color

◆ GetDefaultColorMapping()

static cThemedIconColorMapping adtf::ui::thor::cThemedIconColorMapping::GetDefaultColorMapping ( )
static

Get the default color mapping used by XSystem.

Returns
The default color mapping

◆ MapColor()

const QColor adtf::ui::thor::cThemedIconColorMapping::MapColor ( QColor colorFrom) const

Convert a color with the current mapping.

Parameters
colorFromThe color string for the source color
Returns
The color converted by the current mapping

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