61 static QRgb
alphaBlend(
const QColor &color1,
const QColor &color2, qreal alpha);
70 static QRgb
alphaBlend(
const QBrush &brush1,
const QBrush &brush2, qreal alpha);
106 static QList<QRgb> graph_colors_;
109 static QList<QRgb> sequence_colors_;
Utility class providing color conversion, blending, and theme-aware UI color definitions.
Definition color_utils.h:25
static const color_t toColorT(const QColor color)
Converts a QColor to a core color_t.
Definition color_utils.cpp:45
static const QColor warningBackground()
Returns an appropriate warning background color for the current mode.
Definition color_utils.cpp:104
static const QColor disabledForeground()
Returns an appropriate foreground color for disabled text.
Definition color_utils.cpp:112
static QRgb alphaBlend(const QColor &color1, const QColor &color2, qreal alpha)
Blends two colors together using the specified alpha factor.
Definition color_utils.cpp:57
static const QColor hoverBackground()
Returns an appropriate background color for hovered abstract items.
Definition color_utils.cpp:93
static QBrush themeLinkBrush()
Returns an appropriate link color for the current mode.
Definition color_utils.cpp:77
static QColor fromColorT(const color_t *color)
Converts a core color_t pointer to a QColor.
Definition color_utils.cpp:34
static QString themeLinkStyle()
Returns an appropriate HTML+CSS link style for the current mode.
Definition color_utils.cpp:82
void color_filter_qt_add_cb(color_filter_t *colorf, void *user_data)
Adds a color filter callback to the specified color filter.
Data for a color filter.
Definition color_filters.h:34
RGB color representation with 16-bit precision per channel.
Definition color.h:27