title: Working PySide example of Qt diagram editor?
body: <p>When running the <a href="https://github.com/nicoddemus/PySide-Examples/tree/master/examples/graphicsview/diagramscene" rel="nofollow noreferrer">PySide Diagram Scene example</a> (circa 2010), I get the error below. Is there a more current example of a basic diagram editor available?</p>
  
  <pre><code>C:\Python34\python.exe C:/Users/dle/Documents/Programming/Python/diagramscene.py
  Traceback (most recent call last):
    File "C:/Users/dle/Documents/Programming/Python/diagramscene.py", line 11, in &lt;module&gt;
  import diagramscene_rc
    File "C:\Users\dle\Documents\Programming\Python\diagramscene_rc.py", line 404, in &lt;module&gt;
  qInitResources()
    File "C:\Users\dle\Documents\Programming\Python\diagramscene_rc.py", line 399, in qInitResources
  QtCore.qRegisterResourceData(0x01, qt_resource_struct, qt_resource_name, qt_resource_data)
  TypeError: 'qRegisterResourceData' called with wrong argument types:
    qRegisterResourceData(int, str, str, str)
  Supported signatures:
    qRegisterResourceData(int, unicode, unicode, unicode)
  </code></pre>