def METHOD_NAME(self, sHandle, itemList):
    """Load content from a given list of items.
    """
    self._data = {}
    self._data["sHandle"] = sHandle
    self._data["origItems"] = itemList
    self.listBox.clear()
    for tHandle in itemList:
        nwItem = SHARED.project.tree[tHandle]
        if nwItem is None or not nwItem.isFileType():
            continue
        itemIcon = SHARED.theme.getItemIcon(
            nwItem.itemType, nwItem.itemClass, nwItem.itemLayout, nwItem.mainHeading
        )
        newItem = QListWidgetItem()
        newItem.setIcon(itemIcon)
        newItem.setText(nwItem.itemName)
        newItem.setData(self.D_HANDLE, tHandle)
        newItem.setCheckState(Qt.Checked)
        self.listBox.addItem(newItem)
    return