def _nodeSetValuesFromDict(self, dct):
        """ Sets values from a dictionary in the current node.
            Non-recursive auxiliary function for setValuesFromDict
        """
        if 'data' in dct:
            qFont = QtGui.QFont()
            success = qFont.fromString(dct['data'])
            if not success:
                msg = "Unable to create QFont from string {!r}".format(dct['data'])
                logger.warn(msg)
                if DEBUGGING:
                    raise ValueError(msg)
            self.data = qFont
def _nodeSetValuesFromDict ( self , dct ) : if 'data' in dct : qFont = QtGui . QFont ( ) success = qFont . fromString ( dct [ 'data' ] ) if not success : msg = "Unable to create QFont from string {!r}" . format ( dct [ 'data' ] ) logger . warn ( msg ) if DEBUGGING : raise ValueError ( msg ) self . data = qFont
Sets values from a dictionary in the current node.
            Non-recursive auxiliary function for setValuesFromDict