code: def setCurrentFont(self, font):
          
          self.blockSignals(True)
          self.editor().setCurrentFont(font)
          self.blockSignals(False)
          self.refreshUi()
docs: Sets the current font for the editor to the inputed font.
          
          :param      font | <QFont>