code: def __createInspectorActionGroup(self, parent):
          
          actionGroup = QtWidgets.QActionGroup(parent)
          actionGroup.setExclusive(True)
  
          sortedItems = sorted(self.argosApplication.inspectorRegistry.items,
                               key=lambda item: item.identifier)
          shortCutNr = 1
          for item in sortedItems:
              logger.debug("item: {}".format(item.identifier))
              setAndDrawFn = partial(self.setAndDrawInspectorById, item.identifier)
              action = QtWidgets.QAction(item.name, self, triggered=setAndDrawFn, checkable=True)
              action.setData(item.identifier)
              if shortCutNr <= 9 and "debug" not in item.identifier: # TODO: make configurable by the user
                  action.setShortcut(QtGui.QKeySequence("Ctrl+{}".format(shortCutNr)))
                  shortCutNr += 1
  
              actionGroup.addAction(action)
  
          return actionGroup
docs: Creates an action group with 'set inspector' actions for all installed inspector.