code: def save( self ):
          
          if ( not self.updateShortcut() ):
              return False
              
          for i in range(self.uiActionTREE.topLevelItemCount()):
              item = self.uiActionTREE.topLevelItem(i)
              action = item.action()
              action.setShortcut( QKeySequence(item.text(1)) )
          
          return True
docs: Saves the current settings for the actions in the list and exits the
          widget.