Replaced dynamyc/static_cast with qgraphicsitem_cast
Merge branch 'develop' of https://github.com/Zo0MER/graph_editor into develop