Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. qaxWidget( Microsoft web browser ), load html from string

qaxWidget( Microsoft web browser ), load html from string

Scheduled Pinned Locked Moved Unsolved General and Desktop
qaxwidgetcomweb browser
2 Posts 1 Posters 1.3k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N Offline
    N Offline
    Nouriemm
    wrote on last edited by
    #1

    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

    1 Reply Last reply
    0
    • N Offline
      N Offline
      Nouriemm
      wrote on last edited by
      #2

      Any Idea?

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved