girishgowda
13th July 2010, 11:42
Hi All,
I have a few doubts regarding QWebView and looking forward for some inputs on the same.
I am working on Qt for Symbian.
1. For editing into a QTextEdit in an application, the underlying FEP would be loaded. In my case the Symbian FEP would be loaded and used. But in case of editing into a text box of a web page (loaded in QWebView) - how is this handled?
2. I tried a simple application with the following code:
QWebView *view = new QWebView(0);
QUrl url;
url = QUrl::fromLocalFile("e:\\examples\\one.htm");
QString ss = url.path();
view->load(url);
view->setGeometry(50, 100, 400, 600);
view->show();
The htm files were provided locally and the HTML contents looked like this
One.html Goto Two -> where the "Goto two" was a link to two.htm
similarly in the two.htm I had the contents
Two.html Goto Three -> where the "Goto three" was a link to three.htm
Now the one.htm was loaded when I started my application. Then when I click on the link the two.htm was loaded.
But the screen was not refreshed
49024903
I would like to know if the QWebView would not refresh itself when a new page is loaded...
should we refresh the page....
Any examples and information on this is appreciated.
Thank You
I have a few doubts regarding QWebView and looking forward for some inputs on the same.
I am working on Qt for Symbian.
1. For editing into a QTextEdit in an application, the underlying FEP would be loaded. In my case the Symbian FEP would be loaded and used. But in case of editing into a text box of a web page (loaded in QWebView) - how is this handled?
2. I tried a simple application with the following code:
QWebView *view = new QWebView(0);
QUrl url;
url = QUrl::fromLocalFile("e:\\examples\\one.htm");
QString ss = url.path();
view->load(url);
view->setGeometry(50, 100, 400, 600);
view->show();
The htm files were provided locally and the HTML contents looked like this
One.html Goto Two -> where the "Goto two" was a link to two.htm
similarly in the two.htm I had the contents
Two.html Goto Three -> where the "Goto three" was a link to three.htm
Now the one.htm was loaded when I started my application. Then when I click on the link the two.htm was loaded.
But the screen was not refreshed
49024903
I would like to know if the QWebView would not refresh itself when a new page is loaded...
should we refresh the page....
Any examples and information on this is appreciated.
Thank You