use smooth transform in QtConsole