diff options
author | J-P Nurmi <jpnurmi@qt.io> | 2016-10-26 07:48:46 +0200 |
---|---|---|
committer | J-P Nurmi <jpnurmi@qt.io> | 2016-10-26 09:17:32 +0000 |
commit | 25d6d137a90ca9e3ce654adcc454c23de4622a49 (patch) | |
tree | 35bace6b898bdbf390027dcf7e553773729daa74 /src/quicktemplates2 | |
parent | 52e933ce2b10b0e1b48afa9ce048552830309da7 (diff) |
Doc: QT_QUICK_CONTROLS_HOVER_ENABLED
Change-Id: I91b578e6e7956feadb0a9f874fa0c1f4d97f02bf
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'src/quicktemplates2')
-rw-r--r-- | src/quicktemplates2/qquickcontrol.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/quicktemplates2/qquickcontrol.cpp b/src/quicktemplates2/qquickcontrol.cpp index 157c539e..e1df04cc 100644 --- a/src/quicktemplates2/qquickcontrol.cpp +++ b/src/quicktemplates2/qquickcontrol.cpp @@ -1012,6 +1012,10 @@ void QQuickControl::setHovered(bool hovered) Setting this property propagates the value to all child controls that do not have \c hoverEnabled explicitly set. + You can also enable or disable hover effects for all Qt Quick Controls 2 applications + by setting the \c QT_QUICK_CONTROLS_HOVER_ENABLED \l {Supported Environment Variables + in Qt Quick Controls 2}{environment variable}. + \sa hovered */ bool QQuickControl::isHoverEnabled() const |