Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Stopping a URL from re-freshing
James Sprinks last edited by
I have loaded a URL into a QFrame using QWebView as follows:
QUrl site("http://192.168.100.41"); ui->screen->load(site);
On the website, there is a text box I wish the user to be able to enter text into.
Unfortunately, the site refreshes every few seconds, and when this happens the focus on the text box is lost, so the user has to keep on re-clicking on the box to enter text.
Is there anyway to keep focus on the text box (i.e. keep the text cursor flashing), or stop the page refreshing every 3 seconds?
Pablo J. Rogina last edited by
James Sprinks last edited by James Sprinks
Yep the behaviour is the same in terms of refreshing - but focus is not lost on the text box.