QWidget: update documents of mouseDoubleClickEvent()

Double click behavior has been changed.
see SHA: b371f3f943

Change-Id: Ibd921d01fb25b8c31f75105a4ff63c42bf00c335
Reviewed-by: Casper van Donderen <casper.vandonderen@nokia.com>
Reviewed-by: Laszlo Agocs <laszlo.p.agocs@nokia.com>
This commit is contained in:
Debao Zhang 2012-03-16 17:02:49 -07:00 committed by Qt by Nokia
parent 25cf5dabbe
commit ab84aa53af

View File

@ -612,8 +612,9 @@ void QWidget::setAutoFillBackground(bool enabled)
steals the mouse events. steals the mouse events.
\li mouseDoubleClickEvent() is called when the user double-clicks in \li mouseDoubleClickEvent() is called when the user double-clicks in
the widget. If the user double-clicks, the widget receives a mouse the widget. If the user double-clicks, the widget receives a mouse
press event, a mouse release event and finally this event instead press event, a mouse release event, (a mouse click event,) a second
of a second mouse press event. (Some mouse move events may also be mouse press, this event and finally a second mouse release event.
(Some mouse move events may also be
received if the mouse is not held steady during this operation.) It received if the mouse is not held steady during this operation.) It
is \e{not possible} to distinguish a click from a double-click is \e{not possible} to distinguish a click from a double-click
until the second click arrives. (This is one reason why most GUI until the second click arrives. (This is one reason why most GUI