code: def selectNone( self ):
          
          currLayer = self._currentLayer
          for item in self.items():
              layer = item.layer()
              if ( layer == currLayer or not layer ):
                  item.setSelected(False)
docs: Deselects all the items in the scene.