Example #1
0
 def __init__(self, track_element,
              control_source, keyframe, property_name):
     UndoableAction.__init__(self)
     self.control_source = control_source
     self.keyframe = keyframe
     self.property_name = property_name
     self.track_element = track_element
Example #2
0
 def __init__(self, clip, track_element, properties_watcher):
     UndoableAction.__init__(self)
     self.track_element = track_element
     self.clip = clip
     self.asset = track_element.get_asset()
     self.track_element_props = []
     self.gnl_obj_props = []
     self._properties_watcher = properties_watcher
     self._props_changed = []
Example #3
0
 def __init__(self, clip, effect, properties_watcher):
     UndoableAction.__init__(self)
     self.clip = clip
     self.effect = effect
     self.asset = effect.get_asset()
     self.effect_props = []
     self.gnl_obj_props = []
     self._properties_watcher = properties_watcher
     self._props_changed = []
Example #4
0
 def __init__(self, clip, track_element, properties_watcher):
     UndoableAction.__init__(self)
     self.track_element = track_element
     self.clip = clip
     self.asset = track_element.get_asset()
     self.track_element_props = []
     self.gnl_obj_props = []
     self._properties_watcher = properties_watcher
     self._props_changed = []
Example #5
0
 def __init__(self, clip, effect, properties_watcher):
     UndoableAction.__init__(self)
     self.clip = clip
     self.effect = effect
     self.asset = effect.get_asset()
     self.effect_props = []
     self.gnl_obj_props = []
     self._properties_watcher = properties_watcher
     self._props_changed = []
Example #6
0
    def __init__(self, ges_layer, ges_clip, track_element):
        UndoableAction.__init__(self)
        self.ges_layer = ges_layer
        self.start = ges_clip.props.start
        self.duration = ges_clip.props.duration
        self.track_element = track_element

        self.properties = []
        for property_name in TRANSITION_PROPS:
            field_name = property_name.replace("-", "_")
            value = self.track_element.get_property(field_name)
            self.properties.append((property_name, value))
Example #7
0
    def __init__(self, ges_layer, ges_clip, track_element):
        UndoableAction.__init__(self)
        self.ges_layer = ges_layer
        self.start = ges_clip.props.start
        self.duration = ges_clip.props.duration
        self.track_element = track_element

        self.properties = []
        for property_name in TRANSITION_PROPS:
            field_name = property_name.replace("-", "_")
            value = self.track_element.get_property(field_name)
            self.properties.append((property_name, value))
Example #8
0
 def __init__(self, clip, track_element):
     UndoableAction.__init__(self)
     self.clip = clip
     self.track_element = track_element
     self.track_element_props = []
     for prop in self.track_element.list_children_properties():
         if not prop.flags & GObject.PARAM_WRITABLE or \
                 prop.name in PROPS_TO_IGNORE:
             continue
         prop_name = child_property_name(prop)
         res, value = self.track_element.get_child_property(prop_name)
         assert res
         self.track_element_props.append((prop_name, value))
Example #9
0
 def __init__(self, clip, track_element):
     UndoableAction.__init__(self)
     self.clip = clip
     self.track_element = track_element
     self.track_element_props = []
     for prop in self.track_element.list_children_properties():
         if not prop.flags & GObject.ParamFlags.WRITABLE or \
                 prop.name in PROPS_TO_IGNORE:
             continue
         prop_name = child_property_name(prop)
         res, value = self.track_element.get_child_property(prop_name)
         assert res
         self.track_element_props.append((prop_name, value))
Example #10
0
 def __init__(self, n):
     UndoableAction.__init__(self)
     self.n = n
Example #11
0
 def __init__(self, effect_action, active):
     UndoableAction.__init__(self)
     self.effect_action = effect_action
     self.active = not active
Example #12
0
 def __init__(self, track_element, keyframe):
     UndoableAction.__init__(self)
     self.track_element = track_element
     self.keyframe = keyframe
Example #13
0
 def __init__(self, track_element, property_name, old_value, new_value):
     UndoableAction.__init__(self)
     self.track_element = track_element
     self.property_name = property_name
     self.old_value = old_value
     self.new_value = new_value
Example #14
0
 def __init__(self, medialibrary, uri, source):
     UndoableAction.__init__(self)
     self.medialibrary = medialibrary
     self.uri = uri
     self.source = source
Example #15
0
 def __init__(self, control_source, old_snapshot, new_snapshot):
     UndoableAction.__init__(self)
     self.control_source = control_source
     self.old_snapshot = old_snapshot
     self.new_snapshot = new_snapshot
Example #16
0
 def __init__(self, effect, property_name, old_value, new_value):
     UndoableAction.__init__(self)
     self.effect = effect
     self.property_name = property_name
     self.old_value = old_value
     self.new_value = new_value
Example #17
0
 def __init__(self, project, uri):
     UndoableAction.__init__(self)
     self.project = project
     self.uri = uri
     self.asset = None
     self.project.connect("asset-added", self._asset_added_cb)
Example #18
0
 def __init__(self, track_element, keyframe):
     UndoableAction.__init__(self)
     self.track_element = track_element
     self.keyframe = keyframe
Example #19
0
 def __init__(self, n):
     UndoableAction.__init__(self)
     self.n = n
Example #20
0
 def __init__(self):
     UndoableAction.__init__(self)
Example #21
0
 def __init__(self, project, asset):
     UndoableAction.__init__(self)
     self.project = project
     self.asset = asset
Example #22
0
 def __init__(self, asset, project, proxy_manager):
     UndoableAction.__init__(self)
     self.asset = asset
     self.project = project
     self.proxy_manager = proxy_manager
Example #23
0
 def __init__(self, layer, clip):
     UndoableAction.__init__(self)
     self.layer = layer
     self.clip = clip
Example #24
0
 def __init__(self, track_element, binding):
     UndoableAction.__init__(self)
     self.track_element = track_element
     self.control_source = binding.props.control_source
     self.property_name = binding.props.name
     self.binding_type = "direct-absolute" if binding.props.absolute else "direct"
Example #25
0
 def __init__(self, clip, property_name, old_value, new_value):
     UndoableAction.__init__(self)
     self.clip = clip
     self.property_name = property_name
     self.old_value = old_value
     self.new_value = new_value
Example #26
0
 def __init__(self, control_source, keyframe, action_info):
     UndoableAction.__init__(self)
     self.control_source = control_source
     self.keyframe = keyframe
     self.action_info = action_info
Example #27
0
 def __init__(self, track_element, control_source, keyframe, property_name):
     UndoableAction.__init__(self)
     self.control_source = control_source
     self.keyframe = keyframe
     self.property_name = property_name
     self.track_element = track_element
Example #28
0
 def __init__(self, ges_group, ges_timeline_element):
     UndoableAction.__init__(self)
     self.ges_group = ges_group
     self.ges_timeline_element = ges_timeline_element
Example #29
0
 def __init__(self, track_element, keyframe, old_snapshot, new_snapshot):
     UndoableAction.__init__(self)
     self.track_element = track_element
     self.keyframe = keyframe
     self.old_snapshot = old_snapshot
     self.new_snapshot = new_snapshot
Example #30
0
 def __init__(self, clip, property_name, old_value, new_value):
     UndoableAction.__init__(self)
     self.clip = clip
     self.property_name = property_name
     self.old_value = old_value
     self.new_value = new_value
Example #31
0
 def __init__(self, effect_action, active):
     UndoableAction.__init__(self)
     self.effect_action = effect_action
     self.active = not active
Example #32
0
 def __init__(self, layer, clip):
     UndoableAction.__init__(self)
     self.layer = layer
     self.clip = clip
Example #33
0
 def __init__(self, project, asset):
     UndoableAction.__init__(self)
     self.project = project
     self.asset = asset
Example #34
0
 def __init__(self, track_element, keyframe, old_snapshot, new_snapshot):
     UndoableAction.__init__(self)
     self.track_element = track_element
     self.keyframe = keyframe
     self.old_snapshot = old_snapshot
     self.new_snapshot = new_snapshot
Example #35
0
 def __init__(self, ges_timeline, ges_layer):
     UndoableAction.__init__(self)
     self.ges_timeline = ges_timeline
     self.ges_layer = ges_layer
Example #36
0
 def __init__(self):
     UndoableAction.__init__(self)
Example #37
0
 def __init__(self, control_source, keyframe, action_info):
     UndoableAction.__init__(self)
     self.control_source = control_source
     self.keyframe = keyframe
     self.action_info = action_info
Example #38
0
 def __init__(self, track_element, binding):
     UndoableAction.__init__(self)
     self.track_element = track_element
     self.control_source = binding.props.control_source
     self.property_name = binding.props.name
     self.binding_type = "direct-absolute" if binding.props.absolute else "direct"
Example #39
0
 def __init__(self, asset, project, proxy_manager):
     UndoableAction.__init__(self)
     self.asset = asset
     self.project = project
     self.proxy_manager = proxy_manager
Example #40
0
 def __init__(self, ges_layer, ges_clip, track_element):
     UndoableAction.__init__(self)
     self.ges_layer = ges_layer
     self.start = ges_clip.props.start
     self.duration = ges_clip.props.duration
     self.track_element = track_element
Example #41
0
 def __init__(self, ges_layer, old_priority, priority):
     UndoableAction.__init__(self)
     self.ges_layer = ges_layer
     self.old_priority = old_priority
     self.priority = priority
Example #42
0
 def __init__(self, track_element, property_name, old_value, new_value):
     UndoableAction.__init__(self)
     self.track_element = track_element
     self.property_name = property_name
     self.old_value = old_value
     self.new_value = new_value
Example #43
0
 def __init__(self, project, uri):
     UndoableAction.__init__(self)
     self.project = project
     self.uri = uri
     self.asset = None
     self.project.connect("asset-added", self._asset_added_cb)
Example #44
0
 def __init__(self, ges_layer, old_priority, priority):
     UndoableAction.__init__(self)
     self.ges_layer = ges_layer
     self.old_priority = old_priority
     self.priority = priority
Example #45
0
 def __init__(self, ges_layer, ges_clip, track_element):
     UndoableAction.__init__(self)
     self.ges_layer = ges_layer
     self.start = ges_clip.props.start
     self.duration = ges_clip.props.duration
     self.track_element = track_element
Example #46
0
 def __init__(self, control_source, old_snapshot, new_snapshot):
     UndoableAction.__init__(self)
     self.control_source = control_source
     self.old_snapshot = old_snapshot
     self.new_snapshot = new_snapshot
Example #47
0
 def __init__(self, ges_timeline, ges_layer):
     UndoableAction.__init__(self)
     self.ges_timeline = ges_timeline
     self.ges_layer = ges_layer
Example #48
0
 def __init__(self, ges_group, ges_timeline_element):
     UndoableAction.__init__(self)
     self.ges_group = ges_group
     self.ges_timeline_element = ges_timeline_element
Example #49
0
 def __init__(self, effect, property_name, old_value, new_value):
     UndoableAction.__init__(self)
     self.effect = effect
     self.property_name = property_name
     self.old_value = old_value
     self.new_value = new_value