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