code: def updateFromInspectorRegItem(self, inspectorRegItem):
          
          library, name = inspectorRegItem.splitName()
          label = "{} ({})".format(name, library) if library else name
          #self.label.setText(label)
          self.menuButton.setText(label)
docs: Updates the label from the full name of the InspectorRegItem