code: def updateUnitLabels(self, tscale, fscale):
          
          AbstractEditorWidget.updateScales(tscale, fscale)
          SmartDelegate.updateScales(tscale, fscale)
  
          # purges stored label references from deleted parent widgets
          AbstractEditorWidget.purgeDeletedWidgets()
              
          self.tscale = tscale
  
          # updates labels for components
          # add the list of all time unit labels out there to our update
          # list here
          time_inputs = self.timeInputs + AbstractEditorWidget.tunit_fields
  
          # now go through our list of labels and fields and scale/update
          for field in time_inputs:
              field.setScale(tscale)
  
          self.fscale = fscale
  
          # add the list of all frequency unit labels out there to our update
          # list here
          frequency_inputs = self.frequencyInputs + AbstractEditorWidget.funit_fields
  
          # now go through our list of labels and fields and scale/update
          for field in frequency_inputs:
              field.setScale(fscale)
docs: When the GUI unit scale changes, it is neccessary to update
          the unit labels on all fields throughout the GUI. This handles
          The main window, and also notifys other windows to update
  
          Only supports for conversion between two values :
              
              * seconds and miliseconds for time
              * Hz and kHz for frequency
  
          :param tscale: Time scale to update to either 's' or 'ms'
          :type tscale: str
          :param fscale: Frequency scale to update to either 'Hz' or 'kHz'
          :type fscale: str