code: def add_timestamps(self):
          
          transform, _ = self.transform().inverted()
  
          stamps = _make_timestamps(self.start_time, self.minimum, self.maximum,
                                    self.parent.value('timestamp_steps'))
  
          for stamp, xpos in zip(*stamps):
              text = self.scene.addSimpleText(stamp)
              text.setFlag(QGraphicsItem.ItemIgnoresTransformations)
  
              # set xpos and adjust for text width
              text_width = text.boundingRect().width() * transform.m11()
              text.setPos(xpos - text_width / 2, TIME_HEIGHT)
docs: Add timestamps at the bottom of the overview.