Results 1 to 10 of 10

Thread: SequentialAnimation created from JS not animating

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #10
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,360
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: SequentialAnimation created from JS not animating

    Quote Originally Posted by hmasterwang View Post
    Written here
    Well... that doesn't answer my question as components are meant to do exactly that -- create objects dynamically.

    javascript Code:
    1. Component {
    2. id: animCompo
    3.  
    4. SequentialAnimation {
    5. // ...
    6. }
    7. }
    8.  
    9. //...
    10. var obj = animCompo.createObject(parent, {prop1: val1, prop2: val2, ...})
    To copy to clipboard, switch view to plain text mode 

    You can probably even use a Repeater in the component to get those property animations inside.
    Last edited by wysota; 29th July 2014 at 16:32.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


Similar Threads

  1. Animating QDockWidget
    By vajindarladdad in forum Qt Programming
    Replies: 2
    Last Post: 18th January 2021, 17:27
  2. Animating QGraphicsPixmapItem
    By 2lights in forum Qt Programming
    Replies: 3
    Last Post: 27th August 2013, 12:59
  3. Replies: 4
    Last Post: 8th April 2013, 04:19
  4. animating a QGraphicsObject
    By tommy22 in forum Qt Programming
    Replies: 4
    Last Post: 7th January 2013, 11:20
  5. Animating QSplashScreen
    By pssss in forum Qt Programming
    Replies: 3
    Last Post: 3rd September 2011, 11:39

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.