Results 1 to 7 of 7

Thread: what the qwebview is currently loading, and its currently connected...

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Feb 2011
    Posts
    55
    Thanks
    2
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default what the qwebview is currently loading, and its currently connected...

    hi, i wish to know if it is possible to have some information from the webview after the load method is isuued, such as the item it currently loads, the server to which it is conected,...

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,368
    Thanks
    3
    Thanked 5,017 Times in 4,793 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: what the qwebview is currently loading, and its currently connected...

    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  3. #3
    Join Date
    Feb 2011
    Posts
    55
    Thanks
    2
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: what the qwebview is currently loading, and its currently connected...

    thanks, but still a trouble, which method shall i use in QWebPage::networkAccessManager()

  4. #4
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,368
    Thanks
    3
    Thanked 5,017 Times in 4,793 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: what the qwebview is currently loading, and its currently connected...

    You can either attach to the finished() signal or subclass QNAM and reimplement its createRequest() method depending whether you need the information after the request has finished or when it is starting.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  5. #5
    Join Date
    Feb 2011
    Posts
    55
    Thanks
    2
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: what the qwebview is currently loading, and its currently connected...

    the later one seems the right one for my purpose, but i cannot see the createRequest() method in QNAM class refference, and i even have no i idear of what i will add to that method since i have been looking around QNAM class refference all the day i have not found anything straightforward on what the webview is currently loading or where it is connected...

    More help, please

    the later one seems the right one for my purpose, but i cannot see the createRequest() method in QNAM class refference, and i even have no i idear of what i will add to that method since i have been looking around QNAM class refference all the day i have not found anything straightforward on what the webview is currently loading or where it is connected...

    More help, please

  6. #6
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,368
    Thanks
    3
    Thanked 5,017 Times in 4,793 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: what the qwebview is currently loading, and its currently connected...

    Quote Originally Posted by wambagilles View Post
    the later one seems the right one for my purpose, but i cannot see the createRequest() method in QNAM class refference,
    Apparently you're not looking hard enough.

    and i even have no i idear of what i will add to that method
    Implement some mechanism for notifying yourself a particular request has just been created.

    since i have been looking around QNAM class refference all the day i have not found anything straightforward on what the webview is currently loading or where it is connected...
    Do you understand what QNetworkAccessManager is and how QWebPage makes use of it?
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  7. #7
    Join Date
    Feb 2011
    Posts
    55
    Thanks
    2
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: what the qwebview is currently loading, and its currently connected...

    yes i do, i will look at it again a bit closely!

Similar Threads

  1. Replies: 8
    Last Post: 3rd September 2013, 09:51
  2. QWebView sometimes not loading external resources
    By complexgeek in forum Qt Programming
    Replies: 2
    Last Post: 6th June 2011, 02:37
  3. Qwebview is not loading url on device
    By vijaydandur in forum Qt for Embedded and Mobile
    Replies: 0
    Last Post: 6th March 2011, 18:21
  4. QWebView not loading pages !!
    By gontham in forum Newbie
    Replies: 0
    Last Post: 15th June 2010, 01:54
  5. QWebView not loading pages
    By magland in forum Qt Programming
    Replies: 0
    Last Post: 24th May 2008, 14:41

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.