Esempio n. 1
0
 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)
Esempio n. 2
0
 def setup_method(self, method):
     self.application = self.new_application()
     self.dialog = gaupol.FrameTransformDialog(self.application.window,
                                               self.application)
     self.dialog.show()
Esempio n. 3
0
    def setup_method(self, method):
        _TestPositionTransformDialog.setup_method(self, method)
        self.dialog = gaupol.FrameTransformDialog(self.application.window,
                                                  self.application)

        self.dialog.show()