/*!
    \internal

    Determine which font is implicitly imposed on this control by its ancestors
    and QGuiApplication::font, resolve this against its own font (attributes from
    the implicit font are copied over). Then propagate this font to this
    control's children.
*/
void QQuickTextFieldPrivate::resolveFont()
{
    Q_Q(QQuickTextField);
    inheritFont(QQuickControlPrivate::naturalControlFont(q));
}
Exemple #2
0
bool Inset::resetFontEdit() const
{
	return getLayout().resetsFont() || !inheritFont();
}