'Updates transform numbers in the ctrl widget.'

def displayTransform(self, transform):

    tr = transform.saveState()
    self.transformGui.translateLabel.setText(('Translate:    (%f,    %f)' % (tr['pos'][0], tr['pos'][1])))
    self.transformGui.rotateLabel.setText(('Rotate:    %f    degrees' % tr['angle']))
    self.transformGui.scaleLabel.setText(('Scale:    (%f,    %f)' % (tr['scale'][0], tr['scale'][1])))
