#40 Port to pyqt5