summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDavid Boddie <dboddie@trolltech.com>2009-09-21 13:45:24 (GMT)
committerDavid Boddie <dboddie@trolltech.com>2009-09-21 14:00:25 (GMT)
commit5759ee3ef9eea0a1ea06efd4c349ef7ecc35ab5e (patch)
treeb326423aedd52c08c92c22e0a8fc1717546b64fc /src
parent991ddab63ab7dc6899f73fe7e71bfb9f08a3c4f6 (diff)
downloadQt-5759ee3ef9eea0a1ea06efd4c349ef7ecc35ab5e.zip
Qt-5759ee3ef9eea0a1ea06efd4c349ef7ecc35ab5e.tar.gz
Qt-5759ee3ef9eea0a1ea06efd4c349ef7ecc35ab5e.tar.bz2
Doc: Indicated that press and release events occur with double clicks.
Task-number: 255118 Reviewed-by: Trust Me
Diffstat (limited to 'src')
-rw-r--r--src/gui/kernel/qwidget.cpp12
1 files changed, 7 insertions, 5 deletions
diff --git a/src/gui/kernel/qwidget.cpp b/src/gui/kernel/qwidget.cpp
index ac25435..e68a72d 100644
--- a/src/gui/kernel/qwidget.cpp
+++ b/src/gui/kernel/qwidget.cpp
@@ -3323,7 +3323,7 @@ QPoint QWidget::pos() const
\note Do not use this function to find the width of a screen on
a \l{QDesktopWidget}{multiple screen desktop}. Read
- \l{multiple screens note}{this note} for details.
+ \l{QDesktopWidget#Screen Geometry}{this note} for details.
By default, this property contains a value that depends on the user's
platform and screen geometry.
@@ -3339,8 +3339,8 @@ QPoint QWidget::pos() const
issues with windows.
\note Do not use this function to find the height of a screen
- on a \l {QDesktopWidget} {multiple screen desktop}. Read
- \l {multiple screens note} {this note} for details.
+ on a \l{QDesktopWidget}{multiple screen desktop}. Read
+ \l{QDesktopWidget#Screen Geometry}{this note} for details.
By default, this property contains a value that depends on the user's
platform and screen geometry.
@@ -8500,8 +8500,10 @@ void QWidget::mouseReleaseEvent(QMouseEvent *event)
The default implementation generates a normal mouse press event.
- Note that the widgets gets a mousePressEvent() and a
- mouseReleaseEvent() before the mouseDoubleClickEvent().
+ \note The widget will also receive mouse press and mouse release
+ events in addition to the double click event. It is up to the
+ developer to ensure that the application interprets these events
+ correctly.
\sa mousePressEvent(), mouseReleaseEvent() mouseMoveEvent(),
event(), QMouseEvent