From cd4f31ad7ff7b39ef3c2c83cf9f557ed85175c0b Mon Sep 17 00:00:00 2001 From: Irony <892768447@qq.com> Date: Sat, 24 Nov 2018 17:39:55 +0800 Subject: [PATCH] update readme --- 动画/README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/动画/README.md b/动画/README.md index 873ff6d..0c75f5a 100644 --- a/动画/README.md +++ b/动画/README.md @@ -131,4 +131,11 @@ def findClose(points): 1. 主要代码参考http://qt.shoutwiki.com/wiki/Extending_QStackedWidget_for_sliding_page_animations_in_Qt 1. 增加了自动切换函数 +函数调用: + +1. `slideInNext` 下一页 +1. `slideInPrev` 上一页 +1. `setCurrentIndex` 切换到指定页 +1. `autoStart(msec)` 轮播模式, 默认是3000毫秒 + ![截图](ScreenShot/图片轮播动画.gif) \ No newline at end of file