summaryrefslogtreecommitdiffstats
path: root/examples/quick/controls
diff options
context:
space:
mode:
Diffstat (limited to 'examples/quick/controls')
-rw-r--r--examples/quick/controls/gallery/content/Controls.qml13
-rw-r--r--examples/quick/controls/gallery/main.qml2
2 files changed, 13 insertions, 2 deletions
diff --git a/examples/quick/controls/gallery/content/Controls.qml b/examples/quick/controls/gallery/content/Controls.qml
index 19251fea6..946dd374b 100644
--- a/examples/quick/controls/gallery/content/Controls.qml
+++ b/examples/quick/controls/gallery/content/Controls.qml
@@ -43,7 +43,7 @@
import QtQuick 2.1
-import QtQuick.Controls 1.0
+import QtQuick.Controls 1.1
import QtQuick.Controls.Styles 1.0
Item {
@@ -119,6 +119,17 @@ Item {
tickmarksEnabled: tickmarkCheck.checked
stepSize: tickmarksEnabled ? 0.1 : 0
}
+ MouseArea {
+ id: busyCheck
+ width: parent.width
+ height: 40
+ hoverEnabled:true
+ BusyIndicator {
+ running: busyCheck.containsMouse
+ anchors.horizontalCenter: parent.horizontalCenter
+ }
+ }
+
}
Column {
id: rightcol
diff --git a/examples/quick/controls/gallery/main.qml b/examples/quick/controls/gallery/main.qml
index 32e04efd6..4e5bb3787 100644
--- a/examples/quick/controls/gallery/main.qml
+++ b/examples/quick/controls/gallery/main.qml
@@ -43,7 +43,7 @@
import QtQuick 2.2
-import QtQuick.Controls 1.0
+import QtQuick.Controls 1.1
import QtQuick.Layouts 1.0
import QtQuick.Dialogs 1.0
import "content"