why qt parted manual ??? you can do it easily by script....using parted(the commandline)
like this
parted -i resize "partitionID" "start offset" "end offset"
just my first 2 cents... not already download it...i will tomorow...when i had a good SLEEP...my new script is making me mad.....need to shut off pc before overdose of codes....LOL...
see u


