code: def get(self, layout, default=None):
          
  
          try:
              return self.__getitem__(layout)
          except KeyError as error:
              return default
docs: Returns given layout value.
  
          :param layout: Layout name.
          :type layout: unicode
          :param default: Default value if layout is not found.
          :type default: object
          :return: Action.
          :rtype: QAction