qaxWidget( Microsoft web browser ), load html from string
Unsolved
General and Desktop
-
Hello all,
I have a qaxwidget(Microsoft web browser) in my desktop application and I want to load a modified HTML script into it.
What I have found on the internet is that first, we must navigate to a blank page document like the code below:QVariantList params; params<<"about:blank"<<0<<0<<0<<0; ui->axWidget->dynamicCall("Navigate2(QVariant&, QVariant&, QVariant&, QVariant&, QVariant&)",params);
After that I want to load this html script into the web-browser
QString str="<html><body>Please enter your name:<br/><input type='text' name='userName'/><br/><a href='http://www.microsoft.com'>continue</a></body></html>";
i would be grateful if you could give me a clue how to do it.
cheers