Qt4 application to design electric diagrams