QIcon

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

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

oIcon := QIcon():new()
oIcon := QIcon():new( cFileName )
oIcon := QIcon():new( pQPixmap )
oIcon : actualSize( pSize, nMode, nState ) pQSize
oIcon : addFile( cFileName, pSize, nMode, nState ) NIL
oIcon : addPixmap( pPixmap, nMode, nState ) NIL
oIcon : cacheKey() nQint64
oIcon : isNull() lBool
oIcon : paint( pPainter, pRect, nAlignment, nMode, nState ) NIL
oIcon : paint_1( pPainter, nX, nY, nW, nH, nAlignment, nMode, nState ) NIL
oIcon : pixmap( pSize, nMode, nState ) pQPixmap
oIcon : pixmap_1( nW, nH, nMode, nState ) pQPixmap
oIcon : pixmap_2( nExtent, nMode, nState ) pQPixmap
FUNCTIONS REFERENCE
Source: /harbour/contrib/hbqt/QIcon.cpp
Qt_QIcon_actualSize( pQIcon, pSize, nMode, nState )pQSize
Qt_QIcon_addFile( pQIcon, cFileName, pSize, nMode, nState )NIL
Qt_QIcon_addPixmap( pQIcon, pPixmap, nMode, nState )NIL
Qt_QIcon_cacheKey( pQIcon )nQint64
Qt_QIcon_isNull( pQIcon )lBool
Qt_QIcon_paint( pQIcon, pPainter, pRect, nAlignment, nMode, nState )NIL
Qt_QIcon_paint_1( pQIcon, pPainter, nX, nY, nW, nH, nAlignment, nMode, nState )NIL
Qt_QIcon_pixmap( pQIcon, pSize, nMode, nState )pQPixmap
Qt_QIcon_pixmap_1( pQIcon, nW, nH, nMode, nState )pQPixmap
Qt_QIcon_pixmap_2( pQIcon, nExtent, nMode, nState )pQPixmap