QWebView: problem with events
Unsolved
Qt WebKit
-
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).
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?