On Saturday, December 28, 2024 at 7:31:22 PM UTC-5 Thomas Passin wrote:

I suppose you already found this, but in case you didn't, you can set up 
the QWebEngineView for the pdf viewer like this:

        settings = qwev.settings() # qwev = QWebEngineView instance
        settings.setAttribute(settings.WebAttribute.PluginsEnabled, True)
        settings.setAttribute(settings.WebAttribute.PdfViewerEnabled, True)


Turns out that when plugins are enabled, then the PdfViewer plugin gets 
enabled by default so the last line isn't needed (verified by testing). 

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/leo-editor/e3f0a795-488c-4d0b-9460-48c6882dcce0n%40googlegroups.com.

Reply via email to