Replaced code with Qt diagram scene example which does some stuff I need
:)