From 1ba51aebe818746c13c58fda8e9c8cf4f73ea1ba Mon Sep 17 00:00:00 2001 From: Volker Hilsheimer Date: Mon, 27 Jul 2009 11:33:59 +0200 Subject: Doc: QTextLayout is the class to use in interactive text controls. --- src/gui/text/qfontmetrics.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/text/qfontmetrics.cpp b/src/gui/text/qfontmetrics.cpp index f558011..012c0f6 100644 --- a/src/gui/text/qfontmetrics.cpp +++ b/src/gui/text/qfontmetrics.cpp @@ -560,7 +560,7 @@ int QFontMetrics::width(const QString &text, int len) const processing strings cannot be taken into account. When implementing an interactive text control, use QTextLayout instead. - \sa boundingRect(), charWidth() + \sa boundingRect() */ int QFontMetrics::width(QChar ch) const { -- cgit v0.12