After trying your suggestion, I get the error:
Qt Code:
  1. .\test1.cpp(15) : error C2065: 'pathA' : undeclared identifier
To copy to clipboard, switch view to plain text mode 

I am wondering if there is even a way to accomplish this without getting all the data and drawing all the polygons again. Is this the best way to scale using the sliders?