O'Reilly logo

Game Programming using Qt 5 Beginner's Guide - Second Edition by Lorenz Haas, Witold Wysota, Pavel Strakhov

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Have a go hero – Adding an animation of the item's position

You can make the calculator's transition even more appealing if you make the text field fly away off screen while fading out. Just use the form editor to change the text field's position in the single_argument state, and then attach another PropertyAnimation to the Transition object. You can play with different easing types to see which looks better for this purpose.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required