Questions tagged [qwebengineview]

The QWebEngineView class provides a widget that is used to view and edit web documents

Documentation

322 questions
0
votes
0 answers

How can I obtain traffic statistics information for QWebEngine

On the developer tool page -> network, there are a number of requests and traffic statistics of current page. How can I do to record this information (such as log file)? traffic statistics I have reviewed all the documents of QWebEngine and cannot…
iitea
  • 1
0
votes
1 answer

WebEngineView input focus detection (omitting QVirtualKeyboard)

I embedded a basic QML based virtual keyboard in my QML WebEngineView app, due to many problems I had with using plugin-based virtual keyboards across various devices (like QVirtualKeyboard or other, free alternatives that rely on private Qt…
veodko
  • 43
  • 4
0
votes
0 answers

Getting cursor position in QWebEngineView display a PDF

I'm using PyQt5.QWebEngineView to display a pdf. Now I want to right click somewhere in the window and get the position of the cursor. When using the code below, I get the error: js: Uncaught TypeError: Cannot read property '0' of undefined from…
Mazze
  • 383
  • 3
  • 13
0
votes
0 answers

DropShadowEffect prevents display of QWebEngineView

I'm trying to display the content of a URL in a QWebEngineView element, which is inside a QFrame to which a DropShadowEffect is applied. However, this effect apparently causes the QWebEngineView element to be unable to refresh the content and…
Revsky01
  • 225
  • 2
  • 9
0
votes
0 answers

Infinite reload after clicking button with javascript in QWebEngineView

I used PyQt5.QWebEngineView to display a website. Using Javascript, I enter data into a search field on the website and then click the search button. On some websites it works fine. But when I try it on…
Mazze
  • 383
  • 3
  • 13
0
votes
0 answers

PyQt5 QWebEngineView [How to enable spell-checking and correct spelling suggestions]

I need help with a PyQt5 tool I created to view and work with a Zendesk form that has a rich text edit widget. My code is quite big, so the code below pretty much does the same as mine. I need help making the tool recognize the incorrectly spelt…
0
votes
1 answer

PySide 6: How to turn off QWebEngineView scrollbars?

I’m rendering a folium map on a pyside6 QWebEngineView, using setHtml(). I can set the size of the map frame in the folium map class at instantiation time. My problem is, even when the map is quite small, QWebEngineView presents the map in a larger…
Matt
  • 500
  • 1
  • 12
  • 21
0
votes
0 answers

Function to disable links in rendered PDF.js results in Uncaught TypeError: Cannot read property 'getElementsByTagName' of null

I use pdfjs-3 in combination with PyQt5.QWebEngineview to display pdfs. On the first page I would like to always disable the links. I have created an individual QWebEngineView with the following function (based on this post) to disable the links on…
Mazze
  • 383
  • 3
  • 13
0
votes
0 answers

Pdfs in QWebEngineView: How to select letters inside linked phrase

I use pyqt5 QWebEngineView to display pdfs. In the pdfs there are phrases that are linked. When I want to select individual words or letters, it doesn't work with the links. Is there a possibility in QWebEngineView to "turn off" the links without…
Mazze
  • 383
  • 3
  • 13
0
votes
1 answer

Qwebengine security pop not showing

I build one normal browser with pyqt5 and qwebengine. Everything working fine but the security pop is not showing... For example, if we go to this site: http://jexmon.co.in/login/register It is asking for a username and password pop-up in…
skinfo
  • 1
  • 1
0
votes
0 answers

QtWebEngineWidgets: how to refresh the page after runJavaScript

Currently, I want to set value for html using runJavaScript. The following code works: import sys from PyQt5.QtCore import * from PyQt5.QtGui import * from PyQt5.QtWidgets import * from PyQt5.QtWebEngineWidgets import * class Widget(QWidget): …
Qiang Zhang
  • 820
  • 8
  • 32
0
votes
1 answer

How to apply to QWebEngineView setStyleSheet()?

I am unable to apply setStyleSheet to QWebEngineView. The QWebEngineView contains a map from folium. I tried to do it like this but without success: self.webView = QWebEngineView() self.webView.setHtml(data.getvalue().decode()) …
Alejandro
  • 3
  • 3
0
votes
0 answers

QWebEngineView crashes without error output

The page loads, I enter something in the search and the application freezes dead. You can have time to click on some link, but then everything freezes and crashes. There is no error message. The most interesting thing is that it used to work, and…
0
votes
1 answer

PyQT5 QWebEngineView Twitch

I'm experimenting with QWebEngineView and Twitch streams. Currently it seems that it is unable to play the streams in the web engine. I'm getting the following error while trying to load a stream. js: Player stopping playback - error…
3V1LXD
  • 55
  • 1
  • 10
0
votes
0 answers

QApplication freeze sometimes, if i import QWebEngineView

from PyQt6.QtWidgets import QApplication from PyQt6.QtWebEngineWidgets import QWebEngineView import sys print("0") app = QApplication(sys.argv) print("1") if i remove that line from PyQt6.QtWebEngineWidgets import QWebEngineView there is no…
Omer ANAR
  • 1
  • 5