# current_item = self.listWidget.currentItem()
# current_widget = self.listWidget.itemWidget(current_item)
# current_text = current_widget.text()
findItems = self.listWidget.findItems(find_text, Qt.MatchStartsWith)
# Qt.MatchStartsWith 头部匹配
# Qt.MatchContains 包含匹配
# Qt.MatchEndsWith 尾部匹配
if findItems != []:
item = findItems[0]
row = self.listWidget.row(item)
self.listWidget.takeItem(row)