PySide porting the example of "Rapid GUI Programming with Python and Qt"