code: def set_widgets(self):
          
          if self.parent.aggregation_layer:
              aggr = self.parent.aggregation_layer.name()
          else:
              aggr = self.tr('no aggregation')
  
          html = self.tr('Please ensure the following information '
                         'is correct and press Run.')
  
          # TODO: update this to use InaSAFE message API rather...
          html += '<br/><table cellspacing="4">'
          html += ('<tr>'
                   '  <td><b>%s</b></td><td></td><td>%s</td>'
                   '</tr><tr>'
                   '  <td><b>%s</b></td><td></td><td>%s</td>'
                   '</tr><tr>'
                   '  <td><b>%s</b></td><td></td><td>%s</td>'
                   '</tr><tr>'
                   '  <td colspan="3"></td>'
                   '</tr>' % (
                       self.tr('hazard layer').capitalize().replace(
                           ' ', '&nbsp;'),
                       self.parent.hazard_layer.name(),
                       self.tr('exposure layer').capitalize().replace(
                           ' ', '&nbsp;'),
                       self.parent.exposure_layer.name(),
                       self.tr('aggregation layer').capitalize().replace(
                           ' ', '&nbsp;'), aggr))
  
          self.lblSummary.setText(html)
docs: Set widgets on the Summary tab.