[PyQt] Re: Qt or Python?
tanghus at gmail.com
Fri Oct 2 12:35:28 BST 2009
On 2/10-2009 13:31 Thomas Olsen <tanghus at gmail.com> wrote:
> In a Plasmoid I'm developing I receive a QByteArray which is a
> representation for a float value. I will have to do some calculation with
> this value and then write the result to a QLabel.
> Which is most effective:
> 1) Convert it to a QFloat, do the math, convert result to a QString and
> write it to the label.
> 2) Convert it to a python float, do the math and write result to the
> 3) Some other way I haven't thought of :-)
Just realized that there is no such thing as a QFloat. Hmm, it's been a while
since I've played with Qt.
Best Regards / Med venlig hilsen
More information about the PyQt