QFont

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

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

oFont := QFont():new()
oFont := QFont():new( cFontName )
oFont := QFont():new( cFontName, nPointSize )
oFont := QFont():new( cFontName, nPointSize, nWeight )
oFont := QFont():new( cFontName, nPointSize, nWeight, lItalic )
oFont := QFont():new( pFont )
oFont := QFont():new( pFont, pPaintDevice )
oFont : bold() lBool
oFont : capitalization() nCapitalization
oFont : defaultFamily() cQString
oFont : exactMatch() lBool
oFont : family() cQString
oFont : fixedPitch() lBool
oFont : fromString( cDescrip ) lBool
oFont : italic() lBool
oFont : kerning() lBool
oFont : key() cQString
oFont : lastResortFamily() cQString
oFont : lastResortFont() cQString
oFont : letterSpacing() nQreal
oFont : letterSpacingType() nSpacingType
oFont : overline() lBool
oFont : pixelSize() nInt
oFont : pointSize() nInt
oFont : pointSizeF() nQreal
oFont : rawMode() lBool
oFont : rawName() cQString
oFont : setBold( lEnable ) NIL
oFont : setCapitalization( nCaps ) NIL
oFont : setFamily( cFamily ) NIL
oFont : setFixedPitch( lEnable ) NIL
oFont : setItalic( lEnable ) NIL
oFont : setKerning( lEnable ) NIL
oFont : setLetterSpacing( nType, nSpacing ) NIL
oFont : setOverline( lEnable ) NIL
oFont : setPixelSize( nPixelSize ) NIL
oFont : setPointSize( nPointSize ) NIL
oFont : setPointSizeF( nPointSize ) NIL
oFont : setRawMode( lEnable ) NIL
oFont : setRawName( cName ) NIL
oFont : setStretch( nFactor ) NIL
oFont : setStrikeOut( lEnable ) NIL
oFont : setStyle( nStyle ) NIL
oFont : setStyleHint( nHint, nStrategy ) NIL
oFont : setStyleStrategy( nS ) NIL
oFont : setUnderline( lEnable ) NIL
oFont : setWeight( nWeight ) NIL
oFont : setWordSpacing( nSpacing ) NIL
oFont : stretch() nInt
oFont : strikeOut() lBool
oFont : style() nStyle
oFont : styleHint() nStyleHint
oFont : styleStrategy() nStyleStrategy
oFont : toString() cQString
oFont : underline() lBool
oFont : weight() nInt
oFont : wordSpacing() nQreal
oFont : cleanup() NIL
oFont : initialize() NIL
oFont : insertSubstitution( cFamilyName, cSubstituteName ) NIL
oFont : insertSubstitutions( cFamilyName, pSubstituteNames ) NIL
oFont : removeSubstitution( cFamilyName ) NIL
oFont : substitute( cFamilyName ) cQString
oFont : substitutes( cFamilyName ) pQStringList
oFont : substitutions() pQStringList
FUNCTIONS REFERENCE
Source: /harbour/contrib/hbqt/QFont.cpp
Qt_QFont_bold( pQFont )lBool
Qt_QFont_capitalization( pQFont )nCapitalization
Qt_QFont_defaultFamily( pQFont )cQString
Qt_QFont_exactMatch( pQFont )lBool
Qt_QFont_family( pQFont )cQString
Qt_QFont_fixedPitch( pQFont )lBool
Qt_QFont_fromString( pQFont, cDescrip )lBool
Qt_QFont_italic( pQFont )lBool
Qt_QFont_kerning( pQFont )lBool
Qt_QFont_key( pQFont )cQString
Qt_QFont_lastResortFamily( pQFont )cQString
Qt_QFont_lastResortFont( pQFont )cQString
Qt_QFont_letterSpacing( pQFont )nQreal
Qt_QFont_letterSpacingType( pQFont )nSpacingType
Qt_QFont_overline( pQFont )lBool
Qt_QFont_pixelSize( pQFont )nInt
Qt_QFont_pointSize( pQFont )nInt
Qt_QFont_pointSizeF( pQFont )nQreal
Qt_QFont_rawMode( pQFont )lBool
Qt_QFont_rawName( pQFont )cQString
Qt_QFont_setBold( pQFont, lEnable )NIL
Qt_QFont_setCapitalization( pQFont, nCaps )NIL
Qt_QFont_setFamily( pQFont, cFamily )NIL
Qt_QFont_setFixedPitch( pQFont, lEnable )NIL
Qt_QFont_setItalic( pQFont, lEnable )NIL
Qt_QFont_setKerning( pQFont, lEnable )NIL
Qt_QFont_setLetterSpacing( pQFont, nType, nSpacing )NIL
Qt_QFont_setOverline( pQFont, lEnable )NIL
Qt_QFont_setPixelSize( pQFont, nPixelSize )NIL
Qt_QFont_setPointSize( pQFont, nPointSize )NIL
Qt_QFont_setPointSizeF( pQFont, nPointSize )NIL
Qt_QFont_setRawMode( pQFont, lEnable )NIL
Qt_QFont_setRawName( pQFont, cName )NIL
Qt_QFont_setStretch( pQFont, nFactor )NIL
Qt_QFont_setStrikeOut( pQFont, lEnable )NIL
Qt_QFont_setStyle( pQFont, nStyle )NIL
Qt_QFont_setStyleHint( pQFont, nHint, nStrategy )NIL
Qt_QFont_setStyleStrategy( pQFont, nS )NIL
Qt_QFont_setUnderline( pQFont, lEnable )NIL
Qt_QFont_setWeight( pQFont, nWeight )NIL
Qt_QFont_setWordSpacing( pQFont, nSpacing )NIL
Qt_QFont_stretch( pQFont )nInt
Qt_QFont_strikeOut( pQFont )lBool
Qt_QFont_style( pQFont )nStyle
Qt_QFont_styleHint( pQFont )nStyleHint
Qt_QFont_styleStrategy( pQFont )nStyleStrategy
Qt_QFont_toString( pQFont )cQString
Qt_QFont_underline( pQFont )lBool
Qt_QFont_weight( pQFont )nInt
Qt_QFont_wordSpacing( pQFont )nQreal
Qt_QFont_cleanup( pQFont )NIL
Qt_QFont_initialize( pQFont )NIL
Qt_QFont_insertSubstitution( pQFont, cFamilyName, cSubstituteName )NIL
Qt_QFont_insertSubstitutions( pQFont, cFamilyName, pSubstituteNames )NIL
Qt_QFont_removeSubstitution( pQFont, cFamilyName )NIL
Qt_QFont_substitute( pQFont, cFamilyName )cQString
Qt_QFont_substitutes( pQFont, cFamilyName )pQStringList
Qt_QFont_substitutions( pQFont )pQStringList