QtScript Bindings for Animations & States Classes
As Eskil recently mentioned, the Animations & States classes are now part of qt/master. To celebrate, I've added some QtScript bindings for said classes to the QtScript generator project on gitorious; they can be found in the 4.6 branch.
Since the C++ classes have been designed with scriptability and declarative usage in mind, the bindings already seem to work pretty well. There's an example, AnimatedBox, showing basic usage of the APIs (gotta love that InOutElastic easing curve!).
While I'm here, I'd like to mention a nice little property that we added to QStateMachine: animationsEnabled. Set this property to false, and all animations for property changes will be disabled, i.e. all properties will be set immediately on state transitions. Useful for debugging (no animations that get in the way of the app logic), and when you get tired of all the bling.
Subscribe to our newsletter
Try Qt 6.4 Now!
Download the latest release here: www.qt.io/download.
Qt 6 is the productivity platform for the future, with next-gen 2D & 3D UX and limitless scalability.
Explore Qt World
Check our Qt demos and case studies in the virtual Qt World
Check out all our open positions here and follow us on Instagram to see what it's like to be #QtPeople.
Näytä tämä julkaisu Instagramissa.
Want to build something for tomorrow, join #QtPeople today! We have loads of cool jobs you don't want to miss! http://qt.io/careers #builtwithQt #software #developers #coding #framework #tool #tooling #C++ #QML #engineers #sales #tech #technology #UI #UX #CX #Qt #Qtdev #global #openpositions #careers #job
Henkilön Qt (@theqtcompany) jakama julkaisu