[PyQt] a:visited color css not working in QWebView ?

Han Jiang oglops at gmail.com
Sun Jul 2 00:20:20 BST 2017


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.

On Sat, Jul 1, 2017 at 2:28 AM, Florian Bruhin <me at the-compiler.org> wrote:

> On Fri, Jun 30, 2017 at 03:09:56PM -0700, Han Jiang wrote:
> > Hi I tried this in pyqt 4.10.1,qt 4.8.5, qtwebkit 534.34, on centos 7,
> all
> > the other css work but not a:visited.
> >
> > https://gist.github.com/oglops/d24a6217f2c763657a8e5ef83df6f503
>
> Does it work when you implement a QWebHistoryInterface?
> http://doc.qt.io/qt-4.8/qwebhistoryinterface.html
>
> FWIW this works out of the box with Qt5 and an updated QtWebKit or
> QtWebEngine.
>
> 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/
>
> _______________________________________________
> PyQt mailing list    PyQt at riverbankcomputing.com
> https://www.riverbankcomputing.com/mailman/listinfo/pyqt
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20170701/68040e92/attachment.html>


More information about the PyQt mailing list