StupidBeauty
Read times:375Posted at:Tue Nov 1 17:56:30 2011
- no title specified

Wt3.1.11文档翻译:Wt::WStackedWidget类参考,Wt::WStackedWidget Class Reference

成员函数文档

void Wt::WStackedWidget::setTransitionAnimation

(

const WAnimation &

animation,

bool

autoReverse = false

)

指定一个在切换过程中使用的动画。

动画的作用是,在调用setCurrentIndex()时,隐藏前任当前部件,并且显示出下任当前部件。

animation 的初始值是WAnimation(),意味着没有动画。

如果autoReverse true 的话,那么当下个索引在当前索引之前(按数字计)的时候,会使用反向的动画。这只对WAnimation::SlideLeft、WAnimation::SlideRight、WAnimation::SlideUp和WAnimation::SlideDown 这几个效果有效。

参考:

setCurrentIndex()

Your opinions
Your name:Email:Website url:Opinion content:
- no title specified

HxLauncher: Launch Android applications by voice commands

 
Recent comments
2017年4月~2019年4月垃圾短信排行榜Posted at:Thu Sep 26 04:51:48 2024
Qt5.7文档翻译:QWebEngineCookieStore类,QWebEngineCookieStore ClassPosted at:Fri Aug 11 06:50:35 2023盲盒kill -9 18289 Grebe.20230517.211749.552.mp4