Questions tagged [qwebengineview]

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

Documentation

322 questions
1
vote
2 answers

Is it possible to click inside a self made web app?

I created a PyQt5 web app that navigates to https://www.google.com/ with the following code : from PyQt5.QtCore import * from PyQt5.QtWidgets import * from PyQt5.QtGui import * from PyQt5.QtWebEngineWidgets import * import sys class…
Stroe Gabi
  • 47
  • 1
  • 7
1
vote
1 answer

How can I get the maximum and current value of the verticalScrollBar when displaying html with QWebEngineView

I'm attempting to create a UI in Maya (Python 2.7.11 and Maya Qt 5.6.1. and PySide2) where the OK button is grayed out until the user scrolls to the bottom. I can do this easily with QTextEdit by grabbing the value and maximum from the…
obfuscated
  • 53
  • 1
  • 7
1
vote
0 answers

PyQt5 QWebEngineView window won't show

I wrote a simple test program to load a URL in a QWebEngineView. The program works on Mac; the browser pops up and I can see the webpage. But on Windows 7, the browser window never appears after I call show(): import sys from PyQt5.QtWidgets import…
std_answ
  • 1,039
  • 1
  • 11
  • 17
1
vote
1 answer

PyQt5 Python Transparent QWebViewEngine

I am trying to get the QWebEngineView to be transparent. I saw things online, but that would make the entire background transparent (IE the window, not the "image"). I am use Qt Designer and Python 3. If you look at this you will see that the .png…
Scott Ulmer
  • 139
  • 11
1
vote
2 answers

QWebEngineView request body interception

A user using QWebEngineView in my application fills some form. This form uses post method to submit data to server. How can I get params from user's body request? I've found such thing as QWebEngineUrlRequestInterceptor, but it works only for urls.
1
vote
1 answer

how to highlight text in python web browser like find text

I'm developing a webview browser in Python and PyQt5 and I want to know How to highlight particular text in Python and PyQt5 web browser. I want to highlight particular text like web find text in other browsers. self.browser =…
Muhammad Azeem
  • 309
  • 1
  • 2
  • 9
1
vote
0 answers

Qt QML WebEngineView default tooltip is displayed incorrectly in the html content

So I have Qt 5.12 and my project is based on the QML language. I am using the Nano Browser example, but I modified it to my extent. Now, as I have been customizing it, I noticed that, for example, at www.google.com, the default tooltip when you…
user4136548
  • 117
  • 12
1
vote
1 answer

PyQt5/PySide2 AdBlock

I am trying to create a floating browser for youtube and other media. I found some old examples of adblock like for PyQt4/PySide but now they are deprecated and I can't translate them to PySide2 QWebEngineView. Any ideas of how insert the adblock…
1
vote
1 answer

Showing content of QCH-File with QWebEngineView

We are using Qt-Help in our projects, but I'm really not satisfied with the formatting of the Qt-Help inside the Qt-assistant. It looks really ugly compared to the formatting of the HTML-files inside my Firefox. One of the reasons might be, that the…
Aleph0
  • 5,816
  • 4
  • 29
  • 80
1
vote
1 answer

Get sslerrors signal in QWebEngineView

I'm developing an application where the user will have to log-in first. I'm using QWebEngineView to show the login page. But in one of the machines the page doesn't show up. I want to know if there are any SSL errors. How can I get the sslerrors…
TFA
  • 81
  • 10
1
vote
1 answer

QML WebEngineView and DOM elements update

I am trying to open Netflix url with updated input credentials using a javascript. The input appears to be updated in the HTML form but when I trigger sign In button, the input fields gets empty. Any input is most appreciated WebEngineView { id:…
Keen Learner
  • 195
  • 2
  • 15
1
vote
1 answer

In Qt5.11.1, can `QWebEngineView` call the ActiveX plugin?

In Qt5.11.1, can QWebEngineView call the ActiveX plugin? If so, how can I call it? I am working on a browser and want to call the ActiveX plugin with QWebEngineView. I searched online and found no information.
1
vote
1 answer

Post request by QWebEngineHttpRequest (PyQt5)

I have a question about making POST request in PyQt5. Unfortunately official documentation for this framework for Python doesen't exist. I have to translate docs from C++ to Python. I have a problem with handle it. To make POST request I have to…
sal-k
  • 91
  • 8
1
vote
1 answer

How can I enable WebGL in Qt 5.9 under Windows?

I want to use WebGL in QtWebEngineWidgets.QWebEngineView under Windows with my Qt 5.9.2. But when I try to load webglreport.com, in QWebEngineView it tells me, that "This browser supports WebGL 2, but it is disabled or unavailable." How can I fix…
Felix
  • 3,351
  • 6
  • 40
  • 68
1
vote
1 answer

QWebEngineUrlRequestInterceptor not working

Im migrating an application from PyQt4 to PyQt5. Im trying to override the request interceptor but this doesn't work for some strange reason, this is not getting picked up. I am using PyQt==5.10.0 class…
user3137329