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

QFont QInputContext::font (  )  const [virtual]

Returns the font of the current input widget

Definition at line 283 of file qinputcontext.cpp.

References QApplication::font().

{
    Q_D(const QInputContext);
    if (!d->focusWidget)
        return QApplication::font();

    return qvariant_cast<QFont>(d->focusWidget->inputMethodQuery(Qt::ImFont));
}


Generated by  Doxygen 1.6.0   Back to index