Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QtWebEngine
  4. Two more things I can’t find in QWebEngine that are in QWebKit
QtWS25 Last Chance

Two more things I can’t find in QWebEngine that are in QWebKit

Scheduled Pinned Locked Moved QtWebEngine
3 Posts 3 Posters 2.1k 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.
  • D Offline
    D Offline
    dcortesi
    wrote on 29 Dec 2014, 21:16 last edited by
    #1

    QWebPage offers the method setContentEditable(bool). I cannot find anything like that in QWebEnginePage or QWebEngineSettings. Are all pages editable (or not editable) in WebEngine?

    QWebPage offers the method setLinkDelegationPolicy(policy), and when the policy is set to Delegate, it emits the signal linkClicked(URL). Again, I can't find anything similar in QWebEnginePage. Is it not possible for the app to examine clicked URLs in QWebEngine?

    FYI, see this thread (http://qt-project.org/forums/viewthread/51488/) for two useful settings attributes that appear not to be supported, and see this one (http://qt-project.org/forums/viewthread/51489/) for the feature of testing the item under a right-click.

    1 Reply Last reply
    0
    • C Offline
      C Offline
      cdietz
      wrote on 9 Feb 2015, 09:45 last edited by
      #2

      Regarding setContentEditable(), read here: http://qt-project.org/wiki/QtWebEnginePortingFromQtWebKit

      "In the latest HTML standard, any document element can be made editable through the contentEditable attribute. So runJavaScript is all that is needed."
      @
      page->runJavascript("document.documentElement.contentEditable = true")
      @

      1 Reply Last reply
      0
      • M Offline
        M Offline
        maximus
        wrote on 12 Mar 2015, 20:59 last edited by
        #3

        I'm looking for the link delegate policy also. I had some link that open in the native browser using QWebView...


        Free Indoor Cycling Software - https://maximumtrainer.com

        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