There's moreā€¦

While the property animation works perfectly fine, sometimes it feels a little boring to look at a GUI element being animated at a constant speed. We can make the animation look more interesting by adding an easing curve to control the motion. There are many types of easing curve that you can use in Qt, and here are some of them:

As you can see from the preceding diagram, each easing curve produces a different ease-in and ease-out effect.

For the full list of easing curves available in Qt, please refer to the Qt documentation at http://doc.qt.io/qt-5/qeasingcurve.html#Type-enum.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset