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. QWebView: problem with events
QtWS25 Last Chance

QWebView: problem with events

Scheduled Pinned Locked Moved Unsolved Qt WebKit
1 Posts 1 Posters 447 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
    DoGu
    wrote on last edited by
    #1

    I'm working with PyQT5 in a QGIS plugin environment. I created a QWebView in which I loaded a webpage using a QUrl (self.page_webView.load(url)). The web page is correctly loaded but all click events included (show/hide) in it do not work.

    As an example, if I click on the symbol plus/anchor and the corresponding description (red and blue ellipses) in the following image, the area in the corresponding (red/blue) rectangle should be hidden (or shown, if it is hidden).

    problem.png

    Moreover, these elements should be hidden when the web page is loaded while they are directly shown.

    It seems that javascript events are disabled. Probably there are some settings to enable them?
    Could you please help me to solve this problem?

    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