QQuickEvents: Fix documentation of types for MouseEvent and WheelEvent x/y
These types are qreal, not int. Change-Id: I26569c40825ce098ea095b3d9dc9b84eb3870c02 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io> Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
This commit is contained in:
parent
71cd0a58c0
commit
ddb1b8f226
|
@ -193,8 +193,8 @@ Item {
|
|||
*/
|
||||
|
||||
/*!
|
||||
\qmlproperty int QtQuick::MouseEvent::x
|
||||
\qmlproperty int QtQuick::MouseEvent::y
|
||||
\qmlproperty real QtQuick::MouseEvent::x
|
||||
\qmlproperty real QtQuick::MouseEvent::y
|
||||
|
||||
These properties hold the coordinates of the position supplied by the mouse event.
|
||||
*/
|
||||
|
@ -340,8 +340,8 @@ Item {
|
|||
*/
|
||||
|
||||
/*!
|
||||
\qmlproperty int QtQuick::WheelEvent::x
|
||||
\qmlproperty int QtQuick::WheelEvent::y
|
||||
\qmlproperty real QtQuick::WheelEvent::x
|
||||
\qmlproperty real QtQuick::WheelEvent::y
|
||||
|
||||
These properties hold the coordinates of the position supplied by the wheel event.
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue