QBrush

  Previous topic Next topic JavaScript is required for the print function Mail us feedback on this topic! Mail us feedback on this topic!  

CLASS REFERENCE
Source: /harbour/contrib/hbqt/TQBrush.prg
http://doc.trolltech.com/4.5/qbrush.htm

IMPORTANT:  Call the constructor with exact number of parameter. 
            No defaults, otherwise application will GPF

oBrush := QBrush():new()
oBrush := QBrush():new( pQBrush )
oBrush := QBrush():new( nQt_GlobalColor )
oBrush := QBrush():new( nQt_GlobalColor, nQt_BrushStyle ) 
oBrush := QBrush():new( pQColor, nQt_BrushStyle )         
oBrush := QBrush():new( pQColor, pQPixmap )
oBrush := QBrush():new( nQt_GlobalColor, pQPixmap )
oBrush := QBrush():new( "QPixmap"  , pQPixmap )
oBrush := QBrush():new( "QImage"   , pQImage )
oBrush := QBrush():new( "QGradient", pQGradient )
oBrush := QBrush():new( "QColor"   , pQColor, [ nQt_BrushStyle = Qt_SolidPattern ] )
oBrush : color() pQColor
oBrush : isOpaque() lBool
oBrush : matrix() pQMatrix
oBrush : setColor( pColor ) NIL
oBrush : setColor_1( nColor ) NIL
oBrush : setMatrix( pMatrix ) NIL
oBrush : setStyle( nStyle ) NIL
oBrush : setTexture( pPixmap ) NIL
oBrush : setTextureImage( pImage ) NIL
oBrush : setTransform( pMatrix ) NIL
oBrush : style() nQt::BrushStyle
oBrush : texture() pQPixmap
oBrush : textureImage() pQImage
oBrush : transform() pQTransform
FUNCTIONS REFERENCE
Source: /harbour/contrib/hbqt/QBrush.cpp
Qt_QBrush_color( pQBrush )pQColor
Qt_QBrush_isOpaque( pQBrush )lBool
Qt_QBrush_matrix( pQBrush )pQMatrix
Qt_QBrush_setColor( pQBrush, pColor )NIL
Qt_QBrush_setColor_1( pQBrush, nColor )NIL
Qt_QBrush_setMatrix( pQBrush, pMatrix )NIL
Qt_QBrush_setStyle( pQBrush, nStyle )NIL
Qt_QBrush_setTexture( pQBrush, pPixmap )NIL
Qt_QBrush_setTextureImage( pQBrush, pImage )NIL
Qt_QBrush_setTransform( pQBrush, pMatrix )NIL
Qt_QBrush_style( pQBrush )nQt::BrushStyle
Qt_QBrush_texture( pQBrush )pQPixmap
Qt_QBrush_textureImage( pQBrush )pQImage
Qt_QBrush_transform( pQBrush )pQTransform