svg editor code by Qt