Thanks, i did it your way , except, last two lines (it didn't work for me :S):
Qt Code:
....... for(int i=0;i<p.size();i++){ x.append(p.at(i).x()); y.append(p.at(i).y()); }To copy to clipboard, switch view to plain text mode
..but now this looks primitive and i think it can be done a lot shorter and faster..




Reply With Quote

Bookmarks