QRect

  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/TQRect.prg
http://doc.trolltech.com/4.5/qrect.htm

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

oRect := QRect():new()
oRect := QRect():new( pQRect_other )
oRect := QRect():new( pQPoint_topLeft, pQPoint_bottomRight )
oRect := QRect():new( nX, nY, nWidth, nHeight )

/* TODO:
 *
 * oRect := QRect():new( pQPoint_topLeft, pQSize_size )
 */
oRect : adjust( nDx1, nDy1, nDx2, nDy2 ) NIL
oRect : bottom() nInt
oRect : bottomLeft() pQPoint
oRect : bottomRight() pQPoint
oRect : center() pQPoint
oRect : contains( pPoint, lProper ) lBool
oRect : contains_1( nX, nY, lProper ) lBool
oRect : contains_2( nX, nY ) lBool
oRect : contains_3( pRectangle, lProper ) lBool
oRect : getCoords( @nX1, @nY1, @nX2, @nY2 ) NIL
oRect : getRect( @nX, @nY, @nWidth, @nHeight ) NIL
oRect : height() nInt
oRect : intersects( pRectangle ) lBool
oRect : isEmpty() lBool
oRect : isNull() lBool
oRect : isValid() lBool
oRect : left() nInt
oRect : moveBottom( nY ) NIL
oRect : moveBottomLeft( pPosition ) NIL
oRect : moveBottomRight( pPosition ) NIL
oRect : moveCenter( pPosition ) NIL
oRect : moveLeft( nX ) NIL
oRect : moveRight( nX ) NIL
oRect : moveTo( nX, nY ) NIL
oRect : moveTo_1( pPosition ) NIL
oRect : moveTop( nY ) NIL
oRect : moveTopLeft( pPosition ) NIL
oRect : moveTopRight( pPosition ) NIL
oRect : right() nInt
oRect : setBottom( nY ) NIL
oRect : setBottomLeft( pPosition ) NIL
oRect : setBottomRight( pPosition ) NIL
oRect : setCoords( nX1, nY1, nX2, nY2 ) NIL
oRect : setHeight( nHeight ) NIL
oRect : setLeft( nX ) NIL
oRect : setRect( nX, nY, nWidth, nHeight ) NIL
oRect : setRight( nX ) NIL
oRect : setSize( pSize ) NIL
oRect : setTop( nY ) NIL
oRect : setTopLeft( pPosition ) NIL
oRect : setTopRight( pPosition ) NIL
oRect : setWidth( nWidth ) NIL
oRect : setX( nX ) NIL
oRect : setY( nY ) NIL
oRect : size() pQSize
oRect : top() nInt
oRect : topLeft() pQPoint
oRect : topRight() pQPoint
oRect : translate( nDx, nDy ) NIL
oRect : translate_1( pOffset ) NIL
oRect : width() nInt
oRect : x() nInt
oRect : y() nInt
FUNCTIONS REFERENCE
Source: /harbour/contrib/hbqt/QRect.cpp
Qt_QRect_adjust( pQRect, nDx1, nDy1, nDx2, nDy2 )NIL
Qt_QRect_adjusted( pQRect, nDx1, nDy1, nDx2, nDy2 )pQRect
Qt_QRect_bottom( pQRect )nInt
Qt_QRect_bottomLeft( pQRect )pQPoint
Qt_QRect_bottomRight( pQRect )pQPoint
Qt_QRect_center( pQRect )pQPoint
Qt_QRect_contains( pQRect, pPoint, lProper )lBool
Qt_QRect_contains_1( pQRect, nX, nY, lProper )lBool
Qt_QRect_contains_2( pQRect, nX, nY )lBool
Qt_QRect_contains_3( pQRect, pRectangle, lProper )lBool
Qt_QRect_getCoords( pQRect, @nX1, @nY1, @nX2, @nY2 )NIL
Qt_QRect_getRect( pQRect, @nX, @nY, @nWidth, @nHeight )NIL
Qt_QRect_height( pQRect )nInt
Qt_QRect_intersected( pQRect, pRectangle )pQRect
Qt_QRect_intersects( pQRect, pRectangle )lBool
Qt_QRect_isEmpty( pQRect )lBool
Qt_QRect_isNull( pQRect )lBool
Qt_QRect_isValid( pQRect )lBool
Qt_QRect_left( pQRect )nInt
Qt_QRect_moveBottom( pQRect, nY )NIL
Qt_QRect_moveBottomLeft( pQRect, pPosition )NIL
Qt_QRect_moveBottomRight( pQRect, pPosition )NIL
Qt_QRect_moveCenter( pQRect, pPosition )NIL
Qt_QRect_moveLeft( pQRect, nX )NIL
Qt_QRect_moveRight( pQRect, nX )NIL
Qt_QRect_moveTo( pQRect, nX, nY )NIL
Qt_QRect_moveTo_1( pQRect, pPosition )NIL
Qt_QRect_moveTop( pQRect, nY )NIL
Qt_QRect_moveTopLeft( pQRect, pPosition )NIL
Qt_QRect_moveTopRight( pQRect, pPosition )NIL
Qt_QRect_normalized( pQRect )pQRect
Qt_QRect_right( pQRect )nInt
Qt_QRect_setBottom( pQRect, nY )NIL
Qt_QRect_setBottomLeft( pQRect, pPosition )NIL
Qt_QRect_setBottomRight( pQRect, pPosition )NIL
Qt_QRect_setCoords( pQRect, nX1, nY1, nX2, nY2 )NIL
Qt_QRect_setHeight( pQRect, nHeight )NIL
Qt_QRect_setLeft( pQRect, nX )NIL
Qt_QRect_setRect( pQRect, nX, nY, nWidth, nHeight )NIL
Qt_QRect_setRight( pQRect, nX )NIL
Qt_QRect_setSize( pQRect, pSize )NIL
Qt_QRect_setTop( pQRect, nY )NIL
Qt_QRect_setTopLeft( pQRect, pPosition )NIL
Qt_QRect_setTopRight( pQRect, pPosition )NIL
Qt_QRect_setWidth( pQRect, nWidth )NIL
Qt_QRect_setX( pQRect, nX )NIL
Qt_QRect_setY( pQRect, nY )NIL
Qt_QRect_size( pQRect )pQSize
Qt_QRect_top( pQRect )nInt
Qt_QRect_topLeft( pQRect )pQPoint
Qt_QRect_topRight( pQRect )pQPoint
Qt_QRect_translate( pQRect, nDx, nDy )NIL
Qt_QRect_translate_1( pQRect, pOffset )NIL
Qt_QRect_translated( pQRect, nDx, nDy )pQRect
Qt_QRect_translated_1( pQRect, pOffset )pQRect
Qt_QRect_united( pQRect, pRectangle )pQRect
Qt_QRect_width( pQRect )nInt
Qt_QRect_x( pQRect )nInt
Qt_QRect_y( pQRect )nInt