docstr: Set whether this item is user-editable.
docstr_tok: ["Set","whether","this","item","is","user-editable","."]
code: def setEditable(self, editable):
      """
      Set whether this item is user-editable.
      """
      if editable:
          self.setFlags(
              self.flags() | QtCore.Qt.ItemFlag.ItemIsEditable
          )
      else:
          self.setFlags(
              self.flags() & ~QtCore.Qt.ItemFlag.ItemIsEditable
          )
  
imports: import numpy
  from ..Qt import QtCore, QtGui, QtWidgets
label_desc: Use image node_id 2 for calling the TableWidgetItem obj's underlying member method code with example usage: obj.setEditable(editable) without return types