Image scale tool, using Qt