[PyQt] strange bug re graphics scene in PyQt 5.7

oliver oliver.schoenborn at gmail.com
Thu Sep 8 18:44:59 BST 2016


On Thu, Sep 8, 2016 at 1:40 PM, oliver <oliver.schoenborn at gmail.com> wrote:

> float pos_x = 33*25*, pos_y = -10;


sorry that line should read

float pos_x = -33 * 25, pos_y = -10 * (rand() / float(RAND_MAX
<http://www.cplusplus.com/RAND_MAX>));

(the randomness along x is not important)

Oliver
Open Source contributions: PyPubSub <http://pubsub.sf.net/>, nose2pytest
<https://github.com/schollii/nose2pytest>, Lua-iCxx
<http://lua-icxx.sf.net/>, iof <http://iof.sf.net/>
StackOverflow <http://stackoverflow.com/users/869951/schollii> contributions
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20160908/ff156891/attachment.html>


More information about the PyQt mailing list