So verwenden Sie self.list.setCurrentrow () in PYQT5
def changeitem(self):
cur = self.listWidget.currentRow()
self.listWidget.setCurrentRow(cur+1)
Grumpy Goose
def changeitem(self):
cur = self.listWidget.currentRow()
self.listWidget.setCurrentRow(cur+1)