I don't really like passing the numbers in as QString, but I suppose doing the conversion C++-side might be better than doing it in Javascript?