From 5759ee3ef9eea0a1ea06efd4c349ef7ecc35ab5e Mon Sep 17 00:00:00 2001 From: David Boddie Date: Mon, 21 Sep 2009 15:45:24 +0200 Subject: Doc: Indicated that press and release events occur with double clicks. Task-number: 255118 Reviewed-by: Trust Me --- src/gui/kernel/qwidget.cpp | 12 +++++++----- 1 file 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 -- cgit v0.12