Port from PyQt4 to PySide