cara membuat enter pressed for qlineedit di pyqt5
self.field.returnPressed.connect(self.onClick)
Jenova
self.field.returnPressed.connect(self.onClick)