The QWebEngineView class provides a widget that is used to view and edit web documents
Questions tagged [qwebengineview]
322 questions
0
votes
0 answers
QtWebEngine cross orgin frame css
Two different behavior when loading the HTML in qtwebengine page using setHtml and in the browser. Cross origin iframe overrides the css of the main div in web engine page.
0
votes
1 answer
QWebEngineView and background transparency
I'm using python 3.6.5 and PyQt 5.10.1.
I was trying with this simple code to have background transparency and after to add this feature to qutebrowser.
https://github.com/Rhylx/browser_bg_transparency
But it doesn't work. I have a webpage with a…

Rhylx
- 1
- 2
0
votes
1 answer
QWebEngineView let's stylesheet border disappear
Faced a strange issue with QWebEngineView: I have a qt ui file with a style sheet in it, which has a border defined. When loaded in python it looks as it should. The file holds a frame in it. As soon as I add a QWebEngineView to the frame, the…

dhirczy87
- 33
- 1
- 7
0
votes
0 answers
Raw Qt WebEngine renders a black screen yet works with QtQuick
I'm writing a simple QT application which uses a QWebEngineView to render a simple web page. If I use QtQuick then the page loads and renders properly. However, our current environment precludes me from using QtQuick so I tried using QWebEngineView…

ScaryAardvark
- 2,855
- 4
- 30
- 43
0
votes
1 answer
PyQt5: QWebEngineView Distortion on Resize
I have a python application that simply displays given html, with the following code:
import sys
from PyQt5.QtWidgets import QApplication, QWidget, QGridLayout
from PyQt5.QtWebEngineWidgets import QWebEngineView
class IFace(QWidget):
def…

Dragon
- 173
- 10
0
votes
0 answers
Request for use webcam from QWebEngineView
From html5 I can access my local webcam using "getUserMedia" method. Then I test simple example on chrome browser I see dialog with request for access to webcam. But when I load the page in QWebEngineView - the are no dialogs and no video. How to…
0
votes
1 answer
In Python, the pyqt QWebEngineView win32gui EnumWindows program crashes
In Python, I used these two:
pyqt QWebEngineView
win32gui EnumWindows
and I only called EnumWindows after the QWebEngineView was loaded and it crashed, But there are no errors when I run two grammars independently?
What could be causing it to…

yihuiyu
- 1
- 1
0
votes
1 answer
Valid authentication for a desktop app and its inner web-view
There is a desktop application connects to an API server which this API server has been defined as a IdentityServer4.Models.ApiResource in the authentication server.
Also, there is a web application (a IdentityServer4.Models.Client) that this…

Babak
- 3,716
- 6
- 39
- 56
0
votes
0 answers
QWebEngineView Settings
I have a code here:
QWebEngineSettings.globalSettings().setAttribute(QWebEngineSettings.PluginsEnabled, True)
self.setUrl(QUrl("https://google.com"))
"self" is QWebEngineView(new class) and nope it does not work. Can you help? I searched a…

Pixsa
- 571
- 6
- 16
0
votes
1 answer
Running script with fixed internal commands arguments to include Qwebengine pepflashplayer
I made a PyQt5 QWebengine app i wanna make portable.
I found out that flash weren't working in the app.
After a lot of reading i found out that having pepflashplayer64_*.dll & manifest.json in folder
C:\Windows\System32\Macromed\Flash\ is…

Storm Shadow
- 442
- 5
- 12
0
votes
1 answer
PyQt5 render with QWebEngineView
I want render the webpage to an image offscreen, however when I use following code, the output image is blank, I can't solve the problem
class PageShotter(QWidget):
def __init__(self,url,parent=None):
QWidget.__init__(self,parent)
…

AllenMarz
- 1
- 1
- 1
0
votes
1 answer
PyQt5 QWebview Refresh Issue
I use a QWebEngineView and set it's HTML. When I display it, the HTML is always smaller than the total area I gave the QWebEngineView. Right clicking the page and clicking "Reload" always fixes the problem, but I don't want end users to click…

Joubert Lucas
- 153
- 2
- 12
0
votes
2 answers
Cannot use fullScreen when watching video in QWebEngineView
Using PyQt5 QWebEngineView, I cannot use fullScreen when watching video:
import sys
from PyQt5 import QtWidgets, QtGui, QtCore
from PyQt5.QtWebEngineWidgets import *
app=QtWidgets.QApplication(sys.argv)
w=QWebEngineView()…

yi.liu
- 1
0
votes
1 answer
Qt How to get sender of sender signal or how to know loadStarted url of QWebEngineView?
QWebEngineView has signal void loadStarted(). It emits this signal when it received from QWebEnginePage. QWebEnginePage overrides this function from QWebEnginePagePrivate, where it is void loadStarted(const QUrl &provisionalUrl, bool isErrorPage =…

Sacha_D
- 68
- 1
- 10
0
votes
0 answers
Qt 5.6 how to use QWebEngineView in my custom widget plugin?
I'm trying to create a Qt custom widget plugin to wrap a QWebEngineView. But I found QWebEngineView seems does not work with Qt Designer.
The demo code is attached as below. After build and place this plugin in Qt plugins folder, then Qt Designer…

ricky
- 2,058
- 4
- 23
- 49