[PyQt] Fwd: qDebug() in pyQt5
jnbarchan at gmail.com
Thu Sep 27 16:08:44 BST 2018
---------- Forwarded message ----------
From: J Barchan <jnbarchan at gmail.com>
Date: 27 September 2018 at 16:08
Subject: Re: [PyQt] qDebug() in pyQt5
To: Christopher Probst <christop.probst at gmail.com>
On 27 September 2018 at 15:35, Christopher Probst <christop.probst at gmail.com
> What is the best way to mimic qDebug()'s behavior in pyqt?
> What is the python equivalent of this C++ code?
> QColor aColor = Qt::blue;
> qDebug() << aColor;
> PyQt mailing list PyQt at riverbankcomputing.com
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
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
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the PyQt