Perhaps this is useful to you?
I don't know much about c++ and qt, but perhaps it works similarly with qdialog (which I just saw being used on the sourceforge page, no idea about qgraphicsview). If thats the case, perhaps you can drop the rotation part.