summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan-Arve Sæther <jan-arve.saether@nokia.com>2009-12-03 20:35:20 (GMT)
committerJan-Arve Sæther <jan-arve.saether@nokia.com>2009-12-03 20:35:20 (GMT)
commit0ced23b6af63c42b04977faf94deb3ff0a57ff4e (patch)
treeeeb4556fc56f0d4a55b8d1e0b1f3d8f29c33dc32
parent2263a796ac6fc84002ff075eb6cbc67e0ec27802 (diff)
downloadQt-0ced23b6af63c42b04977faf94deb3ff0a57ff4e.zip
Qt-0ced23b6af63c42b04977faf94deb3ff0a57ff4e.tar.gz
Qt-0ced23b6af63c42b04977faf94deb3ff0a57ff4e.tar.bz2
Some doc fixes
- Remove a lie. - When referring to the size of an anchor, refer to it consistently as 'spacing' instead of magnitude.
-rw-r--r--src/gui/graphicsview/qgraphicsanchorlayout.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/graphicsview/qgraphicsanchorlayout.cpp b/src/gui/graphicsview/qgraphicsanchorlayout.cpp
index 686096c..6718a28 100644
--- a/src/gui/graphicsview/qgraphicsanchorlayout.cpp
+++ b/src/gui/graphicsview/qgraphicsanchorlayout.cpp
@@ -158,7 +158,7 @@ QGraphicsAnchor::~QGraphicsAnchor()
\property QGraphicsAnchor::sizePolicy
\brief the size policy for the QGraphicsAnchor.
- By setting the size policy on an anchor you can configure how the item can resize itself
+ By setting the size policy on an anchor you can configure how the anchor can resize itself
from its preferred spacing. For instance, if the anchor has the size policy
QSizePolicy::Minimum, the spacing is the minimum size of the anchor. However, its size
can grow up to the anchors maximum size. If the default size policy is QSizePolicy::Fixed,
@@ -247,7 +247,7 @@ QGraphicsAnchorLayout::~QGraphicsAnchorLayout()
/*!
Creates an anchor between the edge \a firstEdge of item \a firstItem and the edge \a secondEdge
- of item \a secondItem. The magnitude of the anchor is picked up from the style. Anchors
+ of item \a secondItem. The spacing of the anchor is picked up from the style. Anchors
between a layout edge and an item edge will have a size of 0.
If there is already an anchor between the edges, the the new anchor will replace the old one.