change pyqt4 to pyside, fix deviation delta usage