Qt.py icon indicating copy to clipboard operation
Qt.py copied to clipboard

QtWebKitWidgets

Open frueter opened this issue 7 years ago • 7 comments

Hi, I am super confused about the former QWebPage and QWebView widgets and how to access them with PySide2. Afaik PySide2 uses QtWebKitWidgets which provides the equivalent functionalities but this is not included in Qt.py and also seems to be listed as a generally missing minding in PySide2. Should it be included in Qt.py or is there a reason it is not?

Cheers, frank

frueter avatar Feb 22 '18 04:02 frueter

Thanks @frueter, could you be referring to QtWebEngineWidgets?

mottosso avatar Feb 22 '18 06:02 mottosso

Oops, yes, that's the one. See, I told you I'm confused :-D

frueter avatar Feb 22 '18 09:02 frueter

Ok, no problem. :) I don't use these myself, so I can't say for sure whether they are compatible across each binding. But happy to see a PR for it, that way the automatic tests will kick in to see whether they work the same across all bindings. If tests pass, then I see no reason not to include it.

mottosso avatar Feb 22 '18 09:02 mottosso

Lovely, thank you very much!

frueter avatar Feb 22 '18 20:02 frueter

Ran into this at work this week. I see a PR here: https://github.com/mottosso/Qt.py/pull/273 We're doing a similar thing at work, and it's what the qtpy project has included as well.

dgovil avatar Mar 08 '18 16:03 dgovil

I may have been properly misinformed on this one, but hasn't QtWebEngine been broken for some time in PySide2?

EDIT: I can see that QtWebEngine core was very recently added to PySide2 based on Qt 5.11: http://code.qt.io/cgit/pyside/pyside-setup.git/commit/?h=5.9&id=516682fc232db273511440d3c7107ab15f08b5ea

fredrikaverpil avatar May 03 '18 15:05 fredrikaverpil

3 out of 4 issues are closed so there is hope I guess: https://bugreports.qt.io/browse/PYSIDE-633

frueter avatar May 03 '18 21:05 frueter