code: def mouseDoubleClickEvent(self, event):
          
          if self.mode == BuildMode:
              if event.button() == QtCore.Qt.LeftButton:
                  index = self.indexAt(event.pos())
                  self.edit(index)
docs: Launches an editor for the component, if the mouse cursor is over an item