summaryrefslogtreecommitdiffstats
path: root/src/widgets
diff options
context:
space:
mode:
authorCaroline Chao <caroline.chao@digia.com>2013-04-24 10:48:06 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-04-30 09:40:40 +0200
commit7375c06328f10071b1628874c96ed13142031dd7 (patch)
tree2ff6f87f707b29dca4c909efb4deb07b1342bb5d /src/widgets
parentbf9ae9018e063e3f002588e31b1b4f9f66926408 (diff)
Doc: Zooming inside QTextEdit
One can zoom in/out text inside a QTextEdit when the widget is read-only or when using the zoomIn/zoomOut functions. Zooming inside a HTML document only works if the font-style is not set to a fixed size inside the document though. Adding this information to the documentation. Change-Id: I66a62da53827e1ce3241ba16b91e86926b97c297 Reviewed-by: Jerome Pasion <jerome.pasion@digia.com> Reviewed-by: Frederik Gladhorn <frederik.gladhorn@digia.com>
Diffstat (limited to 'src/widgets')
-rw-r--r--src/widgets/widgets/qtextedit.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/widgets/widgets/qtextedit.cpp b/src/widgets/widgets/qtextedit.cpp
index bf2c8a4495..4b3bf6de65 100644
--- a/src/widgets/widgets/qtextedit.cpp
+++ b/src/widgets/widgets/qtextedit.cpp
@@ -445,6 +445,8 @@ void QTextEditPrivate::_q_ensureVisible(const QRectF &_rect)
example, the documentTitle() function will return the text from
within HTML \c{<title>} tags.
+ \note Zooming into HTML documents only works if the font-size is not set to a fixed size.
+
\section1 Using QTextEdit as an Editor
All the information about using QTextEdit as a display widget also