Logo Search packages:      
Sourcecode: qt4-x11 version File versions

QFont QApplication::font (  )  [static]

Returns the default application font.

See also:
fontMetrics(), QWidget::font()

Definition at line 1570 of file qapplication.cpp.

Referenced by QWidget::event(), QInputContext::font(), font(), QToolTip::font(), and QFontDatabase::font().

{
    if (!QApplicationPrivate::app_font)
        QApplicationPrivate::app_font = new QFont(QLatin1String("Helvetica"));
    return *QApplicationPrivate::app_font;
}


Generated by  Doxygen 1.6.0   Back to index