summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeonard Lee <leonard.lee@nokia.com>2012-08-06 14:42:00 +0200
committerQt by Nokia <qt-info@nokia.com>2012-08-08 14:13:53 +0200
commit63eb5b5a798bd4d5de57243f79fde06b17233820 (patch)
tree168e7a7f5c856948e472e363bd228f38b625e018
parent7cd8782cb6f5c70d0c33621bf4686a01a22d4374 (diff)
Explained rectangle bounding in documentation.
Task-number: QTBUG-26756 Change-Id: Ifa56cbe249164e239f21c00fc31cd6ddd81705ad Reviewed-by: Gunnar Sletta <gunnar.sletta@nokia.com>
-rw-r--r--src/gui/painting/qpainter.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/painting/qpainter.cpp b/src/gui/painting/qpainter.cpp
index 0b162d772d..2eb9167dd7 100644
--- a/src/gui/painting/qpainter.cpp
+++ b/src/gui/painting/qpainter.cpp
@@ -5928,6 +5928,7 @@ void QPainter::drawText(const QRect &r, int flags, const QString &str, QRect *br
\overload
Draws the given \a text within the provided \a rectangle.
+ The \a rectangle along with alignment \a flags defines the anchors for the \a text.
\table 100%
\row