#include <qbrush.h>
Public Types |
|
| typedef
QScopedPointer < QBrushData, QBrushDataPointerDeleter > |
DataPtr |
Public Member Functions |
|
| QBrush () | |
| QBrush (Qt::BrushStyle bs) | |
| QBrush (const QColor &color, Qt::BrushStyle bs=Qt::SolidPattern) | |
| QBrush (Qt::GlobalColor color, Qt::BrushStyle bs=Qt::SolidPattern) | |
| QBrush (const QColor &color, const QPixmap &pixmap) | |
| QBrush (Qt::GlobalColor color, const QPixmap &pixmap) | |
| QBrush (const QPixmap &pixmap) | |
| QBrush (const QImage &image) | |
| QBrush (const QBrush &brush) | |
| QBrush (const QGradient &gradient) | |
| ~QBrush () | |
| QBrush & | operator= (const QBrush &brush) |
| operator QVariant () const | |
| Qt::BrushStyle | style () const |
| void | setStyle (Qt::BrushStyle) |
| const QMatrix & | matrix () const |
| void | setMatrix (const QMatrix &mat) |
| QTransform | transform () const |
| void | setTransform (const QTransform &) |
| QPixmap | texture () const |
| void | setTexture (const QPixmap &pixmap) |
| QImage | textureImage () const |
| void | setTextureImage (const QImage &image) |
| const QColor & | color () const |
| void | setColor (const QColor &color) |
| void | setColor (Qt::GlobalColor color) |
| const QGradient * | gradient () const |
| bool | isOpaque () const |
| bool | operator== (const QBrush &b) const |
| bool | operator!= (const QBrush &b) const |
| bool | isDetached () const |
| DataPtr & | data_ptr () |
Friends |
|
| class | QRasterPaintEngine |
| class | QRasterPaintEnginePrivate |
| struct | QSpanData |
| class | QPainter |
| bool Q_GUI_EXPORT | qHasPixmapTexture (const QBrush &brush) |
| typedef QScopedPointer<QBrushData, QBrushDataPointerDeleter> DataPtr |
| QBrush | ( | ) |
| QBrush | ( | Qt::BrushStyle | bs | ) |
| QBrush | ( | const QColor & | color, |
| Qt::BrushStyle | bs =
Qt::SolidPattern |
||
| ) |
| QBrush | ( | Qt::GlobalColor | color, |
| Qt::BrushStyle | bs =
Qt::SolidPattern |
||
| ) |
| QBrush | ( | Qt::GlobalColor | color, |
| const QPixmap & | pixmap | ||
| ) |
| ~QBrush | ( | ) |
| operator QVariant | ( | ) | const |
| Qt::BrushStyle style | ( | ) | const [inline] |
| void setStyle | ( | Qt::BrushStyle | ) |
| const QMatrix & matrix | ( | ) | const [inline] |
| void setMatrix | ( | const QMatrix & | mat | ) |
| QTransform transform | ( | ) | const [inline] |
| void setTransform | ( | const QTransform & | ) |
| QPixmap texture | ( | ) | const |
| void setTexture | ( | const QPixmap & | pixmap | ) |
| QImage textureImage | ( | ) | const |
| void setTextureImage | ( | const QImage & | image | ) |
| const QColor & color | ( | ) | const [inline] |
| void setColor | ( | const QColor & | color | ) |
| void setColor | ( | Qt::GlobalColor | color | ) | [inline] |
| const QGradient* gradient | ( | ) | const |
| bool isOpaque | ( | ) | const |
| bool operator== | ( | const QBrush & | b | ) | const |
| bool operator!= | ( | const QBrush & | b | ) | const [inline] |
Definition at line 121 of file qbrush.h.
{ return !(operator==(b)); }
| bool isDetached | ( | ) | const [inline] |
| DataPtr& data_ptr | ( | ) | [inline] |
friend class QRasterPaintEngine
[friend] |
friend class QRasterPaintEnginePrivate
[friend] |
friend struct QSpanData
[friend] |
friend class QPainter [friend] |
| bool Q_GUI_EXPORT qHasPixmapTexture | ( | const QBrush & | brush | ) | [friend] |