summaryrefslogtreecommitdiff
path: root/src/controls/Slider.qml
diff options
context:
space:
mode:
authorMitch Curtis <mitch.curtis@digia.com>2013-02-26 12:17:34 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-02-26 18:37:34 +0100
commit95f2968d9126ca1a9af3b6729e319d3fa2994f23 (patch)
treed327925bb1bd0d4c5e107aba1dadec3321f734ca /src/controls/Slider.qml
parent74afe5dcd7f5f0b0f94be5abced86e165371232d (diff)
downloadqtquickcontrols-95f2968d9126ca1a9af3b6729e319d3fa2994f23.tar.gz
Make containsMouse property private.
Also removes the RangeTab from the Gallery example, since its controls use containsMouse and are no longer different from the same set of sliders on the control tab. Adding MouseAreas to each control in RangeTab to achieve the same animation would clutter the example with boilerplate code. Change-Id: I80d6f3bbf1b73229f4d0ae99dd2a65bc083e7099 Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
Diffstat (limited to 'src/controls/Slider.qml')
-rw-r--r--src/controls/Slider.qml6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/controls/Slider.qml b/src/controls/Slider.qml
index 78798da8..6f080bea 100644
--- a/src/controls/Slider.qml
+++ b/src/controls/Slider.qml
@@ -143,9 +143,6 @@ Control {
*/
property alias value: range.value
- /*! \internal */
- property bool containsMouse: mouseArea.containsMouse
-
/*!
\qmlproperty bool Slider::activeFocusOnPress
@@ -167,6 +164,9 @@ Control {
/*! \internal */
property string tickPosition: "Below" // "Above", "Below", "BothSides"
+ /*! \internal */
+ property bool __containsMouse: mouseArea.containsMouse
+
Accessible.role: Accessible.Slider
Accessible.name: value