summaryrefslogtreecommitdiffstats
path: root/src/private/AbstractCheckable.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/private/AbstractCheckable.qml
parent74afe5dcd7f5f0b0f94be5abced86e165371232d (diff)
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/private/AbstractCheckable.qml')
-rw-r--r--src/private/AbstractCheckable.qml15
1 files changed, 7 insertions, 8 deletions
diff --git a/src/private/AbstractCheckable.qml b/src/private/AbstractCheckable.qml
index ff65ab571..969dff0c7 100644
--- a/src/private/AbstractCheckable.qml
+++ b/src/private/AbstractCheckable.qml
@@ -79,14 +79,6 @@ Control {
property bool checked: false
/*!
- \qmlproperty bool AbstractCheckable::containsMouse
-
- This property is \c true if the control currently contains the
- mouse cursor.
- */
- readonly property alias containsMouse: mouseArea.containsMouse
-
- /*!
This property is \c true if the control takes the focus when it is
pressed; \l{QQuickItem::forceActiveFocus()}{forceActiveFocus()} will be
called on the control.
@@ -106,6 +98,13 @@ Control {
/*! \internal */
property var __cycleStatesHandler: cycleRadioButtonStates
+ /*! \internal
+
+ This property is \c true if the control currently contains the
+ mouse cursor.
+ */
+ readonly property alias __containsMouse: mouseArea.containsMouse
+
MouseArea {
id: mouseArea
focus: true