Home · All Classes · Main Classes · Grouped Classes · Modules · Functions

Qt 3 Support Members for QFont

The following class members are part of the Qt 3 support layer. They are provided to help you port old code to Qt 4. We advise against using them in new code.

Public Functions

Static Public Members


Member Function Documentation

QFont QFont::defaultFont ()   [static]

Please use QApplication::font() instead.

See also setDefaultFont().

qreal QFont::pointSizeFloat () const

Use pointSizeF() instead.

See also setPointSizeFloat().

void QFont::setDefaultFont ( const QFont & f )   [static]

Please use QApplication::setFont() instead.

See also defaultFont().

void QFont::setPixelSizeFloat ( qreal pixelSize )

Sets the logical pixel height of font characters when shown on the screen to pixelSize.

void QFont::setPointSizeFloat ( qreal size )

Use setPointSizeF() instead.

See also pointSizeFloat().


Copyright © 2008 Trolltech Trademarks
Qt 4.3.5