summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNico Vertriest <nico.vertriest@digia.com>2013-01-21 16:50:59 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-01-22 10:31:19 +0100
commit90197276a8108ec5b34899e0dab4f05bf8c79c2b (patch)
tree8dc1da4b9d2b0f4efc6329a28ba173e1c955ae35
parent498dfa3de70a606edf52d10e5c597a60afc1d2c2 (diff)
Doc: solved snippet issue in coordsys.qdoc
Reference to analogclock/main.cpp : removed folder 'gui' from path Task-number: QTBUG-29101 Change-Id: Ib51189e693ba59aed5c969c96f1b684d6c180b0c Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
-rw-r--r--src/gui/doc/src/coordsys.qdoc8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/doc/src/coordsys.qdoc b/src/gui/doc/src/coordsys.qdoc
index 17e0506ae3..b76a9361a4 100644
--- a/src/gui/doc/src/coordsys.qdoc
+++ b/src/gui/doc/src/coordsys.qdoc
@@ -230,7 +230,7 @@
\row
\li {2,1}
- \snippet gui/analogclock/main.cpp 1
+ \snippet analogclock/main.cpp 1
We translate the coordinate system so that point (0, 0) is in the
widget's center, instead of being at the top-left corner. We also
@@ -244,7 +244,7 @@
See also the \l {Window-Viewport Conversion} section.
- \snippet gui/analogclock/main.cpp 2
+ \snippet analogclock/main.cpp 2
We draw the clock's hour hand by rotating the coordinate system
and calling QPainter::drawConvexPolygon(). Thank's to the
@@ -259,14 +259,14 @@
the code guarantees that the code that follows won't be disturbed
by the transformations we've used.
- \snippet gui/analogclock/main.cpp 3
+ \snippet analogclock/main.cpp 3
We do the same for the clock's minute hand, which is defined by
the four points (1, 0), (0, 1), (-1, 0), and (0, -40). These
coordinates specify a hand that is thinner and longer than the
minute hand.
- \snippet gui/analogclock/main.cpp 4
+ \snippet analogclock/main.cpp 4
Finally, we draw the clock face, which consists of twelve short
lines at 30-degree intervals. At the end of that, the painter is