def _on_transform_positions_activate(self, *args): """Change positions by linear two-point correction.""" page = self.get_current_page() if page.edit_mode == aeidon.modes.TIME: dialog = gaupol.TimeTransformDialog(self.window, self) if page.edit_mode == aeidon.modes.FRAME: dialog = gaupol.FrameTransformDialog(self.window, self) gaupol.util.flash_dialog(dialog)
def setup_method(self, method): self.application = self.new_application() self.dialog = gaupol.FrameTransformDialog(self.application.window, self.application) self.dialog.show()
def setup_method(self, method): _TestPositionTransformDialog.setup_method(self, method) self.dialog = gaupol.FrameTransformDialog(self.application.window, self.application) self.dialog.show()