Use magic @pyqtSlot(str) instead of connect