QBrush Class Reference
[QtGui module]
Methods
- __init__ (self)
- __init__ (self, Qt.BrushStyle)
- __init__ (self, QColor, Qt.BrushStyle style = Qt.SolidPattern)
- __init__ (self, Qt.GlobalColor, Qt.BrushStyle style = Qt.SolidPattern)
- __init__ (self, QColor, QPixmap)
- __init__ (self, Qt.GlobalColor, QPixmap)
- __init__ (self, QPixmap)
- __init__ (self, QImage)
- __init__ (self, QGradient)
- __init__ (self, QBrush)
- __init__ (self, QVariant variant)
- QColor color (self)
- QGradient gradient (self)
- bool isOpaque (self)
- QMatrix matrix (self)
- setColor (self, QColor)
- setColor (self, Qt.GlobalColor)
- setMatrix (self, QMatrix)
- setStyle (self, Qt.BrushStyle)
- setTexture (self, QPixmap)
- setTextureImage (self, QImage)
- setTransform (self, QTransform)
- Qt.BrushStyle style (self)
- QPixmap texture (self)
- QImage textureImage (self)
- QTransform transform (self)
Special Methods
Detailed Description
A
QColor
or a
QGradient
may be used whenever a
QBrush
is expected.
Method Documentation
QBrush.__init__ (self)
QBrush.__init__ (self, QColor, Qt.BrushStyle style = Qt.SolidPattern)
QBrush.__init__ (self, QPixmap)
QBrush.__init__ (self, QImage)
QBrush.__init__ (self, QGradient)
QBrush.__init__ (self, QBrush)
QBrush.__init__ (self, QVariant variant)
QColor QBrush.color (self)
QGradient QBrush.gradient (self)
bool QBrush.isOpaque (self)
QMatrix QBrush.matrix (self)
QBrush.setColor (self, QColor)
QBrush.setMatrix (self, QMatrix)
QBrush.setTexture (self, QPixmap)
QBrush.setTextureImage (self, QImage)
QBrush.setTransform (self, QTransform)
QPixmap QBrush.texture (self)
QImage QBrush.textureImage (self)
QTransform QBrush.transform (self)
bool QBrush.__eq__ (self, QBrush)
bool QBrush.__ne__ (self, QBrush)