StupidBeauty
Read times:488Posted at:Sat Apr 27 04:01:27 2013
- no title specified

Wt3.2.3文档翻译:Wt::WApplication类参考,Wt::WApplication Class Reference

成员函数文档

void Wt::WApplication::refresh

(

)

[virtual]

刷新整个应用

这个方法使得应用可以刷新它的数据,包括消息资源集里的字符串。 其原理是向整个部件 树中传播 WWidget::refresh()

如果当前会话允许捕捉用户点击“刷新”按钮(或“重新载入”按钮)的事件的话,则在那个事件发生时也会调用此方法。

只有在这种情况下才能捕捉到刷新按钮的点击事件:Wt被配置为不会在刷新时启动一个新的会话。如果使用 了URL 重写功能来跟踪会话的话, 则会导致URL 末尾附加上一个丑陋的会话编号(ID)。参考 10.1 会话 管理 (wt_config.xml) 以了解如何配置与刷新按钮相关的行为("<reload-is-new-session>")。

参考

WWidget::refresh()

P民报

风景

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