diff options
author | Martin Jones <martin.jones@nokia.com> | 2010-02-18 07:40:42 (GMT) |
---|---|---|
committer | Martin Jones <martin.jones@nokia.com> | 2010-02-18 07:40:42 (GMT) |
commit | 47fb252279aa88631412a7422de0a30f40b96c17 (patch) | |
tree | 9767859ac9ffff57a544c907d0ba11ad273d0625 /src | |
parent | 27a94129261c47629d3cf0b6493e46306fb42cad (diff) | |
download | Qt-47fb252279aa88631412a7422de0a30f40b96c17.zip Qt-47fb252279aa88631412a7422de0a30f40b96c17.tar.gz Qt-47fb252279aa88631412a7422de0a30f40b96c17.tar.bz2 |
Doc: onExited, onEntered only work when button pressed or hoverEnabled
Task-number: QTBUG-8305
Diffstat (limited to 'src')
-rw-r--r-- | src/declarative/graphicsitems/qmlgraphicsmouseregion.cpp | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/declarative/graphicsitems/qmlgraphicsmouseregion.cpp b/src/declarative/graphicsitems/qmlgraphicsmouseregion.cpp index 003c18d..e6225e1 100644 --- a/src/declarative/graphicsitems/qmlgraphicsmouseregion.cpp +++ b/src/declarative/graphicsitems/qmlgraphicsmouseregion.cpp @@ -172,12 +172,24 @@ QmlGraphicsMouseRegionPrivate::~QmlGraphicsMouseRegionPrivate() \qmlsignal MouseRegion::onEntered() This handler is called when the mouse enters the mouse region. + + By default the onEntered handler is only called while a button is + pressed. Setting hoverEnabled to true enables handling of + onExited when no mouse button is pressed. + + \sa hoverEnabled */ /*! \qmlsignal MouseRegion::onExited() This handler is called when the mouse exists the mouse region. + + By default the onExited handler is only called while a button is + pressed. Setting hoverEnabled to true enables handling of + onExited when no mouse button is pressed. + + \sa hoverEnabled */ /*! @@ -189,6 +201,10 @@ QmlGraphicsMouseRegionPrivate::~QmlGraphicsMouseRegionPrivate() position, and any buttons currently pressed. The \e accepted property of the MouseEvent parameter is ignored in this handler. + + By default the onPositionChanged handler is only called while a button is + pressed. Setting hoverEnabled to true enables handling of + onPositionChanged when no mouse button is pressed. */ /*! |