1. NodeBox 1
    1. Homepage
    2. NodeBox 3Node-based app for generative design and data visualization
    3. NodeBox OpenGLHardware-accelerated cross-platform graphics library
    4. NodeBox 1Generate 2D visuals using Python code (Mac OS X only)
  2. Gallery
  3. Documentation
  4. Forum
  5. Blog

Patch for Qt branch

Posted by Haoyu Bai on Sep 07, 2009

(Sorry for repost but I found I can't get the patch correctly showed.)
I tried to play with the latest NodeBox qt branch with PyQt 4.5 and Python 2.6. But NodeBox don't draw anything on the screen...

And finally I worked out a patch, see attachement

Apparently with a wrong inherent order the reapaint method in QWidget oeverrided the method in NodeBox classes... thus caused it won't draw.

Anyway thanks the great work on NodeBox, hope it can run better and better on non-Mac paltform. :)


 
Posted by Stefan on Sep 07, 2009

I only tested this with PyQt 4.4 and python 2.5 so maybe some things do break indeed. I'll try and look into it soon!



Posted by Anonymous on Sep 12, 2009

Where is that attachment? I can't see it.



Posted by Anonymous on Sep 12, 2009

I found it here: http://dev.nodebox.net/ticket/233
Thanks a lot. :-)