RapidQt book example to PySide