diff options
author | Sergio Ahumada <sergio.ahumada@nokia.com> | 2011-10-30 17:34:46 +0100 |
---|---|---|
committer | Sergio Ahumada <sergio.ahumada@nokia.com> | 2011-10-31 20:20:46 +0100 |
commit | 29478a8fe7f530d5d3fb728321cdf4e3191cad83 (patch) | |
tree | eb4641e9153ce0caea316e847558ea71688c66b8 /doc/src/examples/tooltips.qdoc | |
parent | ba92fe922244a66b4851a049af61cf9be7b1bc9d (diff) |
Doc: Fixing typos
Change-Id: I445b4cb0fe88d775c9421fbf1e8b7bb76dec0fc4
Reviewed-by: Casper van Donderen <casper.vandonderen@nokia.com>
Diffstat (limited to 'doc/src/examples/tooltips.qdoc')
-rw-r--r-- | doc/src/examples/tooltips.qdoc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/src/examples/tooltips.qdoc b/doc/src/examples/tooltips.qdoc index 9786c40264..2b39bf9c5f 100644 --- a/doc/src/examples/tooltips.qdoc +++ b/doc/src/examples/tooltips.qdoc @@ -112,7 +112,7 @@ \snippet examples/widgets/tooltips/sortingbox.cpp 1 - To be able to show the appropiate tooltips while the user is + To be able to show the appropriate tooltips while the user is moving the cursor around, we need to enable mouse tracking for the widget. @@ -208,7 +208,7 @@ The QPainter::setBrush() function sets the current brush used by the painter. When the provided argument is a QColor, the function - calls the appropiate QBrush constructor which creates a brush with + calls the appropriate QBrush constructor which creates a brush with the specified color and Qt::SolidPattern style. The QPainter::drawPath() function draws the given path using the current pen for outline and the current brush for filling. @@ -340,14 +340,14 @@ to appear at a random position, and we use the \c randomItemPosition() function to calculate such a position. We make sure that the item appears within the visible area of the - \c SortingBox widget, using the widget's current width and heigth + \c SortingBox widget, using the widget's current width and height when calculating the random coordinates. \snippet examples/widgets/tooltips/sortingbox.cpp 25 As with \c initialItemPosition(), the \c initialItemColor() function is called from the constructor. The purposes of both - functions are purely cosmetic: We want to control the inital + functions are purely cosmetic: We want to control the initial position and color of the three first items. \snippet examples/widgets/tooltips/sortingbox.cpp 26 |