Ejemplo n.º 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
Ejemplo n.º 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 = []
Ejemplo n.º 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 = []
Ejemplo n.º 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 = []
Ejemplo n.º 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 = []
Ejemplo n.º 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))
Ejemplo n.º 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))
Ejemplo n.º 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))
Ejemplo n.º 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))
Ejemplo n.º 10
0
 def __init__(self, n):
     UndoableAction.__init__(self)
     self.n = n
Ejemplo n.º 11
0
 def __init__(self, effect_action, active):
     UndoableAction.__init__(self)
     self.effect_action = effect_action
     self.active = not active
Ejemplo n.º 12
0
 def __init__(self, track_element, keyframe):
     UndoableAction.__init__(self)
     self.track_element = track_element
     self.keyframe = keyframe
Ejemplo n.º 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
Ejemplo n.º 14
0
 def __init__(self, medialibrary, uri, source):
     UndoableAction.__init__(self)
     self.medialibrary = medialibrary
     self.uri = uri
     self.source = source
Ejemplo n.º 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
Ejemplo n.º 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
Ejemplo n.º 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)
Ejemplo n.º 18
0
 def __init__(self, track_element, keyframe):
     UndoableAction.__init__(self)
     self.track_element = track_element
     self.keyframe = keyframe
Ejemplo n.º 19
0
 def __init__(self, n):
     UndoableAction.__init__(self)
     self.n = n
Ejemplo n.º 20
0
 def __init__(self):
     UndoableAction.__init__(self)
Ejemplo n.º 21
0
 def __init__(self, project, asset):
     UndoableAction.__init__(self)
     self.project = project
     self.asset = asset
Ejemplo n.º 22
0
 def __init__(self, asset, project, proxy_manager):
     UndoableAction.__init__(self)
     self.asset = asset
     self.project = project
     self.proxy_manager = proxy_manager
Ejemplo n.º 23
0
 def __init__(self, layer, clip):
     UndoableAction.__init__(self)
     self.layer = layer
     self.clip = clip
Ejemplo n.º 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"
Ejemplo n.º 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
Ejemplo n.º 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
Ejemplo n.º 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
Ejemplo n.º 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
Ejemplo n.º 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
Ejemplo n.º 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
Ejemplo n.º 31
0
 def __init__(self, effect_action, active):
     UndoableAction.__init__(self)
     self.effect_action = effect_action
     self.active = not active
Ejemplo n.º 32
0
 def __init__(self, layer, clip):
     UndoableAction.__init__(self)
     self.layer = layer
     self.clip = clip
Ejemplo n.º 33
0
 def __init__(self, project, asset):
     UndoableAction.__init__(self)
     self.project = project
     self.asset = asset
Ejemplo n.º 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
Ejemplo n.º 35
0
 def __init__(self, ges_timeline, ges_layer):
     UndoableAction.__init__(self)
     self.ges_timeline = ges_timeline
     self.ges_layer = ges_layer
Ejemplo n.º 36
0
 def __init__(self):
     UndoableAction.__init__(self)
Ejemplo n.º 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
Ejemplo n.º 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"
Ejemplo n.º 39
0
 def __init__(self, asset, project, proxy_manager):
     UndoableAction.__init__(self)
     self.asset = asset
     self.project = project
     self.proxy_manager = proxy_manager
Ejemplo n.º 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
Ejemplo n.º 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
Ejemplo n.º 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
Ejemplo n.º 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)
Ejemplo n.º 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
Ejemplo n.º 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
Ejemplo n.º 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
Ejemplo n.º 47
0
 def __init__(self, ges_timeline, ges_layer):
     UndoableAction.__init__(self)
     self.ges_timeline = ges_timeline
     self.ges_layer = ges_layer
Ejemplo n.º 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
Ejemplo n.º 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