[PyQt] a:visited color css not working in QWebView ?
Han Jiang
oglops at gmail.com
Tue Jul 4 19:08:35 BST 2017
Thank you! It worked!
On Sun, Jul 2, 2017 at 1:38 AM, Florian Bruhin <me at the-compiler.org> wrote:
> On Sat, Jul 01, 2017 at 04:20:20PM -0700, Han Jiang wrote:
> > I saw that in the docs, but I don't know how to add it to my webview,
> tried
> > on google and did not find any example.
>
> Implement a QWebHistoryInterface subclass which implements
> addHistoryEntry and historyContains (e.g. by using a Python set), then
> call QWebHistoryInterface.setDefaultInterface(HistoryInterface())
>
> (You might need to keep a reference to it though, to prevent it from
> being garbage collected)
>
> Florian
>
> --
> https://www.qutebrowser.org | me at the-compiler.org (Mail/XMPP)
> GPG: 916E B0C8 FD55 A072 | https://the-compiler.org/pubkey.asc
> I love long mails! | https://email.is-not-s.ms/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20170704/782ed03a/attachment.html>
More information about the PyQt
mailing list