summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorGeir Vattekar <geir.vattekar@trolltech.com>2009-09-01 15:27:00 (GMT)
committerGeir Vattekar <geir.vattekar@trolltech.com>2009-09-01 15:30:17 (GMT)
commite86ddf19ca20cb2128465b42fae4a9129abe25b3 (patch)
treea4350675d6ee9bf3bffba8f58258dd16f796eb98 /doc
parent950ab0520f0be607aaa1ec7e46dc33ebfde84f03 (diff)
downloadQt-e86ddf19ca20cb2128465b42fae4a9129abe25b3.zip
Qt-e86ddf19ca20cb2128465b42fae4a9129abe25b3.tar.gz
Qt-e86ddf19ca20cb2128465b42fae4a9129abe25b3.tar.bz2
Doc: Fixed typos in QGraphicsItem and Diagram Scene Example
Task-number: 257292 Reviewed-by: Trust Me
Diffstat (limited to 'doc')
-rw-r--r--doc/src/examples/diagramscene.qdoc7
1 files changed, 4 insertions, 3 deletions
diff --git a/doc/src/examples/diagramscene.qdoc b/doc/src/examples/diagramscene.qdoc
index 9f5d785..2011aa9 100644
--- a/doc/src/examples/diagramscene.qdoc
+++ b/doc/src/examples/diagramscene.qdoc
@@ -704,7 +704,7 @@
We use \c itemChange() and \c focusOutEvent() to notify the
\c DiagramScene when the text item loses focus and gets selected.
- Vi reimplement the functions that handle mouse events to make it
+ We reimplement the functions that handle mouse events to make it
possible to alter the mouse behavior of QGraphicsTextItem.
\section1 DiagramTextItem Implementation
@@ -729,7 +729,8 @@
\snippet examples/graphicsview/diagramscene/diagramtextitem.cpp 2
\c DiagramScene uses the signal emitted when the text item looses
- remove the item if it is empty, i.e., it contains no text.
+ focus to remove the item if it is empty, i.e., it contains no
+ text.
This is the implementation of \c mouseDoubleClickEvent():
@@ -838,7 +839,7 @@
\snippet examples/graphicsview/diagramscene/arrow.cpp 7
- If the line is selected we draw to dotted lines that are
+ If the line is selected, we draw two dotted lines that are
parallel with the line of the arrow. We do not use the default
implementation, which uses \l{QGraphicsItem::}{boundingRect()}
because the QRect bounding rectangle is considerably larger than