Name | |
---|---|
QskColorFilter() =default | |
void | addColorSubstitution(QRgb from, QRgb to) |
void | addColorSubstitution(Qt::GlobalColor from, QRgb to) |
void | addColorSubstitution(QRgb from, Qt::GlobalColor to) |
void | addColorSubstitution(Qt::GlobalColor from, Qt::GlobalColor to) |
void | reset() |
QPen | substituted(const QPen & pen) const |
QBrush | substituted(const QBrush & brush) const |
QColor | substituted(const QColor & color) const |
QRgb | substituted(const QRgb & rgb) const |
bool | isIdentity() const |
bool | operator==(const QskColorFilter & other) const |
bool | operator!=(const QskColorFilter & other) const |
const QVector< QPair< QRgb, QRgb > > & | substitutions() const |
QskColorFilter | interpolated(const QskColorFilter & other, qreal value) const |
QVariant | interpolate(const QskColorFilter & from, const QskColorFilter & to, qreal progress) |
QskColorFilter() =default
void addColorSubstitution(
QRgb from,
QRgb to
)
inline void addColorSubstitution(
Qt::GlobalColor from,
QRgb to
)
inline void addColorSubstitution(
QRgb from,
Qt::GlobalColor to
)
inline void addColorSubstitution(
Qt::GlobalColor from,
Qt::GlobalColor to
)
void reset()
QPen substituted(
const QPen & pen
) const
QBrush substituted(
const QBrush & brush
) const
QColor substituted(
const QColor & color
) const
QRgb substituted(
const QRgb & rgb
) const
inline bool isIdentity() const
inline bool operator==(
const QskColorFilter & other
) const
inline bool operator!=(
const QskColorFilter & other
) const
inline const QVector< QPair< QRgb, QRgb > > & substitutions() const
QskColorFilter interpolated(
const QskColorFilter & other,
qreal value
) const
static QVariant interpolate(
const QskColorFilter & from,
const QskColorFilter & to,
qreal progress
)
Updated on 28 July 2023 at 14:02:29 CEST