Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt WebKit
  4. How to subclass QWebView qml plugin?
Forum Updated to NodeBB v4.3 + New Features

How to subclass QWebView qml plugin?

Scheduled Pinned Locked Moved Qt WebKit
2 Posts 2 Posters 2.1k Views 1 Watching
  • 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.
  • H Offline
    H Offline
    herophuong
    wrote on last edited by
    #1

    I want to subclass the class behind the qml component WebView but I don't know what it is. Certainly it's not QWebView class because their properties are not the same. I want to use the WebView in a desktop app but need some modification like: disable right click, open link in the system default browser, etc. Could someone enlighten the way to do it for me?

    1 Reply Last reply
    0
    • P Offline
      P Offline
      Peppy
      wrote on last edited by
      #2

      @
      WebView: public QGraphicsWebView
      {
      //...
      };
      @

      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