[PyQt] Fwd: qDebug() in pyQt5

Florian Bruhin me at the-compiler.org
Thu Sep 27 16:52:31 BST 2018


Hey,

On Thu, Sep 27, 2018 at 04:08:44PM +0100, J Barchan wrote:
> I am going to make a *guess* that what you are really interested in this
> case is the ability to get that output as some symbolic Qt::blue, rather
> than qDebug() in general?  If that is so, I was recommended and use
> 
> qenum_key
> 
> which was written by Florian Bruhin of this forum.  I cannot recall/find
> the best URL, but I found it at http://python.6.x6.nabble.com/
> How-to-get-Qt-enum-class-td5067001.html.  Until Florian posts a better
> link... :)

It's here:
https://github.com/qutebrowser/qutebrowser/blob/v1.4.2/qutebrowser/utils/debug.py#L96-L132

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 --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20180927/8feba172/attachment.sig>


More information about the PyQt mailing list