summaryrefslogtreecommitdiffstats
path: root/experimental/qt5-intro-android/presentation/Slide.qml
diff options
context:
space:
mode:
authorEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>2013-05-30 16:52:15 +0200
committerEskil Abrahamsen-Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>2013-05-31 11:28:23 +0300
commite76ea713e98a3734f0e63961e855d748096990e3 (patch)
tree54ee522ab564d2f4d5b042c3610710cec83bc011 /experimental/qt5-intro-android/presentation/Slide.qml
parent792602c8aaf387556c0035fc894493a20699c7e8 (diff)
Several changes to Qt 5 Android app
Lots of minor stuff from collected feedback. Also added more generated files to avoid Creator overwriting them. Change-Id: I22e10ac19860d1e67f136d718557b2bc2bd04dff Reviewed-by: Eskil Abrahamsen-Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>
Diffstat (limited to 'experimental/qt5-intro-android/presentation/Slide.qml')
-rw-r--r--experimental/qt5-intro-android/presentation/Slide.qml5
1 files changed, 4 insertions, 1 deletions
diff --git a/experimental/qt5-intro-android/presentation/Slide.qml b/experimental/qt5-intro-android/presentation/Slide.qml
index 039c3a3..40b7b93 100644
--- a/experimental/qt5-intro-android/presentation/Slide.qml
+++ b/experimental/qt5-intro-android/presentation/Slide.qml
@@ -51,6 +51,9 @@ Item {
id: slide
property bool isSlide: true;
+ property bool shouldTimeout: true
+ property real timeout: 0
+ property bool showTapToAdvance: !shouldTimeout
property string title;
property variant content: []
@@ -128,7 +131,7 @@ Item {
NumberAnimation on length {
from: 0;
to: slide.writeInText.length;
- duration: slide.textAnimating ? slide.writeInText.length * 30 : 1;
+ duration: slide.textAnimating ? slide.writeInText.length * 10 : 1;
running: slide.visible && parent.visible && slide.writeInText.length > 0
}