Name | |
---|---|
enum | Orientation { Horizontal, Vertical, Diagonal} |
Name | |
---|---|
QskGradient() | |
QskGradient(Qt::GlobalColor color) | |
QskGradient(QRgb rgb) | |
QskGradient(const QColor & color) | |
QskGradient(Qt::Orientation orientation, const QVector< QskGradientStop > & stops) | |
QskGradient(Qt::Orientation orientation, const QColor & startColor, const QColor & stopColor) | |
QskGradient(Orientation orientation, const QVector< QskGradientStop > & stops) | |
QskGradient(Orientation orientation, const QColor & startColor, const QColor & stopColor) | |
~QskGradient() | |
void | setOrientation(Qt::Orientation orientation) |
void | setOrientation(Orientation orientation) |
Orientation | orientation() const |
bool | isValid() const |
Q_INVOKABLE void | invalidate() |
bool | operator==(const QskGradient & other) const |
bool | operator!=(const QskGradient & other) const |
void | setColor(const QColor & color) |
void | setColors(const QColor & startColor, const QColor & stopColor) |
Q_INVOKABLE QColor | startColor() const |
Q_INVOKABLE QColor | endColor() const |
Q_INVOKABLE void | setStops(const QVector< QskGradientStop > & stops) |
Q_INVOKABLE QVector< QskGradientStop > | stops() const |
Q_INVOKABLE bool | hasStopAt(qreal value) const |
void | setAlpha(int alpha) |
bool | isMonochrome() const |
bool | isVisible() const |
void | reverse() |
QskGradient | reversed() const |
QskGradient | extracted(qreal from, qreal start) const |
QskGradient | interpolated(const QskGradient & to, qreal value) const |
uint | hash(uint seed) const |
Q_INVOKABLE qreal | stopAt(int index) const |
Q_INVOKABLE QColor | colorAt(int index) const |
Q_INVOKABLE int | stopCount() const |
QVariant | interpolate(const QskGradient & from, const QskGradient & to, qreal progress) |
Name | |
---|---|
Orientation | orientation |
QVector< QskGradientStop > | stops |
bool | valid |
bool | visible |
bool | monochrome |
Enumerator | Value | Description |
---|---|---|
Horizontal | ||
Vertical | ||
Diagonal |
QskGradient()
inline QskGradient(
Qt::GlobalColor color
)
inline QskGradient(
QRgb rgb
)
QskGradient(
const QColor & color
)
QskGradient(
Qt::Orientation orientation,
const QVector< QskGradientStop > & stops
)
QskGradient(
Qt::Orientation orientation,
const QColor & startColor,
const QColor & stopColor
)
QskGradient(
Orientation orientation,
const QVector< QskGradientStop > & stops
)
QskGradient(
Orientation orientation,
const QColor & startColor,
const QColor & stopColor
)
~QskGradient()
void setOrientation(
Qt::Orientation orientation
)
void setOrientation(
Orientation orientation
)
Orientation orientation() const
bool isValid() const
Q_INVOKABLE void invalidate()
inline bool operator==(
const QskGradient & other
) const
inline bool operator!=(
const QskGradient & other
) const
void setColor(
const QColor & color
)
void setColors(
const QColor & startColor,
const QColor & stopColor
)
inline Q_INVOKABLE QColor startColor() const
inline Q_INVOKABLE QColor endColor() const
Q_INVOKABLE void setStops(
const QVector< QskGradientStop > & stops
)
Q_INVOKABLE QVector< QskGradientStop > stops() const
Q_INVOKABLE bool hasStopAt(
qreal value
) const
void setAlpha(
int alpha
)
bool isMonochrome() const
bool isVisible() const
void reverse()
QskGradient reversed() const
QskGradient extracted(
qreal from,
qreal start
) const
QskGradient interpolated(
const QskGradient & to,
qreal value
) const
uint hash(
uint seed
) const
Q_INVOKABLE qreal stopAt(
int index
) const
Q_INVOKABLE QColor colorAt(
int index
) const
Q_INVOKABLE int stopCount() const
static QVariant interpolate(
const QskGradient & from,
const QskGradient & to,
qreal progress
)
Orientation orientation;
QVector< QskGradientStop > stops;
bool valid;
bool visible;
bool monochrome;
Updated on 28 July 2023 at 14:02:29 CEST