diff options
author | Frederik Gladhorn <frederik.gladhorn@digia.com> | 2013-01-22 18:32:13 +0100 |
---|---|---|
committer | Frederik Gladhorn <frederik.gladhorn@digia.com> | 2013-01-22 18:32:47 +0100 |
commit | 6bf6c1285442d2cb74537d4b87f4605295c841e5 (patch) | |
tree | ea3f1a52d0b55cbeb84bc3bd6c1be8e513a528fd /src/gui/doc | |
parent | 15a32435561a668e69764d12edfa2b5c564c6505 (diff) | |
parent | 5e5bc779c3e3099159503f989de6baf589ea90d7 (diff) |
Merge remote-tracking branch 'origin/release' into stable
Change-Id: Iaa321deb9e536ce89b87a337b57634f00c770a32
Diffstat (limited to 'src/gui/doc')
-rw-r--r-- | src/gui/doc/src/coordsys.qdoc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/doc/src/coordsys.qdoc b/src/gui/doc/src/coordsys.qdoc index 653719e369..e66afcfe55 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 |