PyQt snippet does not use tabs