QGradient Class Reference
[QtGui module]
Inherited by QConicalGradient, QLinearGradient and QRadialGradient.
Types
- enum CoordinateMode { LogicalMode, StretchToDeviceMode, ObjectBoundingMode }
- enum Spread { PadSpread, ReflectSpread, RepeatSpread }
- enum Type { LinearGradient, RadialGradient, ConicalGradient, NoGradient }
Methods
Special Methods
Detailed Description
Type Documentation
QGradient.CoordinateMode
QGradient.Spread
QGradient.Type
Method Documentation
QGradient.__init__ (self)
QGradient.__init__ (self, QGradient)
CoordinateMode QGradient.coordinateMode (self)
QGradient.setColorAt (self, float, QColor)
QGradient.setCoordinateMode (self, CoordinateMode)
QGradient.setSpread (self, Spread)
QGradient.setStops (self, list-of-tuple-of-float-QColor)
Spread QGradient.spread (self)
list-of-tuple-of-float-QColor QGradient.stops (self)
Type QGradient.type (self)
bool QGradient.__eq__ (self, QGradient)
bool QGradient.__ne__ (self, QGradient)