def METHOD_NAME(self):
    t = self._frame_index / self._framerate
    text = self._get_time_lbl_text(self._frame_index, t)
    self._time_lbl.setText(text)
    if not self._slider_dragged:
        self._slider.setValue(int(t * self.SLIDER_TIMEBASE))