def __init__(self, viewer: Viewer, parent=None):
    super().__init__(parent=parent)
    self.viewer = viewer
    self.animation = Animation(self.viewer)
    self._init_ui()
    self._add_keybind_callbacks()
    self._add_callbacks()
def __init__(self, viewer: Viewer, parent=None):
    super().__init__(parent=parent)
    self.viewer = viewer
    self.animation = Animation(self.viewer)
    self._init_ui()
    self._add_keybind_callbacks()
    self._add_callbacks()