#include <qbrush.h>
Inheritance diagram for QGradient:Public Types | |
| enum | Type { LinearGradient, RadialGradient, ConicalGradient, NoGradient } |
| enum | Spread { PadSpread, ReflectSpread, RepeatSpread } |
| enum | CoordinateMode { LogicalMode, StretchToDeviceMode, ObjectBoundingMode } |
| enum | InterpolationMode { ColorInterpolation, ComponentInterpolation } |
Public Member Functions | |
| QGradient () | |
| Type | type () const |
| void | setSpread (Spread spread) |
| Spread | spread () const |
| void | setColorAt (qreal pos, const QColor &color) |
| void | setStops (const QGradientStops &stops) |
| QGradientStops | stops () const |
| CoordinateMode | coordinateMode () const |
| void | setCoordinateMode (CoordinateMode mode) |
| InterpolationMode | interpolationMode () const |
| void | setInterpolationMode (InterpolationMode mode) |
| bool | operator== (const QGradient &gradient) const |
| bool | operator!= (const QGradient &other) const |
| bool | operator== (const QGradient &gradient) |
Friends | |
| class | QLinearGradient |
| class | QRadialGradient |
| class | QConicalGradient |
| class | QBrush |
| enum Type |
| Enumerator | |
|---|---|
| LinearGradient | |
| RadialGradient | |
| ConicalGradient | |
| NoGradient | |
| enum Spread |
| Enumerator | |
|---|---|
| PadSpread | |
| ReflectSpread | |
| RepeatSpread | |
| enum CoordinateMode |
| Enumerator | |
|---|---|
| LogicalMode | |
| StretchToDeviceMode | |
| ObjectBoundingMode | |
| enum InterpolationMode |
| Enumerator | |
|---|---|
| ColorInterpolation | |
| ComponentInterpolation | |
Definition at line 225 of file qbrush.h.
| QGradient | ( | ) |
| void setStops | ( | const QGradientStops & | stops | ) |
| QGradientStops stops | ( | ) | const |
| CoordinateMode coordinateMode | ( | ) | const |
| void setCoordinateMode | ( | CoordinateMode | mode | ) |
| InterpolationMode interpolationMode | ( | ) | const |
| void setInterpolationMode | ( | InterpolationMode | mode | ) |
| bool operator== | ( | const QGradient & | gradient | ) | const |
|
inline |
| bool operator== | ( | const QGradient & | gradient | ) |
|
friend |
|
friend |
|
friend |
| struct { ... } linear |
| struct { ... } radial |
| struct { ... } conical |