code: def createItemFromLabel(self, label):
      item = QtWidgets.QListWidgetItem()
      item.setData(Qt.UserRole, label)
      return item
  
file_path: PaddleOCR/PPOCRLabel/libs/unique_label_qlist_widget.py
imports: from PyQt5.QtCore import Qt, QSize
  from PyQt5 import QtWidgets
label_desc: Use image node_id 3 for calling the UniqueLabelQListWidget obj's underlying member method code with example usage: obj.createItemFromLabel(label) and returns: item