Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
in QWebEngineView, QWebEnginePage , how can I restore scroll positions?
I can save scroll position with QWebEnginePage::scrollPosition . How can I reload the positions when the program restarted. I am using QWebEngineView.
Pradeep Kumar last edited by
do u want to get the value saved , to read again when the program is launched once again.
in that case use QSettings.
No, I don't. I mean that I am searching a method to reload the position data back, for example, QWebEnginePage::setScrollPosition. But I didn't find any method like that. There is a bug report here. Is there a way to set scroll positions back?
tham last edited by
The code solved my problem.