Hi, is it possible to run a PropertyAction within a SequentialAnimation on property alias items? For example, if you have 2 qml files. Button.qml and application.qml I took the example from the qml documents article [doc.qt.nokia.com] to describe my problem. Button.qml 1. import QtQuick 1.0 2. 3. Rectangle { 4. property alias text: textItem.text 5. 6. width: 100; height: 30 7. border.width: 1 8. radius: 5 9. smooth: true 10. 11. gradient: Gradient { 12. GradientStop { position: 0.0; color: "darkGray" } 13. GradientStop { position: 0.5; color: "black" } 14. GradientStop { position: 1.0; color: "darkGray" } 15. } 16. 17. Text { 18. id: textItem 19. anchors.centerIn: parent 20. font.pointSize: 20 21. color: "white" 22. } 23. 24. } The following qml file is loading Button and trying to change its property in a SequentialAnimation application.qml (modified) 1. import QtQuick 1.0 2. 3. Column { 4. spacing: 10 5. 6. Button { id: button1; text: "Apple" } 7. Button { text: "Orange" } 8. Button { text: "Pear" } 9. Button { text: "Grape" } 10. } 11. 12. SequentialAnimation{ 13. loops: Animation.Infinite 14. running: true 15. 16. PropertyAction { target: button1; property: "text"; value: "Orange"} 17. ... 18. PropertyAction { target: button1; property: "text"; value: "Apple"} 19. } Unfortunately this approach doesn’t work. Any Ideas how to solve that issue?
Mit freundlichen Grüßen Dietrich Gossen Continental Engineering Services Rechnungsanschrift/Billing Address/Besucheradresse/Visitor Address: Continental Engineering Services GmbH Osterhofener Straße 17, 93055 Regensburg, Germany Postfach 10 09 43, 93009 Regensburg, Germany Telefon/Phone: +49 941 790-5681 Telefax: +49 941 79099-6590 E-Mail: dietrich.gos...@continental-corporation.com http://www.conti-engineering.com _____________________________________________ Continental Engineering Services GmbH, Graf-Vollrath-Weg 6, D-60489 Frankfurt/Main Geschaeftsfuehrer/Managing Director: Bernd Neitzel, Dr. Stefan Stoelzl, Dr. Jochen Weisse Sitz der Gesellschaft/Registered Office: Frankfurt Registergericht/Registered Court: Amtsgericht Frankfurt HRB 76752 _____________________________________________ Proprietary and confidential. Distribution only by express authority of Continental AG or its subsidiaries.
_______________________________________________ Qt-qml mailing list Qt-qml@qt.nokia.com http://lists.qt.nokia.com/mailman/listinfo/qt-qml