Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我使用 Qwebkit 加载繁重的 html 页面,但意味着虽然我没有向用户显示空白页面,但我如何在 QT 中加载 html 页面在后台,同时在同一个 QwebKit 小部件中显示另一个 HTML 页面?
您总是可以回退到使用两个小部件,可能由 a 管理QStackedWidget,您只有在加载完成后使用QWebPage::loadFinished( bool )信号翻转它们。
QStackedWidget
QWebPage::loadFinished( bool )