官术网_书友最值得收藏!

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.

主站蜘蛛池模板: 郑州市| 韩城市| 德昌县| 周宁县| 滁州市| 浑源县| 山阳县| 钟祥市| 鹤壁市| 松阳县| 西和县| 慈利县| 扬中市| 屯门区| 德保县| 滨海县| 巧家县| 安图县| 安顺市| 永新县| 辽源市| 嘉善县| 永登县| 浦江县| 平果县| 东乡族自治县| 巩义市| 濮阳县| 垫江县| 萍乡市| 齐河县| 余庆县| 凤山县| 蓬溪县| 出国| 桐庐县| 合江县| 开封市| 桂林市| 金沙县| 长寿区|