from PyQt4 to PyQt5